diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-01-10 00:16:22 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-10 00:49:20 -0500 |
commit | 3b212db9217d02e623eaa12f41c9b5f8c6a99535 (patch) | |
tree | 5cf49bb1286da21e43439bb37f555dba0bf7d35a | |
parent | 9d17a5c611a7462a41b06c75f661f4106d380a86 (diff) |
[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>
-rw-r--r-- | arch/powerpc/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 1 | ||||
-rw-r--r-- | drivers/ide/pci/via82cxxx.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 17c1b6aa44bc..935d96571515 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -412,7 +412,7 @@ config PPC_MPC106 | |||
412 | 412 | ||
413 | config GENERIC_TBSYNC | 413 | config GENERIC_TBSYNC |
414 | bool | 414 | bool |
415 | default y if CONFIG_PPC32 && CONFIG_SMP | 415 | default y if PPC32 && SMP |
416 | default n | 416 | default n |
417 | 417 | ||
418 | source "drivers/cpufreq/Kconfig" | 418 | source "drivers/cpufreq/Kconfig" |
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index b2758148a0de..16d9a904f3cb 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c | |||
@@ -244,7 +244,6 @@ EXPORT_SYMBOL(set_context); | |||
244 | extern long mol_trampoline; | 244 | extern long mol_trampoline; |
245 | EXPORT_SYMBOL(mol_trampoline); /* For MOL */ | 245 | EXPORT_SYMBOL(mol_trampoline); /* For MOL */ |
246 | EXPORT_SYMBOL(flush_hash_pages); /* For MOL */ | 246 | EXPORT_SYMBOL(flush_hash_pages); /* For MOL */ |
247 | EXPORT_SYMBOL_GPL(__handle_mm_fault); /* For MOL */ | ||
248 | #ifdef CONFIG_SMP | 247 | #ifdef CONFIG_SMP |
249 | extern int mmu_hash_lock; | 248 | extern int mmu_hash_lock; |
250 | EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */ | 249 | EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */ |
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index 86fb1e0286d3..c85b87cb59d1 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
@@ -439,7 +439,7 @@ static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif) | |||
439 | hwif->speedproc = &via_set_drive; | 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 | if(_machine == _MACH_chrp && _chrp_type == _CHRP_Pegasos) { | 443 | if(_machine == _MACH_chrp && _chrp_type == _CHRP_Pegasos) { |
444 | hwif->irq = hwif->channel ? 15 : 14; | 444 | hwif->irq = hwif->channel ? 15 : 14; |
445 | } | 445 | } |