diff options
author | Len Brown <len.brown@intel.com> | 2007-07-22 02:22:43 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-22 02:22:43 -0400 |
commit | d9ff963801e4f7648c55a27413a1b1de59480a30 (patch) | |
tree | d3d45c850eb03629835d6970651123800c0d8ba8 /include | |
parent | d7fff6f4d1ed1bc31577df887fefcb1541923367 (diff) | |
parent | e6917317c0f6a930442c40dc38a6f21710adf961 (diff) |
Pull acpica into release branch
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/platform/acenv.h | 2 | ||||
-rw-r--r-- | include/acpi/platform/aclinux.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index dab2ec59a3b..c785485e62a 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h @@ -136,7 +136,7 @@ /*! [Begin] no source code translation */ -#if defined(__linux__) +#if defined(_LINUX) || defined(__linux__) #include "aclinux.h" #elif defined(_AED_EFI) diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index a568717f98c..6ed15a0978e 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h @@ -91,7 +91,10 @@ #define ACPI_USE_NATIVE_DIVIDE #endif +#ifndef __cdecl #define __cdecl +#endif + #define ACPI_FLUSH_CPU_CACHE() #endif /* __KERNEL__ */ |