ACPICA: Update for new gcc-4 warning options
commit2147d3f00f85c9e993786863d8138694672da01b
authorBob Moore <robert.moore@intel.com>
Thu, 21 Jan 2010 01:08:31 +0000 (21 09:08 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 22 Jan 2010 17:30:02 +0000 (22 12:30 -0500)
tree446fe7d97ded336fbc5c8d8cad9ad87b959a6588
parent92dcffb916d309aa01778bf8963a6932e4014d07
ACPICA: Update for new gcc-4 warning options

Added several new options for the gcc-4 generation, and updated
the source accordingly. This includes some code restructuring to
eliminate unreachable code, elimination of some gotos, elimination
of unused return values, and some additional casting.

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>
drivers/acpi/acpica/exconfig.c
drivers/acpi/acpica/hwgpe.c
drivers/acpi/acpica/nspredef.c
drivers/acpi/acpica/nsrepair2.c
drivers/acpi/acpica/utmutex.c
include/acpi/platform/acenv.h