]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sparc: mm/extable.c needs module.h for within_module_init()
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 05:50:31 +0000 (01:50 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:23 +0000 (04:05 -0400)
And also for search_exception_tables, which arguably could be
living somewhere more appropriate than module.h

arch/sparc/mm/extable.c: In function 'trim_init_extable':
arch/sparc/mm/extable.c:74: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c:75: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c:77: error: implicit declaration of function 'within_module_init'
arch/sparc/mm/extable.c:77: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c:78: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c:80: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c: In function 'search_extables_range':
arch/sparc/mm/extable.c:93: error: implicit declaration of function 'search_exception_tables'

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/sparc/mm/extable.c

index 7131eacc120f7d56bb1d30a0684db5c07e860b4a..a61c349448e1e12b28621b3590553593f2d3b799 100644 (file)
@@ -2,6 +2,7 @@
  * linux/arch/sparc/mm/extable.c
  */
 
+#include <linux/module.h>
 #include <asm/uaccess.h>
 
 void sort_extable(struct exception_table_entry *start,