Skip to content

Commit 83b3686

Browse files
committed
m5ops: fix arm m5exit
1 parent 9010e09 commit 83b3686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_module/user/m5ops.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static void m5_dumpstats(void)
1212
};
1313
static void m5_exit()
1414
{
15-
__asm__ __volatile__ ("mov r0, #0; .inst 0xEE000110 | (0x21 << 16);");
15+
__asm__ __volatile__ ("mov r0, #0; mov r1, #0; .inst 0xEE000110 | (0x21 << 16);");
1616
};
1717
static void m5_fail_1(void)
1818
{

0 commit comments

Comments
 (0)