summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-07-16 16:58:08 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-23 01:10:44 +0200
commitd334c823b27401721591e0f1220050a41af08165 (patch)
treee1e85c8ee39d459c457b63cc040276f4d1376a9e /arch/x86
parentdaba25d6e09e923ca4458211ca086eeb8bef8b5a (diff)
downloadop-kernel-dev-d334c823b27401721591e0f1220050a41af08165.zip
op-kernel-dev-d334c823b27401721591e0f1220050a41af08165.tar.gz
ACPICA: Linux: Add support to exclude <asm/acenv.h> inclusion.
The forthcoming patch will make <acpi/acpi.h> to be visible to all kernel source code. Thus for the architectures that do not support ACPI and haven't implemented <asm/acenv.h>, we need to make it excluded. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/acenv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/acenv.h b/arch/x86/include/asm/acenv.h
index 6687329..1b010a8 100644
--- a/arch/x86/include/asm/acenv.h
+++ b/arch/x86/include/asm/acenv.h
@@ -18,8 +18,6 @@
#define ACPI_FLUSH_CPU_CACHE() wbinvd()
-#ifdef CONFIG_ACPI
-
int __acpi_acquire_global_lock(unsigned int *lock);
int __acpi_release_global_lock(unsigned int *lock);
@@ -44,6 +42,4 @@ int __acpi_release_global_lock(unsigned int *lock);
: "=r"(n_hi), "=r"(n_lo) \
: "0"(n_hi), "1"(n_lo))
-#endif
-
#endif /* _ASM_X86_ACENV_H */
OpenPOWER on IntegriCloud