]> git.baikalelectronics.ru Git - kernel.git/commit
score: Fix implicit includes now failing build after extable change
authorGuenter Roeck <linux@roeck-us.net>
Wed, 22 Feb 2017 19:07:57 +0000 (11:07 -0800)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 11 Mar 2017 16:57:21 +0000 (11:57 -0500)
commit0acf611997d9d05dbfb559c3c6e379c861eb5957
treea529c81d70b23793ff13e26dd5abde48255085a1
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
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: 90858794c960 ("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>
arch/score/kernel/traps.c
arch/score/mm/extable.c