Skip to contentSkip to conversation

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

PATCH Superseded Paul Gortmaker 2 participants 2 messages Jan 24, 2017 – Jan 25, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

This file was 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 this file.

---

[This is to be added to the other 20 patches of this for-merge series:
https://lkml.kernel.org/r/[email protected]
I didn't want to resend all 20 again just for the addition of a one liner.]

 arch/cris/arch-v32/kernel/traps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/cris/arch-v32/kernel/traps.c +1 -1
index d79666aefd71..ad6174e217c9 100644
@@ -3,7 +3,7 @@
  */
 
 #include <linux/ptrace.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/uaccess.h>
 #include <hwregs/supp_reg.h>
 #include <hwregs/intr_vect_defs.h>
Signature · 1 line
2.11.0
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Paul Gortmaker

This file was 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 this file.

Quoted 7 lines

---

[This is to be added to the other 20 patches of this for-merge series:
https://lkml.kernel.org/r/[email protected]
I didn't want to resend all 20 again just for the addition of a one liner.]

Not a problem, looks good.

Quoted 18 lines
 arch/cris/arch-v32/kernel/traps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/cris/arch-v32/kernel/traps.c +1 -1
index d79666aefd71..ad6174e217c9 100644
@@ -3,7 +3,7 @@
  */
 
 #include <linux/ptrace.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/uaccess.h>
 #include <hwregs/supp_reg.h>
 #include <hwregs/intr_vect_defs.h>
Signature · 1 line
2.11.0

/^JN - Jesper Nilsson

Signature · 1 line
               Jesper Nilsson -- [email protected]