summaryrefslogtreecommitdiff
path: root/sys/src/9/pc64/main.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-06-20 00:32:54 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-06-20 00:32:54 +0200
commita40364218d3155403bcaccce01c8a70523c2e29c (patch)
tree6f995a72b54747ee5ab28b4352e88ddf245ee2e1 /sys/src/9/pc64/main.c
parent4b4d68487c7fcc65f589be88390ce658d9d43a13 (diff)
pc64: fix compiler warning in rebootjump() entry calculation
Diffstat (limited to 'sys/src/9/pc64/main.c')
-rw-r--r--sys/src/9/pc64/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc64/main.c b/sys/src/9/pc64/main.c
index dd9e2d8f2..479141637 100644
--- a/sys/src/9/pc64/main.c
+++ b/sys/src/9/pc64/main.c
@@ -398,7 +398,7 @@ reboot(void *entry, void *code, ulong size)
/* shutdown devices */
chandevshutdown();
- rebootjump((uintptr)entry & ~0xF0000000UL, PADDR(code), size);
+ rebootjump((uintptr)entry & -0x10000000, PADDR(code), size);
}
/*