]> git.hungrycats.org Git - linux/commit
[PATCH] if ... BUG() -> BUG_ON()
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:13:35 +0000 (05:13 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:13:35 +0000 (05:13 -0800)
commitf598fb8d97c017bd343a75a3fe906e7d45918d5e
treeb5403a7fd47b11986eee500510e9bcbce2225c96
parentfd2ac4b289d00952ee14782ed5d282dcb0191a6c
[PATCH] if ... BUG() -> BUG_ON()

From: Adrian Bunk <bunk@fs.tum.de>

four months ago, Rolf Eike Beer <eike-kernel@sf-tec.de> sent a patch
against 2.6.0-test5-bk1 that converted several if ...  BUG() to BUG_ON()

This might in some cases result in slightly faster code because BUG_ON()
uses unlikely().
32 files changed:
include/asm-alpha/topology.h
include/asm-arm/arch-ebsa285/io.h
include/asm-arm/arch-nexuspci/io.h
include/asm-mips/dma-mapping.h
include/asm-mips/pci.h
include/asm-parisc/mmu_context.h
include/asm-parisc/tlbflush.h
include/asm-ppc/highmem.h
include/asm-ppc/pci.h
include/asm-ppc64/pci.h
include/asm-ppc64/topology.h
include/asm-s390/idals.h
include/asm-sh/spinlock.h
include/asm-sparc64/floppy.h
include/asm-sparc64/tlbflush.h
include/asm-x86_64/pgalloc.h
include/asm-x86_64/spinlock.h
include/linux/bio.h
include/linux/buffer_head.h
include/linux/dcache.h
include/linux/highmem.h
include/linux/netdevice.h
include/linux/nfs_fs.h
include/linux/quotaops.h
include/linux/smp_lock.h
include/net/sock.h
include/net/tcp.h
include/rxrpc/call.h
include/rxrpc/connection.h
include/rxrpc/message.h
include/rxrpc/peer.h
include/rxrpc/transport.h