From 2ac711791b2e4aabc5e4046b7428727828c705eb Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 8 May 2009 02:35:15 +0100 Subject: Replace cpu_abort with hw_error Signed-off-by: Paul Brook --- hw/etraxfs_pic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hw/etraxfs_pic.c') diff --git a/hw/etraxfs_pic.c b/hw/etraxfs_pic.c index 9e5cbb3..49e991c 100644 --- a/hw/etraxfs_pic.c +++ b/hw/etraxfs_pic.c @@ -148,8 +148,7 @@ static void nmi_handler(void *opaque, int irq, int level) static void guru_handler(void *opaque, int irq, int level) { - struct fs_pic_state *fs = (void *)opaque; - cpu_abort(fs->env, "%s unsupported exception\n", __func__); + hw_error("%s unsupported exception\n", __func__); } struct etraxfs_pic *etraxfs_pic_init(CPUState *env, target_phys_addr_t base) -- cgit v1.1