diff options
Diffstat (limited to 'src/kernel/syscall.C')
-rw-r--r-- | src/kernel/syscall.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscall.C b/src/kernel/syscall.C index cc1cc3e5d..035f7c8e2 100644 --- a/src/kernel/syscall.C +++ b/src/kernel/syscall.C @@ -759,8 +759,8 @@ namespace Systemcalls { uint32_t* instruction = static_cast<uint32_t*>(t->context.nip); - if (0x4c000364 == (*instruction)) // Verify 'nap' instruction, - // otherwise just return. + if (STOP_INSTRUCTION == (*instruction)) // Verify 'nap' instruction, + // otherwise just return. { // Disable EE, PR, IR, DR so 'nap' can be executed. // (which means to stay in HV state) |