1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-15 15:06:42 +00:00
freebsd/sys/arm/xscale/ixp425
Eitan Adler 7a22215c53 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
..
avila_ata.c
avila_gpio.c
avila_led.c
avila_machdep.c Call cpu_setup() from the initarm() routine on platforms that don't use 2013-11-21 01:08:10 +00:00
cambria_exp_space.c
cambria_fled.c
cambria_gpio.c
cambria_led.c
files.avila
files.ixp425
if_npe.c Follow r257244; it's now necessary to include if_var.h. 2013-10-28 18:43:00 +00:00
if_npereg.h
ixdp425_pci.c
ixdp425reg.h
ixp425_a4x_io.S
ixp425_a4x_space.c
ixp425_iic.c
ixp425_intr.h
ixp425_mem.c Typo fix. 2013-10-22 21:49:58 +00:00
ixp425_npe.c
ixp425_npereg.h
ixp425_npevar.h
ixp425_pci_asm.S
ixp425_pci_space.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
ixp425_pci.c Remove all #include <machine/pmap.h> from arm code. It's already 2013-10-27 00:51:46 +00:00
ixp425_qmgr.c
ixp425_qmgr.h
ixp425_space.c
ixp425_timer.c
ixp425_wdog.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
ixp425.c
ixp425reg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
ixp425var.h
std.avila
std.ixp425
std.ixp435
uart_bus_ixp425.c
uart_cpu_ixp425.c