Skip to contentSkip to conversation

fix ipipe_preempt_disable for !CONFIG_IPIPE

PATCH New Jan Kiszka 1 participant 1 message Feb 18, 2008

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 fix ipipe_preempt_disable for !CONFIG_IPIPE

---
 include/linux/ipipe_base.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/ipipe_base.h +1 -1
Index: b/include/linux/ipipe_base.h
===================================================================
@@ -78,7 +78,7 @@ static inline void ipipe_check_context(s
 #define ipipe_preempt_disable(flags)	do { \
 						preempt_disable(); \
 						(void)(flags); \
-					while (0)
+					} while (0)
 #define ipipe_preempt_enable(flags)	preempt_enable()
 #define ipipe_check_context(ipd)	do { } while(0)
 #endif	/* CONFIG_IPIPE */
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux