summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/machdep.h
diff options
context:
space:
mode:
authorSonny Rao2010-11-18 01:39:23 +0100
committerBenjamin Herrenschmidt2010-12-09 05:35:31 +0100
commitbee376ff4c1fc178031dad51ba38ff18a98a39c8 (patch)
tree6e50fabab0a0e7b9a307baed5acac0cb048c315a /arch/powerpc/include/asm/machdep.h
parentPowerpc: separate CONFIG_RELOCATABLE from CONFIG_CRASHDUMP in boot code (diff)
downloadkernel-qcow2-linux-bee376ff4c1fc178031dad51ba38ff18a98a39c8.tar.gz
kernel-qcow2-linux-bee376ff4c1fc178031dad51ba38ff18a98a39c8.tar.xz
kernel-qcow2-linux-bee376ff4c1fc178031dad51ba38ff18a98a39c8.zip
powerpc: Minor cleanups for machdep.h
Remove stale declaration of setup_pci_ptrs, aparently from ppc before 2.4.0 Remove #ifdef around struct existance delcaration Fix spelling of "linear" Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Sonny Rao <sonnyrao@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r--arch/powerpc/include/asm/machdep.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h
index d045b0145537..8433d36619a1 100644
--- a/arch/powerpc/include/asm/machdep.h
+++ b/arch/powerpc/include/asm/machdep.h
@@ -27,9 +27,7 @@ struct iommu_table;
struct rtc_time;
struct file;
struct pci_controller;
-#ifdef CONFIG_KEXEC
struct kimage;
-#endif
#ifdef CONFIG_SMP
struct smp_ops_t {
@@ -72,7 +70,7 @@ struct machdep_calls {
int psize, int ssize);
void (*flush_hash_range)(unsigned long number, int local);
- /* special for kexec, to be called in real mode, linar mapping is
+ /* special for kexec, to be called in real mode, linear mapping is
* destroyed as well */
void (*hpte_clear_all)(void);
@@ -324,8 +322,6 @@ extern sys_ctrler_t sys_ctrler;
#endif /* CONFIG_PPC_PMAC */
-extern void setup_pci_ptrs(void);
-
#ifdef CONFIG_SMP
/* Poor default implementations */
extern void __devinit smp_generic_give_timebase(void);