32818c2eb6
I recently had a BUG_ON() go off spuriously on a gcc 4.0 compiled kernel. It turns out gcc-4.0 was removing a sign extension while earlier gcc versions would not. Thinking this to be a compiler bug, I submitted a report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23422 It turns out we need to cast the input in order to tell gcc to sign extend it. Thanks to Andrew Pinski for his help on this bug. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
iSeries | ||
8253pit.h | ||
a.out.h | ||
abs_addr.h | ||
agp.h | ||
atomic.h | ||
bitops.h | ||
bootinfo.h | ||
btext.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
checksum.h | ||
compat.h | ||
cputable.h | ||
cputime.h | ||
current.h | ||
dbdma.h | ||
delay.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
eeh.h | ||
elf.h | ||
emergency-restart.h | ||
errno.h | ||
fcntl.h | ||
floppy.h | ||
hardirq.h | ||
hdreg.h | ||
hvcall.h | ||
hvconsole.h | ||
hvcserver.h | ||
hw_irq.h | ||
ide.h | ||
imalloc.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
iommu.h | ||
ipc.h | ||
ipcbuf.h | ||
irq.h | ||
kdebug.h | ||
kexec.h | ||
keylargo.h | ||
kmap_types.h | ||
kprobes.h | ||
linkage.h | ||
lmb.h | ||
local.h | ||
lppaca.h | ||
machdep.h | ||
macio.h | ||
mc146818rtc.h | ||
memory.h | ||
mman.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
module.h | ||
msgbuf.h | ||
naca.h | ||
namei.h | ||
numnodes.h | ||
nvram.h | ||
of_device.h | ||
paca.h | ||
page.h | ||
param.h | ||
parport.h | ||
pci-bridge.h | ||
pci.h | ||
percpu.h | ||
pgalloc.h | ||
pgtable.h | ||
plpar_wrappers.h | ||
pmac_feature.h | ||
pmac_low_i2c.h | ||
pmc.h | ||
poll.h | ||
posix_types.h | ||
ppc32.h | ||
ppc_asm.h | ||
ppcdebug.h | ||
processor.h | ||
prom.h | ||
pSeries_reconfig.h | ||
ptrace-common.h | ||
ptrace.h | ||
resource.h | ||
rtas.h | ||
rwsem.h | ||
scatterlist.h | ||
seccomp.h | ||
sections.h | ||
segment.h | ||
semaphore.h | ||
sembuf.h | ||
serial.h | ||
setup.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
smp.h | ||
smu.h | ||
socket.h | ||
sockios.h | ||
sparsemem.h | ||
spinlock.h | ||
sstep.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
system.h | ||
systemcfg.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
time.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
udbg.h | ||
unaligned.h | ||
uninorth.h | ||
unistd.h | ||
user.h | ||
vdso.h | ||
vga.h | ||
vio.h | ||
xics.h | ||
xor.h |