[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>
This commit is contained in:
parent
9d17a5c611
commit
3b212db921
3 changed files with 2 additions and 3 deletions
|
@ -412,7 +412,7 @@ config PPC_MPC106
|
||||||
|
|
||||||
config GENERIC_TBSYNC
|
config GENERIC_TBSYNC
|
||||||
bool
|
bool
|
||||||
default y if CONFIG_PPC32 && CONFIG_SMP
|
default y if PPC32 && SMP
|
||||||
default n
|
default n
|
||||||
|
|
||||||
source "drivers/cpufreq/Kconfig"
|
source "drivers/cpufreq/Kconfig"
|
||||||
|
|
|
@ -244,7 +244,6 @@ EXPORT_SYMBOL(set_context);
|
||||||
extern long mol_trampoline;
|
extern long mol_trampoline;
|
||||||
EXPORT_SYMBOL(mol_trampoline); /* For MOL */
|
EXPORT_SYMBOL(mol_trampoline); /* For MOL */
|
||||||
EXPORT_SYMBOL(flush_hash_pages); /* For MOL */
|
EXPORT_SYMBOL(flush_hash_pages); /* For MOL */
|
||||||
EXPORT_SYMBOL_GPL(__handle_mm_fault); /* For MOL */
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
extern int mmu_hash_lock;
|
extern int mmu_hash_lock;
|
||||||
EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
|
EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
|
||||||
|
|
|
@ -439,7 +439,7 @@ static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif)
|
||||||
hwif->speedproc = &via_set_drive;
|
hwif->speedproc = &via_set_drive;
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_PPC_MULTIPLATFORM) && defined(CONFIG_PPC32)
|
#if defined(CONFIG_PPC_CHRP) && defined(CONFIG_PPC32)
|
||||||
if(_machine == _MACH_chrp && _chrp_type == _CHRP_Pegasos) {
|
if(_machine == _MACH_chrp && _chrp_type == _CHRP_Pegasos) {
|
||||||
hwif->irq = hwif->channel ? 15 : 14;
|
hwif->irq = hwif->channel ? 15 : 14;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue