projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce7f2a3
)
arch/tile: convert a BUG_ON to BUILD_BUG_ON
author
Chris Metcalf
<cmetcalf@tilera.com>
Thu, 14 Oct 2010 20:50:26 +0000
(16:50 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Fri, 15 Oct 2010 19:40:03 +0000
(15:40 -0400)
Inspired by Akinobu Mita's cleanup work.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/tile/kernel/setup.c
b/arch/tile/kernel/setup.c
index 6444a2bbe1a47a6977dc123cbcb2486e97a16061..f3a50e74f9a4a0768058d81564c9da9c625938a5 100644
(file)
--- a/
arch/tile/kernel/setup.c
+++ b/
arch/tile/kernel/setup.c
@@
-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);
+ BU
ILD_BU
G_ON(MAX_NUMNODES > 127);
/* Discover the ranges of memory available to us */
for (i = 0; ; ++i) {