diff options
author | Bob Moore <robert.moore@intel.com> | 2008-04-10 11:06:37 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-22 14:29:22 -0400 |
commit | a4df451a1055d97726ab890249bc3f941906fa75 (patch) | |
tree | bb0702e2b5c95c1bf71ef397323a59ca40db5411 /include/acpi/acmacros.h | |
parent | a69c77c72094bfda1ed02336ec9a1bae186fd2fc (diff) |
ACPICA: Removed obsolete ACPI_NO_INTEGER64_SUPPORT define
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acmacros.h')
-rw-r--r-- | include/acpi/acmacros.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/acpi/acmacros.h b/include/acpi/acmacros.h index 99d171c87c84..401228d34f13 100644 --- a/include/acpi/acmacros.h +++ b/include/acpi/acmacros.h | |||
@@ -61,21 +61,11 @@ | |||
61 | 61 | ||
62 | #define ACPI_ARRAY_LENGTH(x) (sizeof(x) / sizeof((x)[0])) | 62 | #define ACPI_ARRAY_LENGTH(x) (sizeof(x) / sizeof((x)[0])) |
63 | 63 | ||
64 | #ifdef ACPI_NO_INTEGER64_SUPPORT | ||
65 | /* | 64 | /* |
66 | * acpi_integer is 32-bits, no 64-bit support on this platform | 65 | * Full 64-bit integer must be available on both 32-bit and 64-bit platforms |
67 | */ | ||
68 | #define ACPI_LODWORD(l) ((u32)(l)) | ||
69 | #define ACPI_HIDWORD(l) ((u32)(0)) | ||
70 | |||
71 | #else | ||
72 | |||
73 | /* | ||
74 | * Full 64-bit address/integer on both 32-bit and 64-bit platforms | ||
75 | */ | 66 | */ |
76 | #define ACPI_LODWORD(l) ((u32)(u64)(l)) | 67 | #define ACPI_LODWORD(l) ((u32)(u64)(l)) |
77 | #define ACPI_HIDWORD(l) ((u32)(((*(struct uint64_struct *)(void *)(&l))).hi)) | 68 | #define ACPI_HIDWORD(l) ((u32)(((*(struct uint64_struct *)(void *)(&l))).hi)) |
78 | #endif | ||
79 | 69 | ||
80 | /* | 70 | /* |
81 | * printf() format helpers | 71 | * printf() format helpers |