Skip to content

Commit

Permalink
ACPICA: Fix a few warnings for gcc 3.4.4
Browse files Browse the repository at this point in the history
Mostly for acpiexec, one in the core subsystem.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Bob Moore authored and Len Brown committed May 27, 2009
1 parent b74be61 commit 8eb7b24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/acpica/hwregs.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ acpi_status acpi_hw_clear_acpi_status(void)

ACPI_FUNCTION_TRACE(hw_clear_acpi_status);

ACPI_DEBUG_PRINT((ACPI_DB_IO, "About to write %04X to %0llX\n",
ACPI_DEBUG_PRINT((ACPI_DB_IO, "About to write %04X to %8.8X%8.8X\n",
ACPI_BITMASK_ALL_FIXED_STATUS,
acpi_gbl_xpm1a_status.address));
ACPI_FORMAT_UINT64(acpi_gbl_xpm1a_status.address)));

lock_flags = acpi_os_acquire_lock(acpi_gbl_hardware_lock);

Expand Down
4 changes: 4 additions & 0 deletions include/acpi/platform/acgcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@
*/
#define ACPI_UNUSED_VAR __attribute__ ((unused))

#ifdef _ANSI
#define inline
#endif

#endif /* __ACGCC_H__ */

0 comments on commit 8eb7b24

Please sign in to comment.