diff options
Diffstat (limited to 'arch/ia64/kernel/setup.c')
-rw-r--r-- | arch/ia64/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index e4dfda1eb7dd..6dba2d63f24d 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -260,6 +260,7 @@ reserve_memory (void) | |||
260 | n++; | 260 | n++; |
261 | 261 | ||
262 | num_rsvd_regions = n; | 262 | num_rsvd_regions = n; |
263 | BUG_ON(IA64_MAX_RSVD_REGIONS + 1 < n); | ||
263 | 264 | ||
264 | sort_regions(rsvd_region, num_rsvd_regions); | 265 | sort_regions(rsvd_region, num_rsvd_regions); |
265 | } | 266 | } |