tile: replace some BUG_ON checks with BUILD_BUG_ON checks
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 5 Oct 2010 15:55:29 +0000 (00:55 +0900)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 5 Oct 2010 16:49:35 +0000 (12:49 -0400)
commitde5bbad6770882209b0ac58b0ba9259a98cfb953
treeda258f026fbd5342a61ce858fc2de5ed1e233932
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c
tile: replace some BUG_ON checks with BUILD_BUG_ON checks

Some BUG_ON checks can be detected at compile time rather than
at runtime.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/lib/atomic_32.c