mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +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) \
|
#define __WARN_FLAGS(flags) \
|
||||||
do { \
|
do { \
|
||||||
__auto_type __flags = BUGFLAG_WARNING|(flags); \
|
enum{ __flags = BUGFLAG_WARNING|(flags)}; \
|
||||||
instrumentation_begin(); \
|
instrumentation_begin(); \
|
||||||
_BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE); \
|
_BUG_FLAGS(ASM_UD2, __flags, ASM_REACHABLE); \
|
||||||
instrumentation_end(); \
|
instrumentation_end(); \
|
||||||
|
Loading…
Reference in New Issue
Block a user