1. 13 Feb, 2007 2 commits
  2. 09 Feb, 2007 3 commits
    • Rojhalat Ibrahim's avatar
      [PPC] Fix compile error for e500 core based processors · 862a7284
      Rojhalat Ibrahim authored
      We get the following compiler error:
      
        CC      arch/ppc/kernel/ppc_ksyms.o
      arch/ppc/kernel/ppc_ksyms.c:275: error: '__mtdcr' undeclared here (not in a function)
      arch/ppc/kernel/ppc_ksyms.c:275: warning: type defaults to 'int' in declaration of '__mtdcr'
      arch/ppc/kernel/ppc_ksyms.c:276: error: '__mfdcr' undeclared here (not in a function)
      arch/ppc/kernel/ppc_ksyms.c:276: warning: type defaults to 'int' in declaration of '__mfdcr'
      make[1]: *** [arch/ppc/kernel/ppc_ksyms.o] Error 1
      
      This is due to the EXPORT_SYMBOL for __mtdcr/__mfdcr not having the proper CONFIG protection
      Signed-off-by: default avatarRojhalat Ibrahim <imr@rtschenk.de>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      862a7284
    • Kumar Gala's avatar
      [POWERPC] 85xx: Marked functions static · 27630bec
      Kumar Gala authored
      Marked a number of functions in 85xx board code as static.  Also, some minor
      whitespace cleanup
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      27630bec
    • Kumar Gala's avatar
      [POWERPC] Fix is_power_of_4(x) compile error · 8dabba5d
      Kumar Gala authored
      When building an 85xx kernel we get:
      
        CC      arch/powerpc/mm/pgtable_32.o
      arch/powerpc/mm/pgtable_32.c: In function 'io_block_mapping':
      arch/powerpc/mm/pgtable_32.c:330: error: expected identifier before '(' token
      arch/powerpc/mm/pgtable_32.c:330: error: expected statement before ')' token
      
      The is_power_of_2(x) fixup patch left an extra ')' on the is_power_of_4 macro.
      There is a similiar issue on the arch/ppc side.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      8dabba5d
  3. 08 Feb, 2007 35 commits