arch/tile: convert a BUG_ON to BUILD_BUG_ON
Inspired by Akinobu Mita's cleanup work. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
This commit is contained in:
parent
ce7f2a3967
commit
e18105c128
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ static void __init setup_memory(void)
|
|||
#endif
|
||||
|
||||
/* We are using a char to hold the cpu_2_node[] mapping */
|
||||
BUG_ON(MAX_NUMNODES > 127);
|
||||
BUILD_BUG_ON(MAX_NUMNODES > 127);
|
||||
|
||||
/* Discover the ranges of memory available to us */
|
||||
for (i = 0; ; ++i) {
|
||||
|
|
Loading…
Reference in a new issue