44c01df173
shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
||
---|---|---|
.. | ||
dev | ||
board.c | ||
board.h | ||
bus_space_rmi_pci.c | ||
bus_space_rmi.c | ||
files.xlr | ||
fmn.c | ||
interrupt.h | ||
intr_machdep.c | ||
iodi.c | ||
iomap.h | ||
Makefile.msgring | ||
mpwait.S | ||
msgring_xls.c | ||
msgring_xls.cfg | ||
msgring.c | ||
msgring.cfg | ||
msgring.h | ||
pcibus.h | ||
pic.h | ||
rmi_boot_info.h | ||
rmi_mips_exts.h | ||
rootfs_list.txt | ||
std.xlr | ||
tick.c | ||
uart_bus_xlr_iodi.c | ||
uart_cpu_mips_xlr.c | ||
xlr_csum_nocopy.S | ||
xlr_i2c.c | ||
xlr_machdep.c | ||
xlr_pci.c | ||
xlr_pcmcia.c | ||
xls_ehci.c |