Skip to contentSkip to conversation

mn10300: migrate exception table users off module.h and onto extable.h

PATCH New Paul Gortmaker 1 participant 1 message Sep 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mn10300: migrate exception table users off module.h and onto extable.h

These files were only including module.h for exception table related functions. We've now separated that content out into its own file "extable.h" so now move over to that and avoid all the extra header content in module.h that we don't really need to compile these files.

---

[see: https://lkml.org/lkml/2016/7/24/224 for additional context if needed]

 arch/mn10300/mm/extable.c      | 2 +-
 arch/mn10300/mm/misalignment.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/mn10300/mm/extable.c +1 -1
index 25e5485ab87d..4e1ed349398c 100644
@@ -8,7 +8,7 @@
  * as published by the Free Software Foundation; either version
  * 2 of the Licence, or (at your option) any later version.
  */
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/spinlock.h>
 #include <asm/uaccess.h>
 
arch/mn10300/mm/misalignment.c +1 -1
index b9920b1edd5a..b7e03d055bc6 100644
@@ -8,7 +8,7 @@
  * as published by the Free Software Foundation; either version
  * 2 of the Licence, or (at your option) any later version.
  */
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
Signature · 1 line
2.8.4