[kvm-unit-tests PATCH v2 1/8] x86: change exit to abort again

Andrew Jones
2016-04-19T16:19:39Z

This is needed again because ed0a50e5 "x86: lib: debug dump
on unhandled exceptions" must have missed it in a rebase.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Peter Feiner <pfeiner@google.com>
---
lib/x86/desc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/x86/desc.c b/lib/x86/desc.c
index 75765ef5d7804..402204ddcac44 100644
--- a/lib/x86/desc.c
+++ b/lib/x86/desc.c
@@ -96,7 +96,7 @@ static void unhandled_exception(struct ex_regs *regs, bool cpu)
#endif
);
dump_frame_stack((void*) regs->rip, (void*) regs->rbp);
- exit(7);
+ abort();
}

static void check_exception_table(struct ex_regs *regs)
--
2.4.11