public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* HugeTLB vs. SH3 cpu
@ 2008-04-01 22:58 Adrian Bunk
  2008-04-01 23:26 ` Nish Aravamudan
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Bunk @ 2008-04-01 22:58 UTC (permalink / raw)
  To: wli, lethal; +Cc: linux-sh, linux-kernel

fs/Kconfig says:

config HUGETLBFS
        bool "HugeTLB file system support"
        depends on X86 || IA64 || PPC64 || SPARC64 || (SUPERH && MMU) || BROKEN


arch/sh/mm/Kconfig says:

choice
        prompt "HugeTLB page size"
        depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU


The compiler says with CONFIG_CPU_SH3:

<--  snip  -->

...
  CC      arch/sh/mm/hugetlbpage.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/hugetlbpage.c:14:/home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/hugetlb.h: In function 'prepare_hugepage_range':
/home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/hugetlb.h:73: error: 'HPAGE_SHIFT' undeclared (first use in this function)
/home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/hugetlb.h:73: error: (Each undeclared identifier is reported only once
/home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/hugetlb.h:73: error: for each function it appears in.)
make[2]: *** [arch/sh/mm/hugetlbpage.o] Error 1

<--  snip  -->


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-03  5:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 22:58 HugeTLB vs. SH3 cpu Adrian Bunk
2008-04-01 23:26 ` Nish Aravamudan
2008-04-02  8:04   ` Paul Mundt
2008-04-02 10:15     ` Mel Gorman
2008-04-03  5:52       ` Paul Mundt
2008-04-02 22:55     ` Nishanth Aravamudan
2008-04-03  0:06       ` Dave Hansen
2008-04-03  5:48         ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox