]> git.baikalelectronics.ru Git - kernel.git/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)
commit706e9e134e5995434a38f44d058aeab731b0e377
treee8a5576a9142c11be1edc667ecbe7395f8c088ce
parent1a9abb09df3b3ec0f410aa200c2070465d22c3c3
mm/hugetlb.c must #include <asm/io.h>

This patch fixes the following build error on sh caused by commit
d24d4969b19353bca14ad9e27021f736af0eed33 ("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