summaryrefslogtreecommitdiff
path: root/include/acpi/platform/acgcc.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-04 01:14:35 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-04 01:14:35 +0300
commit0d624f553c7e1523c196853d51d2e31ab469ef04 (patch)
treef5e89b56f81932aa9815d60cf0d82d3abb73264a /include/acpi/platform/acgcc.h
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff)
parent4a9673dd50c2362f5bd2d03c89099267b49d400a (diff)
downloadlinux-0d624f553c7e1523c196853d51d2e31ab469ef04.tar.xz
Merge branch 'acpica' into acpi-dma
Diffstat (limited to 'include/acpi/platform/acgcc.h')
-rw-r--r--include/acpi/platform/acgcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/platform/acgcc.h b/include/acpi/platform/acgcc.h
index 97a7e21cfbe0..9c8f8b79644e 100644
--- a/include/acpi/platform/acgcc.h
+++ b/include/acpi/platform/acgcc.h
@@ -84,4 +84,8 @@ typedef __builtin_va_list va_list;
#define COMPILER_VA_MACRO 1
+/* GCC supports native multiply/shift on 32-bit platforms */
+
+#define ACPI_USE_NATIVE_MATH64
+
#endif /* __ACGCC_H__ */