aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/acmacros.h')
-rw-r--r--include/acpi/acmacros.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/acpi/acmacros.h b/include/acpi/acmacros.h
index 258cfe5e2aac..e42222c3d34c 100644
--- a/include/acpi/acmacros.h
+++ b/include/acpi/acmacros.h
@@ -202,7 +202,7 @@
202 202
203#define ACPI_BUFFER_INDEX(buf_len,buf_offset,byte_gran) (buf_offset) 203#define ACPI_BUFFER_INDEX(buf_len,buf_offset,byte_gran) (buf_offset)
204 204
205#ifdef ACPI_MISALIGNED_TRANSFERS 205#ifndef ACPI_MISALIGNMENT_NOT_SUPPORTED
206 206
207/* The hardware supports unaligned transfers, just do the little-endian move */ 207/* The hardware supports unaligned transfers, just do the little-endian move */
208 208
@@ -563,11 +563,11 @@
563 return (_s); }) 563 return (_s); })
564#define return_UINT8(s) ACPI_DO_WHILE0 ({ \ 564#define return_UINT8(s) ACPI_DO_WHILE0 ({ \
565 register u8 _s = (u8) (s); \ 565 register u8 _s = (u8) (s); \
566 acpi_ut_value_exit (ACPI_DEBUG_PARAMETERS, _s); \ 566 acpi_ut_value_exit (ACPI_DEBUG_PARAMETERS, (acpi_integer) _s); \
567 return (_s); }) 567 return (_s); })
568#define return_UINT32(s) ACPI_DO_WHILE0 ({ \ 568#define return_UINT32(s) ACPI_DO_WHILE0 ({ \
569 register u32 _s = (u32) (s); \ 569 register u32 _s = (u32) (s); \
570 acpi_ut_value_exit (ACPI_DEBUG_PARAMETERS, _s); \ 570 acpi_ut_value_exit (ACPI_DEBUG_PARAMETERS, (acpi_integer) _s); \
571 return (_s); }) 571 return (_s); })
572#else /* Use original less-safe macros */ 572#else /* Use original less-safe macros */
573 573