]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix HPAGE_SIZE redefinition
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 14 Jul 2009 13:37:09 +0000 (22:37 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 17 Aug 2009 16:27:57 +0000 (17:27 +0100)
commite3cefbb2b2492ca87d24f6ecf331be058bf920bc
tree7397a79826d6ab5aa0d12f4be1853aa4b10676eb
parentb6ff7ac62cf987a434af75f1e090418f10410ff5
MIPS: Fix HPAGE_SIZE redefinition

This patch fixes warnings like this:
  CC      fs/proc/meminfo.o
In file included from /work/linux/include/linux/mmzone.h:20,
                 from /work/linux/include/linux/gfp.h:4,
                 from /work/linux/include/linux/mm.h:8,
                 from /work/linux/fs/proc/meminfo.c:5:
/work/linux/arch/mips/include/asm/page.h:36:1: warning: "HPAGE_SIZE" redefined
In file included from /work/linux/fs/proc/meminfo.c:2:
/work/linux/include/linux/hugetlb.h:107:1: warning: this is the location of the previous definition

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/page.h