[PATCH] powerpc: Some ppc compile fixes...

This gets most of the Fedora rawhide RPM building again, as long as I
disable CHRP.

Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

David Woodhouse and committed by
Paul Mackerras
3b212db9 9d17a5c6

+2 -3
+1 -1
arch/powerpc/Kconfig
··· 412 413 config GENERIC_TBSYNC 414 bool 415 - default y if CONFIG_PPC32 && CONFIG_SMP 416 default n 417 418 source "drivers/cpufreq/Kconfig"
··· 412 413 config GENERIC_TBSYNC 414 bool 415 + default y if PPC32 && SMP 416 default n 417 418 source "drivers/cpufreq/Kconfig"
-1
arch/powerpc/kernel/ppc_ksyms.c
··· 244 extern long mol_trampoline; 245 EXPORT_SYMBOL(mol_trampoline); /* For MOL */ 246 EXPORT_SYMBOL(flush_hash_pages); /* For MOL */ 247 - EXPORT_SYMBOL_GPL(__handle_mm_fault); /* For MOL */ 248 #ifdef CONFIG_SMP 249 extern int mmu_hash_lock; 250 EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
··· 244 extern long mol_trampoline; 245 EXPORT_SYMBOL(mol_trampoline); /* For MOL */ 246 EXPORT_SYMBOL(flush_hash_pages); /* For MOL */ 247 #ifdef CONFIG_SMP 248 extern int mmu_hash_lock; 249 EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
+1 -1
drivers/ide/pci/via82cxxx.c
··· 439 hwif->speedproc = &via_set_drive; 440 441 442 - #if defined(CONFIG_PPC_MULTIPLATFORM) && defined(CONFIG_PPC32) 443 if(_machine == _MACH_chrp && _chrp_type == _CHRP_Pegasos) { 444 hwif->irq = hwif->channel ? 15 : 14; 445 }
··· 439 hwif->speedproc = &via_set_drive; 440 441 442 + #if defined(CONFIG_PPC_CHRP) && defined(CONFIG_PPC32) 443 if(_machine == _MACH_chrp && _chrp_type == _CHRP_Pegasos) { 444 hwif->irq = hwif->channel ? 15 : 14; 445 }