diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2011-03-03 17:36:52 +0530 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-12-08 11:28:59 -0800 |
commit | 0db1803e4ee459fd261915a2f1b2c39bb34767eb (patch) | |
tree | bbfad47fd7993893f3e9d04a24c92ee982ced15e /arch/arm/mach-omap2/omap-smp.c | |
parent | deee6d5359969a0ce4e2760cfd7b9f379bd5698a (diff) |
ARM: OMAP4: Use WARN_ON() instead of BUG_ON() with graceful exit
OMAP4 L2X0 initialisation code uses BUG_ON() for the ioremap()
failure scenarios.
Use WARN_ON() instead and allow graceful function exits.
This was suggsted by Kevin Hilman <khilman@ti.com> during
OMAP4 PM code review.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap-smp.c')
0 files changed, 0 insertions, 0 deletions