diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-08-19 07:21:38 -0700 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-08-19 07:21:38 -0700 |
| commit | 98256b561371e19539b68c631ef0dcc395e77908 (patch) | |
| tree | 65a35f173b9bd1229f1ab3cad7fa81a689cf5753 /include/linux | |
| parent | 632f2e904ef8a1c8adf4090c5df6eee1cb2420b3 (diff) | |
[acpi] Fix compilation when CONFIG_SMP=n
A recent slew of ACPI "fixes" completely broke the build when one built
without SMP, IO APICs, or Local APICs.
Bad Intel, no cookie.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/acpi.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 3fd526160f1a..94a0f27e331c 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -373,6 +373,11 @@ extern int acpi_mp_config; #define acpi_mp_config 0 +static inline int acpi_boot_init(void) +{ + return 0; +} + #endif /*!CONFIG_ACPI_BOOT*/ @@ -423,6 +428,13 @@ int ec_write(u8 addr, u8 val); int acpi_blacklisted(void); +#else + +static inline int acpi_blacklisted(void) +{ + return 0; +} + #endif /*CONFIG_ACPI*/ #endif /*_LINUX_ACPI_H*/ |
