aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/module.h')
-rw-r--r--include/asm-powerpc/module.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/module.h b/include/asm-powerpc/module.h
index 7ecd05e0305196..584fabfb4f08aa 100644
--- a/include/asm-powerpc/module.h
+++ b/include/asm-powerpc/module.h
@@ -1,5 +1,6 @@
#ifndef _ASM_POWERPC_MODULE_H
#define _ASM_POWERPC_MODULE_H
+#ifdef __KERNEL__
/*
* This program is free software; you can redistribute it and/or
@@ -74,4 +75,5 @@ struct exception_table_entry;
void sort_ex_table(struct exception_table_entry *start,
struct exception_table_entry *finish);
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_MODULE_H */