WSL2-Linux-Kernel/arch/metag
James Hogan 418a133b71 metag: fix mm/hugetlb.c build breakage
Commit 106c992a5e ("mm/hugetlb: add more arch-defined huge_pte
functions") added an include of <asm-generic/hugetlb.h> to each
architecture's <asm/hugetlb.h> (except s390).  Unfortunately metag was
missed which resulted in build errors when hugetlbfs is enabled (see
below).

Add the include for metag too to fix the build errors:

  mm/hugetlb.c In function 'make_huge_pte':
  mm/hugetlb.c +2250 : error: implicit declaration of function 'huge_pte_mkwrite'
  mm/hugetlb.c +2250 : error: implicit declaration of function 'huge_pte_mkdirty'
  ...

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-06-19 06:23:34 -10:00
..
boot metag: avoid unnecessary builtin dtb rebuilds 2013-04-22 11:23:20 +01:00
configs metag: defconfigs: increase log buffer 8KiB => 128KiB 2013-04-25 13:09:27 +01:00
include metag: fix mm/hugetlb.c build breakage 2013-06-19 06:23:34 -10:00
kernel dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
lib metag: move usercopy.c exports out of metag_ksyms.c 2013-03-02 20:11:15 +00:00
mm Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-02 10:16:16 -07:00
oprofile metag: OProfile support 2013-03-15 13:21:05 +00:00
tbx metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Kconfig Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
Kconfig.debug metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Kconfig.soc metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Makefile metag: OProfile support 2013-03-15 13:21:05 +00:00