BUG_ON() Conversion in kernel/signal.c

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>

authored by

Eric Sesterhenn and committed by
Adrian Bunk
9f31252c fda8bd78

+1 -2
+1 -2
kernel/timer.c
··· 1479 1479 unsigned long flags; 1480 1480 1481 1481 /* Sanity check */ 1482 - if (ti->frequency == 0 || ti->mask == 0) 1483 - BUG(); 1482 + BUG_ON(ti->frequency == 0 || ti->mask == 0); 1484 1483 1485 1484 ti->nsec_per_cyc = ((u64)NSEC_PER_SEC << ti->shift) / ti->frequency; 1486 1485 spin_lock(&time_interpolator_lock);