aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid6.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid6.h')
-rw-r--r--drivers/md/raid6.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/md/raid6.h b/drivers/md/raid6.h
index f80ee6350ed..31cbee71365 100644
--- a/drivers/md/raid6.h
+++ b/drivers/md/raid6.h
@@ -69,9 +69,13 @@ extern const char raid6_empty_zero_page[PAGE_SIZE];
69#define __init 69#define __init
70#define __exit 70#define __exit
71#define __attribute_const__ __attribute__((const)) 71#define __attribute_const__ __attribute__((const))
72#define noinline __attribute__((noinline))
72 73
73#define preempt_enable() 74#define preempt_enable()
74#define preempt_disable() 75#define preempt_disable()
76#define cpu_has_feature(x) 1
77#define enable_kernel_altivec()
78#define disable_kernel_altivec()
75 79
76#endif /* __KERNEL__ */ 80#endif /* __KERNEL__ */
77 81