score: Fix implicit includes now failing build after extable change

After changing from module.h to extable.h, score builds fail with:

  arch/score/kernel/traps.c: In function 'do_ri':
  arch/score/kernel/traps.c:248:4: error: implicit declaration of function 'user_disable_single_step'
  arch/score/mm/extable.c: In function 'fixup_exception':
  arch/score/mm/extable.c:32:38: error: dereferencing pointer to incomplete type
  arch/score/mm/extable.c:34:24: error: dereferencing pointer to incomplete type

because extable.h doesn't drag in the same amount of headers as the
module.h did.  Add in the headers which were implicitly expected.

Fixes: 90858794c9 ("module.h: remove extable.h include now users have migrated")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
[PG: tweak commit log; refresh for sched header refactoring.]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
Guenter Roeck 2017-02-22 11:07:57 -08:00 committed by Paul Gortmaker
parent c1ae3cfa0e
commit 0acf611997
2 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@
*/
#include <linux/extable.h>
#include <linux/ptrace.h>
#include <linux/sched/mm.h>
#include <linux/sched/signal.h>
#include <linux/sched/debug.h>

View File

@ -24,6 +24,8 @@
*/
#include <linux/extable.h>
#include <linux/ptrace.h>
#include <asm/extable.h>
int fixup_exception(struct pt_regs *regs)
{