freebsd-skq/sys/mips/rmi
eadler 44c01df173 Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
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
2013-11-30 22:17:27 +00:00
..
dev Fix some lingering build failures caused by fixing implicit inclusion of 2013-10-31 05:00:50 +00:00
board.c
board.h
bus_space_rmi_pci.c
bus_space_rmi.c
files.xlr
fmn.c
interrupt.h
intr_machdep.c
iodi.c Devices that rely on hints or identify routines for discovery need to 2013-10-29 14:07:31 +00:00
iomap.h
Makefile.msgring
mpwait.S
msgring_xls.c
msgring_xls.cfg Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
msgring.c
msgring.cfg
msgring.h
pcibus.h
pic.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
rmi_boot_info.h
rmi_mips_exts.h
rootfs_list.txt
std.xlr
tick.c Panics about how things can't be attached should probably happen in the 2013-10-29 20:38:58 +00:00
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