Skip to contentSkip to conversation

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

PATCH In review Paul Gortmaker 2 participants 2 messages Sep 19, 2016 – Sep 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tile: 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/tile/kernel/unaligned.c | 2 +-
 arch/tile/mm/extable.c       | 2 +-
 arch/tile/mm/fault.c         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/tile/kernel/unaligned.c +1 -1
index 9772a3554282..4fe78c5b8394 100644
@@ -22,7 +22,7 @@
 #include <linux/mman.h>
 #include <linux/types.h>
 #include <linux/err.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/compat.h>
 #include <linux/prctl.h>
 #include <asm/cacheflush.h>
arch/tile/mm/extable.c +1 -1
index 4fb0acb9d154..aeaf20c7aaa4 100644
@@ -12,7 +12,7 @@
  *   more details.
  */
 
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/spinlock.h>
 #include <linux/uaccess.h>
 
arch/tile/mm/fault.c +1 -1
index beba986589e5..709f8e9ba3e9 100644
@@ -29,7 +29,7 @@
 #include <linux/tty.h>
 #include <linux/vt_kern.h>		/* For unblank_screen() */
 #include <linux/highmem.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/kprobes.h>
 #include <linux/hugetlb.h>
 #include <linux/syscalls.h>
Signature · 1 line
2.8.4
#1 lore raw
Quoted 8 lines · Paul Gortmaker

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.

Quoted 8 lines

---

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

  arch/tile/kernel/unaligned.c | 2 +-
  arch/tile/mm/extable.c       | 2 +-
  arch/tile/mm/fault.c         | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)

Thanks! Taken into the tile tree.

Signature · 2 lines
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com