kernel/vm: De-wrap line for clarity.

No functional change. Now it looks the same as the surrounding checks.
This commit is contained in:
Augustin Cavalier 2022-03-11 14:16:59 -05:00
parent 63664eaa21
commit 5c69be739e

View File

@ -4743,8 +4743,7 @@ vm_soft_fault(VMAddressSpace* addressSpace, addr_t originalAddress,
status = B_PERMISSION_DENIED;
break;
} else if (isExecute && (protection
& (B_EXECUTE_AREA
| (isUser ? 0 : B_KERNEL_EXECUTE_AREA))) == 0) {
& (B_EXECUTE_AREA | (isUser ? 0 : B_KERNEL_EXECUTE_AREA))) == 0) {
dprintf("instruction fetch attempted on execute-protected area 0x%"
B_PRIx32 " at %p\n", area->id, (void*)originalAddress);
TPF(PageFaultError(area->id,