Commit 9adec610b472aba9137b934954e5d5a8550452c5

Authored by Geert Uytterhoeven
Committed by Linus Torvalds
1 parent ad49fcbe90

h8300/pgtable: add missing #include <asm-generic/pgtable.h>

Fix the h8300 build error:

  kernel/sched/core.c: In function 'context_switch':
  kernel/sched/core.c:2061:2: error: implicit declaration of function 'arch_start_context_switch' [-Werror=implicit-function-declaration]

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

arch/h8300/include/asm/pgtable.h
... ... @@ -70,5 +70,8 @@
70 70 #define VMALLOC_END 0xffffffff
71 71  
72 72 #define arch_enter_lazy_cpu_mode() do {} while (0)
  73 +
  74 +#include <asm-generic/pgtable.h>
  75 +
73 76 #endif /* _H8300_PGTABLE_H */