diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h index 8405eb6558edf141999df5ace0c3ba4bf7070ce4..39dd7008013c839a102bc49f53ba4ba5691ab864 100644 --- a/include/asm-arm/system.h +++ b/include/asm-arm/system.h @@ -308,7 +308,7 @@ do { \ ({ \ unsigned long flags; \ local_save_flags(flags); \ - flags & PSR_I_BIT; \ + (int)(flags & PSR_I_BIT); \ }) #ifdef CONFIG_SMP