HugeTLB vs. SH3 cpu

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Tuesday, April 1, 2008 - 3:58 pm

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HugeTLB vs. SH3 cpu, Adrian Bunk, (Tue Apr 1, 3:58 pm)
Re: HugeTLB vs. SH3 cpu, Nish Aravamudan, (Tue Apr 1, 4:26 pm)
Re: HugeTLB vs. SH3 cpu, Paul Mundt, (Wed Apr 2, 1:04 am)
Re: HugeTLB vs. SH3 cpu, Mel Gorman, (Wed Apr 2, 3:15 am)
Re: HugeTLB vs. SH3 cpu, Nishanth Aravamudan, (Wed Apr 2, 3:55 pm)
Re: HugeTLB vs. SH3 cpu, Dave Hansen, (Wed Apr 2, 5:06 pm)
Re: HugeTLB vs. SH3 cpu, Paul Mundt, (Wed Apr 2, 10:48 pm)
Re: HugeTLB vs. SH3 cpu, Paul Mundt, (Wed Apr 2, 10:52 pm)