Commit e18105c1 authored by Chris Metcalf's avatar Chris Metcalf

arch/tile: convert a BUG_ON to BUILD_BUG_ON

Inspired by Akinobu Mita's cleanup work.
Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent ce7f2a39
...@@ -311,7 +311,7 @@ static void __init setup_memory(void) ...@@ -311,7 +311,7 @@ static void __init setup_memory(void)
#endif #endif
/* We are using a char to hold the cpu_2_node[] mapping */ /* 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 */ /* Discover the ranges of memory available to us */
for (i = 0; ; ++i) { for (i = 0; ; ++i) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment