1. 11 Aug, 2008 4 commits
    • Paul Mundt's avatar
      sh: Disable 64kB hugetlbpage size when using 64kB PAGE_SIZE. · 68b7c24c
      Paul Mundt authored
      Presently we oops in mm/hugetlb.c:1325, which is the order == 0 test in
      hugetlb_add_hstate() called at initialization time. So, disable 64kB
      huge pages when we're using a 64kB PAGE_SIZE. On most parts this will
      force the default to be 1MB huge pages.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      68b7c24c
    • Yoshinori Sato's avatar
      sh: Don't export __{s,u}divsi3_i4i from SH-2 libgcc. · d09d328c
      Yoshinori Sato authored
      rsk7203_defconfig fails to build with the following error:
      
      <--  snip  -->
      
      ...
        LD      .tmp_vmlinux1
      arch/sh/kernel/built-in.o:(__ksymtab+0xb8): undefined reference to `__udivsi3_i4i'
      arch/sh/kernel/built-in.o:(__ksymtab+0xc8): undefined reference to `__sdivsi3_i4i'
      make[1]: *** [.tmp_vmlinux1] Error 1
      
      <--  snip  -->
      
      That worked with 2.6.26, and these are far less undefined references
      than in the cases where libgcc was missing.
      
      [ These symbols are not defined on SH-2 versions of libgcc, so we have to
        special case the export there. - Paul ]
      Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      d09d328c
    • Adrian Bunk's avatar
      fix SH7705_CACHE_32KB compilation · 7265706c
      Adrian Bunk authored
      This patches compile errors like the following caused by
      commit 51f3547d
      (sh: Allow SH-3 and SH-5 to use common headers):
      
      <--  snip  -->
      
      ...
        CC      arch/sh/mm/init.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c: In function 'mem_init':
      /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c:232: error: implicit declaration of function 'p3_cache_init'
      make[2]: *** [arch/sh/mm/init.o] Error 1
      make[1]: *** [arch/sh/mm] Error 2
      ...
        CC      kernel/fork.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c: In function 'dup_mmap':
      /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:323: error: implicit declaration of function 'flush_dcache_mmap_lock'
      /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:325: error: implicit declaration of function 'flush_dcache_mmap_unlock'
      make[2]: *** [kernel/fork.o] Error 1
      
      <--  snip  -->
      Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      7265706c
    • Paul Mundt's avatar
      sh: mach-x3proto: Fix up smc91x platform data. · e77eb364
      Paul Mundt authored
      smc91x on x3proto needs 16-bit access and nowait, which we can now do
      through the platform data.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      e77eb364
  2. 08 Aug, 2008 36 commits