Skip to content

Commit

Permalink
h8300/pgtable: add missing #include <asm-generic/pgtable.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Jul 11, 2012
1 parent ad49fcb commit 9adec61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/h8300/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ extern int is_in_rom(unsigned long);
#define VMALLOC_END 0xffffffff

#define arch_enter_lazy_cpu_mode() do {} while (0)

#include <asm-generic/pgtable.h>

#endif /* _H8300_PGTABLE_H */

0 comments on commit 9adec61

Please sign in to comment.