summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-27 23:52:05 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-27 23:52:05 +0200
commit7e1c1a82f505e79a85a822a377bd3369e676ac2d (patch)
treecdb9234e3f803d4c34c543a78c3711b26a292bfc /arch/x86
parentMerge branch 'acpica' (diff)
parentACPI: Add support to force header inclusion rules for <acpi/acpi.h>. (diff)
downloadlinux-7e1c1a82f505e79a85a822a377bd3369e676ac2d.tar.xz
linux-7e1c1a82f505e79a85a822a377bd3369e676ac2d.zip
Merge branch 'acpi-headers'
* acpi-headers: ACPI: Add support to force header inclusion rules for <acpi/acpi.h>. ACPI / SFI: Fix wrong <acpi/acpi.h> inclusion in SFI/ACPI wrapper - table definitions. ACPICA: Linux: Allow ACPICA inclusion for CONFIG_ACPI=n builds. ACPICA: Linux: Add support to exclude <asm/acenv.h> inclusion. ACPICA: Linux: Add stub implementation of ACPICA 64-bit mathematics. ACPICA: Linux: Add stub support for Linux specific variables and functions.
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 66873297e9f5..1b010a859b8b 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 */