Skip to content

Commit 9f3b808

Browse files
Paul Gortmakerralfbaechle
authored andcommitted
MIPS: 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. In the case of traps.c we can't dump the module.h include since it is also used to provide "print_modules". Signed-off-by: Paul Gortmaker <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/13934/ Signed-off-by: Ralf Baechle <[email protected]>
1 parent 6f42e0e commit 9f3b808

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

arch/mips/kernel/module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#undef DEBUG
2222

23+
#include <linux/extable.h>
2324
#include <linux/moduleloader.h>
2425
#include <linux/elf.h>
2526
#include <linux/mm.h>

arch/mips/kernel/traps.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <linux/init.h>
2222
#include <linux/kernel.h>
2323
#include <linux/module.h>
24+
#include <linux/extable.h>
2425
#include <linux/mm.h>
2526
#include <linux/sched.h>
2627
#include <linux/smp.h>

arch/mips/mm/extable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (C) 1997, 99, 2001 - 2004 Ralf Baechle <[email protected]>
77
*/
8-
#include <linux/module.h>
8+
#include <linux/extable.h>
99
#include <linux/spinlock.h>
1010
#include <asm/branch.h>
1111
#include <asm/uaccess.h>

0 commit comments

Comments
 (0)