diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:30:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:16 -0500 |
commit | 376ff0352c24a5fa47f1250dd60937b5a9077672 (patch) | |
tree | 7f5b8a260e2eb65eb9e71aa0639f7ef4825d4a40 /include/asm-x86 | |
parent | 63fefb7d5bac6e65b5df2b7eb4aa56bb4bbadd48 (diff) |
x86: move acpi and pci declarations
Move acpi/pci related declarations to the correct headers
and remove the duplicate.
Build fix from: Andrew Morton
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/acpi_32.h | 2 | ||||
-rw-r--r-- | include/asm-x86/pci.h | 4 | ||||
-rw-r--r-- | include/asm-x86/proto.h | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/include/asm-x86/acpi_32.h b/include/asm-x86/acpi_32.h index 723493e6c851..3cce5a0f2d9c 100644 --- a/include/asm-x86/acpi_32.h +++ b/include/asm-x86/acpi_32.h | |||
@@ -81,8 +81,6 @@ int __acpi_release_global_lock(unsigned int *lock); | |||
81 | :"=r"(n_hi), "=r"(n_lo) \ | 81 | :"=r"(n_hi), "=r"(n_lo) \ |
82 | :"0"(n_hi), "1"(n_lo)) | 82 | :"0"(n_hi), "1"(n_lo)) |
83 | 83 | ||
84 | extern void early_quirks(void); | ||
85 | |||
86 | #ifdef CONFIG_ACPI | 84 | #ifdef CONFIG_ACPI |
87 | extern int acpi_lapic; | 85 | extern int acpi_lapic; |
88 | extern int acpi_ioapic; | 86 | extern int acpi_ioapic; |
diff --git a/include/asm-x86/pci.h b/include/asm-x86/pci.h index e88361966347..6983730d86fd 100644 --- a/include/asm-x86/pci.h +++ b/include/asm-x86/pci.h | |||
@@ -66,6 +66,7 @@ extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | |||
66 | 66 | ||
67 | 67 | ||
68 | #ifdef CONFIG_PCI | 68 | #ifdef CONFIG_PCI |
69 | extern void early_quirks(void); | ||
69 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, | 70 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, |
70 | enum pci_dma_burst_strategy *strat, | 71 | enum pci_dma_burst_strategy *strat, |
71 | unsigned long *strategy_parameter) | 72 | unsigned long *strategy_parameter) |
@@ -73,9 +74,10 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev, | |||
73 | *strat = PCI_DMA_BURST_INFINITY; | 74 | *strat = PCI_DMA_BURST_INFINITY; |
74 | *strategy_parameter = ~0UL; | 75 | *strategy_parameter = ~0UL; |
75 | } | 76 | } |
77 | #else | ||
78 | static inline void early_quirks(void) { } | ||
76 | #endif | 79 | #endif |
77 | 80 | ||
78 | |||
79 | #endif /* __KERNEL__ */ | 81 | #endif /* __KERNEL__ */ |
80 | 82 | ||
81 | #ifdef CONFIG_X86_32 | 83 | #ifdef CONFIG_X86_32 |
diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h index dabba55f7ed8..64fe816ea37a 100644 --- a/include/asm-x86/proto.h +++ b/include/asm-x86/proto.h | |||
@@ -58,8 +58,6 @@ extern void show_registers(struct pt_regs *regs); | |||
58 | 58 | ||
59 | extern void exception_table_check(void); | 59 | extern void exception_table_check(void); |
60 | 60 | ||
61 | extern void acpi_reserve_bootmem(void); | ||
62 | |||
63 | extern void swap_low_mappings(void); | 61 | extern void swap_low_mappings(void); |
64 | 62 | ||
65 | extern void __show_regs(struct pt_regs * regs); | 63 | extern void __show_regs(struct pt_regs * regs); |
@@ -69,7 +67,6 @@ extern void syscall32_cpu_init(void); | |||
69 | 67 | ||
70 | extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end); | 68 | extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end); |
71 | 69 | ||
72 | extern void early_quirks(void); | ||
73 | extern void check_efer(void); | 70 | extern void check_efer(void); |
74 | 71 | ||
75 | extern void select_idle_routine(const struct cpuinfo_x86 *c); | 72 | extern void select_idle_routine(const struct cpuinfo_x86 *c); |