mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00: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
@ -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 New Issue
Block a user