]> err.no Git - linux-2.6/commit
mm/hugetlb.c must #include <asm/io.h>
authorAdrian Bunk <bunk@kernel.org>
Mon, 28 Jul 2008 22:46:30 +0000 (15:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Jul 2008 23:30:21 +0000 (16:30 -0700)
commit78a34ae29bf1c9df62a5bd0f0798b6c62a54d520
treee8a5576a9142c11be1edc667ecbe7395f8c088ce
parentcddb8a5c14aa89810b40495d94d3d2a0faee6619
mm/hugetlb.c must #include <asm/io.h>

This patch fixes the following build error on sh caused by commit
aa888a74977a8f2120ae9332376e179c39a6b07d ("hugetlb: support larger than
MAX_ORDER"):

  mm/hugetlb.c: In function 'alloc_bootmem_huge_page':
  mm/hugetlb.c:958: error: implicit declaration of function 'virt_to_phys'

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c