ACPICA: Improve support for 32/64 bit physical addresses in printf().
authorBob Moore <robert.moore@intel.com>
Sat, 8 Feb 2014 01:42:01 +0000 (09:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Feb 2014 23:30:23 +0000 (00:30 +0100)
commitc03775c0827f4d10fcb360c9b8af9a922aedaf4b
tree3498aa7535f2a94c5e12bc87150dd66c1d7d6bd4
parentb28a960c42fcd9cfc987441fa6d1c1a471f0f9ed
ACPICA: Improve support for 32/64 bit physical addresses in printf().

This change improves the support for physical addresses in printf
debug statements and other output on both 32-bit and 64-bit hosts.
It consistently outputs the appropriate number of bytes for each
host. The %p specifier is unsatisfactory since it does not emit
uniform output on all hosts/clib implementations (on some, leading
zeros are not supported, leading to difficult-to-read output).

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acmacros.h
drivers/acpi/acpica/tbprint.c