pc64: fix compiler warning in rebootjump() entry calculation

This commit is contained in:
cinap_lenrek 2019-06-20 00:32:54 +02:00
parent 4b4d68487c
commit a40364218d

View file

@ -398,7 +398,7 @@ reboot(void *entry, void *code, ulong size)
/* shutdown devices */ /* shutdown devices */
chandevshutdown(); chandevshutdown();
rebootjump((uintptr)entry & ~0xF0000000UL, PADDR(code), size); rebootjump((uintptr)entry & -0x10000000, PADDR(code), size);
} }
/* /*