Replace cpu_abort with hw_error
Signed-off-by: Paul Brook <paul@codesourcery.com>
diff --git a/hw/pxa2xx_keypad.c b/hw/pxa2xx_keypad.c
index 522c9c1..965fa35 100644
--- a/hw/pxa2xx_keypad.c
+++ b/hw/pxa2xx_keypad.c
@@ -209,8 +209,7 @@
return s->kpkdi;
break;
default:
- cpu_abort(cpu_single_env, "%s: Bad offset " REG_FMT "\n",
- __FUNCTION__, offset);
+ hw_error("%s: Bad offset " REG_FMT "\n", __FUNCTION__, offset);
}
return 0;
@@ -254,8 +253,7 @@
break;
default:
- cpu_abort(cpu_single_env, "%s: Bad offset " REG_FMT "\n",
- __FUNCTION__, offset);
+ hw_error("%s: Bad offset " REG_FMT "\n", __FUNCTION__, offset);
}
}