diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/acpi.h | 4 | ||||
| -rw-r--r-- | include/asm-i386/fixmap.h | 2 | ||||
| -rw-r--r-- | include/asm-i386/io_apic.h | 4 | ||||
| -rw-r--r-- | include/asm-i386/mpspec.h | 4 | ||||
| -rw-r--r-- | include/asm-x86_64/acpi.h | 6 | ||||
| -rw-r--r-- | include/asm-x86_64/io_apic.h | 2 | ||||
| -rw-r--r-- | include/asm-x86_64/mpspec.h | 2 | ||||
| -rw-r--r-- | include/linux/acpi.h | 6 |
8 files changed, 15 insertions, 15 deletions
diff --git a/include/asm-i386/acpi.h b/include/asm-i386/acpi.h index cf828ace13f9..1f1ade923d69 100644 --- a/include/asm-i386/acpi.h +++ b/include/asm-i386/acpi.h | |||
| @@ -103,7 +103,7 @@ __acpi_release_global_lock (unsigned int *lock) | |||
| 103 | :"=r"(n_hi), "=r"(n_lo) \ | 103 | :"=r"(n_hi), "=r"(n_lo) \ |
| 104 | :"0"(n_hi), "1"(n_lo)) | 104 | :"0"(n_hi), "1"(n_lo)) |
| 105 | 105 | ||
| 106 | #ifdef CONFIG_ACPI_BOOT | 106 | #ifdef CONFIG_ACPI |
| 107 | extern int acpi_lapic; | 107 | extern int acpi_lapic; |
| 108 | extern int acpi_ioapic; | 108 | extern int acpi_ioapic; |
| 109 | extern int acpi_noirq; | 109 | extern int acpi_noirq; |
| @@ -146,7 +146,7 @@ static inline void check_acpi_pci(void) { } | |||
| 146 | 146 | ||
| 147 | #endif | 147 | #endif |
| 148 | 148 | ||
| 149 | #else /* CONFIG_ACPI_BOOT */ | 149 | #else /* !CONFIG_ACPI */ |
| 150 | # define acpi_lapic 0 | 150 | # define acpi_lapic 0 |
| 151 | # define acpi_ioapic 0 | 151 | # define acpi_ioapic 0 |
| 152 | 152 | ||
diff --git a/include/asm-i386/fixmap.h b/include/asm-i386/fixmap.h index c94cac958389..cfb1c61d3b9c 100644 --- a/include/asm-i386/fixmap.h +++ b/include/asm-i386/fixmap.h | |||
| @@ -76,7 +76,7 @@ enum fixed_addresses { | |||
| 76 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ | 76 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
| 77 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, | 77 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, |
| 78 | #endif | 78 | #endif |
| 79 | #ifdef CONFIG_ACPI_BOOT | 79 | #ifdef CONFIG_ACPI |
| 80 | FIX_ACPI_BEGIN, | 80 | FIX_ACPI_BEGIN, |
| 81 | FIX_ACPI_END = FIX_ACPI_BEGIN + FIX_ACPI_PAGES - 1, | 81 | FIX_ACPI_END = FIX_ACPI_BEGIN + FIX_ACPI_PAGES - 1, |
| 82 | #endif | 82 | #endif |
diff --git a/include/asm-i386/io_apic.h b/include/asm-i386/io_apic.h index 002c203ccd6a..51c4e5fe6062 100644 --- a/include/asm-i386/io_apic.h +++ b/include/asm-i386/io_apic.h | |||
| @@ -195,12 +195,12 @@ extern int skip_ioapic_setup; | |||
| 195 | */ | 195 | */ |
| 196 | #define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) | 196 | #define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) |
| 197 | 197 | ||
| 198 | #ifdef CONFIG_ACPI_BOOT | 198 | #ifdef CONFIG_ACPI |
| 199 | extern int io_apic_get_unique_id (int ioapic, int apic_id); | 199 | extern int io_apic_get_unique_id (int ioapic, int apic_id); |
| 200 | extern int io_apic_get_version (int ioapic); | 200 | extern int io_apic_get_version (int ioapic); |
| 201 | extern int io_apic_get_redir_entries (int ioapic); | 201 | extern int io_apic_get_redir_entries (int ioapic); |
| 202 | extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int active_high_low); | 202 | extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int active_high_low); |
| 203 | #endif /*CONFIG_ACPI_BOOT*/ | 203 | #endif /* CONFIG_ACPI */ |
| 204 | 204 | ||
| 205 | extern int (*ioapic_renumber_irq)(int ioapic, int irq); | 205 | extern int (*ioapic_renumber_irq)(int ioapic, int irq); |
| 206 | 206 | ||
diff --git a/include/asm-i386/mpspec.h b/include/asm-i386/mpspec.h index d9fafba075bc..b9e9f66d2721 100644 --- a/include/asm-i386/mpspec.h +++ b/include/asm-i386/mpspec.h | |||
| @@ -26,14 +26,14 @@ extern unsigned long mp_lapic_addr; | |||
| 26 | extern int pic_mode; | 26 | extern int pic_mode; |
| 27 | extern int using_apic_timer; | 27 | extern int using_apic_timer; |
| 28 | 28 | ||
| 29 | #ifdef CONFIG_ACPI_BOOT | 29 | #ifdef CONFIG_ACPI |
| 30 | extern void mp_register_lapic (u8 id, u8 enabled); | 30 | extern void mp_register_lapic (u8 id, u8 enabled); |
| 31 | extern void mp_register_lapic_address (u64 address); | 31 | extern void mp_register_lapic_address (u64 address); |
| 32 | extern void mp_register_ioapic (u8 id, u32 address, u32 gsi_base); | 32 | extern void mp_register_ioapic (u8 id, u32 address, u32 gsi_base); |
| 33 | extern void mp_override_legacy_irq (u8 bus_irq, u8 polarity, u8 trigger, u32 gsi); | 33 | extern void mp_override_legacy_irq (u8 bus_irq, u8 polarity, u8 trigger, u32 gsi); |
| 34 | extern void mp_config_acpi_legacy_irqs (void); | 34 | extern void mp_config_acpi_legacy_irqs (void); |
| 35 | extern int mp_register_gsi (u32 gsi, int edge_level, int active_high_low); | 35 | extern int mp_register_gsi (u32 gsi, int edge_level, int active_high_low); |
| 36 | #endif /*CONFIG_ACPI_BOOT*/ | 36 | #endif /* CONFIG_ACPI */ |
| 37 | 37 | ||
| 38 | #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS) | 38 | #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS) |
| 39 | 39 | ||
diff --git a/include/asm-x86_64/acpi.h b/include/asm-x86_64/acpi.h index dc8c981af27f..7d537e1867c7 100644 --- a/include/asm-x86_64/acpi.h +++ b/include/asm-x86_64/acpi.h | |||
| @@ -101,7 +101,7 @@ __acpi_release_global_lock (unsigned int *lock) | |||
| 101 | :"=r"(n_hi), "=r"(n_lo) \ | 101 | :"=r"(n_hi), "=r"(n_lo) \ |
| 102 | :"0"(n_hi), "1"(n_lo)) | 102 | :"0"(n_hi), "1"(n_lo)) |
| 103 | 103 | ||
| 104 | #ifdef CONFIG_ACPI_BOOT | 104 | #ifdef CONFIG_ACPI |
| 105 | extern int acpi_lapic; | 105 | extern int acpi_lapic; |
| 106 | extern int acpi_ioapic; | 106 | extern int acpi_ioapic; |
| 107 | extern int acpi_noirq; | 107 | extern int acpi_noirq; |
| @@ -122,10 +122,10 @@ static inline void disable_acpi(void) | |||
| 122 | 122 | ||
| 123 | extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq); | 123 | extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq); |
| 124 | 124 | ||
| 125 | #else /* !CONFIG_ACPI_BOOT */ | 125 | #else /* !CONFIG_ACPI */ |
| 126 | #define acpi_lapic 0 | 126 | #define acpi_lapic 0 |
| 127 | #define acpi_ioapic 0 | 127 | #define acpi_ioapic 0 |
| 128 | #endif /* !CONFIG_ACPI_BOOT */ | 128 | #endif /* !CONFIG_ACPI */ |
| 129 | 129 | ||
| 130 | extern int acpi_numa; | 130 | extern int acpi_numa; |
| 131 | extern int acpi_scan_nodes(unsigned long start, unsigned long end); | 131 | extern int acpi_scan_nodes(unsigned long start, unsigned long end); |
diff --git a/include/asm-x86_64/io_apic.h b/include/asm-x86_64/io_apic.h index a8babd2bbe84..ee1bc69aec9c 100644 --- a/include/asm-x86_64/io_apic.h +++ b/include/asm-x86_64/io_apic.h | |||
| @@ -201,7 +201,7 @@ extern int skip_ioapic_setup; | |||
| 201 | */ | 201 | */ |
| 202 | #define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) | 202 | #define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) |
| 203 | 203 | ||
| 204 | #ifdef CONFIG_ACPI_BOOT | 204 | #ifdef CONFIG_ACPI |
| 205 | extern int io_apic_get_version (int ioapic); | 205 | extern int io_apic_get_version (int ioapic); |
| 206 | extern int io_apic_get_redir_entries (int ioapic); | 206 | extern int io_apic_get_redir_entries (int ioapic); |
| 207 | extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int, int); | 207 | extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int, int); |
diff --git a/include/asm-x86_64/mpspec.h b/include/asm-x86_64/mpspec.h index 331f6a3c72a2..f267e10c023d 100644 --- a/include/asm-x86_64/mpspec.h +++ b/include/asm-x86_64/mpspec.h | |||
| @@ -179,7 +179,7 @@ extern int mpc_default_type; | |||
| 179 | extern unsigned long mp_lapic_addr; | 179 | extern unsigned long mp_lapic_addr; |
| 180 | extern int pic_mode; | 180 | extern int pic_mode; |
| 181 | 181 | ||
| 182 | #ifdef CONFIG_ACPI_BOOT | 182 | #ifdef CONFIG_ACPI |
| 183 | extern void mp_register_lapic (u8 id, u8 enabled); | 183 | extern void mp_register_lapic (u8 id, u8 enabled); |
| 184 | extern void mp_register_lapic_address (u64 address); | 184 | extern void mp_register_lapic_address (u64 address); |
| 185 | 185 | ||
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index fd48db320f5b..fa1ad1a60a09 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | #include <asm/acpi.h> | 41 | #include <asm/acpi.h> |
| 42 | 42 | ||
| 43 | 43 | ||
| 44 | #ifdef CONFIG_ACPI_BOOT | 44 | #ifdef CONFIG_ACPI |
| 45 | 45 | ||
| 46 | enum acpi_irq_model_id { | 46 | enum acpi_irq_model_id { |
| 47 | ACPI_IRQ_MODEL_PIC = 0, | 47 | ACPI_IRQ_MODEL_PIC = 0, |
| @@ -429,11 +429,11 @@ extern int pci_mmcfg_config_num; | |||
| 429 | 429 | ||
| 430 | extern int sbf_port ; | 430 | extern int sbf_port ; |
| 431 | 431 | ||
| 432 | #else /*!CONFIG_ACPI_BOOT*/ | 432 | #else /* !CONFIG_ACPI */ |
| 433 | 433 | ||
| 434 | #define acpi_mp_config 0 | 434 | #define acpi_mp_config 0 |
| 435 | 435 | ||
| 436 | #endif /*!CONFIG_ACPI_BOOT*/ | 436 | #endif /* !CONFIG_ACPI */ |
| 437 | 437 | ||
| 438 | int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low); | 438 | int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low); |
| 439 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); | 439 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); |
