ref: 72dab7b181b9af3e5bca58c4b983eb9f2863e69c
parent: 2e0a3ec2d5b2252ebab15e28998bac82c33e8edd
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Jun 19 20:32:54 EDT 2019
pc64: fix compiler warning in rebootjump() entry calculation
--- a/sys/src/9/pc64/main.c
+++ b/sys/src/9/pc64/main.c
@@ -398,7 +398,7 @@
/* shutdown devices */
chandevshutdown();
- rebootjump((uintptr)entry & ~0xF0000000UL, PADDR(code), size);
+ rebootjump((uintptr)entry & -0x10000000, PADDR(code), size);
}
/*
--
⑨