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