pc64: fix compiler warning in rebootjump() entry calculation
This commit is contained in:
parent
4b4d68487c
commit
a40364218d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue