diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-08 02:35:15 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-08 02:35:15 +0100 |
commit | 2ac711791b2e4aabc5e4046b7428727828c705eb (patch) | |
tree | c4ed47028dee4949cc7eace9760a20d1759406e2 /hw/omap_clk.c | |
parent | e612a1f7256bb3546cf3e9ae6cad3997c4153663 (diff) | |
download | qemu-2ac711791b2e4aabc5e4046b7428727828c705eb.zip qemu-2ac711791b2e4aabc5e4046b7428727828c705eb.tar.gz qemu-2ac711791b2e4aabc5e4046b7428727828c705eb.tar.bz2 |
Replace cpu_abort with hw_error
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/omap_clk.c')
-rw-r--r-- | hw/omap_clk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/omap_clk.c b/hw/omap_clk.c index d7a5a57..fc86cf1 100644 --- a/hw/omap_clk.c +++ b/hw/omap_clk.c @@ -1105,7 +1105,7 @@ struct clk *omap_findclk(struct omap_mpu_state_s *mpu, const char *name) for (i = mpu->clks; i->name; i ++) if (!strcmp(i->name, name) || (i->alias && !strcmp(i->alias, name))) return i; - cpu_abort(mpu->env, "%s: %s not found\n", __FUNCTION__, name); + hw_error("%s: %s not found\n", __FUNCTION__, name); } void omap_clk_get(struct clk *clk) @@ -1116,8 +1116,7 @@ void omap_clk_get(struct clk *clk) void omap_clk_put(struct clk *clk) { if (!(clk->usecount --)) - cpu_abort(cpu_single_env, "%s: %s is not in use\n", - __FUNCTION__, clk->name); + hw_error("%s: %s is not in use\n", __FUNCTION__, clk->name); } static void omap_clk_update(struct clk *clk) |