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 f80ee6350edf1..31cbee71365f4 100644
--- a/drivers/md/raid6.h
+++ b/drivers/md/raid6.h
@@ -69,9 +69,13 @@ extern const char raid6_empty_zero_page[PAGE_SIZE];
#define __init
#define __exit
#define __attribute_const__ __attribute__((const))
+#define noinline __attribute__((noinline))
#define preempt_enable()
#define preempt_disable()
+#define cpu_has_feature(x) 1
+#define enable_kernel_altivec()
+#define disable_kernel_altivec()
#endif /* __KERNEL__ */