mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 04:53:36 +01:00
asm: Fix "impossible constraint in asm" error by replacing __auto_type with enum in __WARN_FLAGS macro
This commit is contained in:
parent
932d2d1fcb
commit
25f34fb9ad
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ do { \
|
|||
*/
|
||||
#define __WARN_FLAGS(flags) \
|
||||
do { \
|
||||
__auto_type __flags = BUGFLAG_WARNING|(flags); \
|
||||
enum{ __flags = BUGFLAG_WARNING|(flags)}; \
|
||||
instrumentation_begin(); \
|
||||
_BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE); \
|
||||
instrumentation_end(); \
|
||||
|
|
Loading…
Reference in a new issue