One more trivial, stand-alone patch from the Xen/ia64 review. Sanity check usage of the reserved region numbers. Thanks, Alex Signed-off-by: Alex Williamson <alex.williamson@xxxxxx> --- diff -r d349717b8dc8 arch/ia64/kernel/setup.c --- a/arch/ia64/kernel/setup.c Tue Jun 06 01:00:10 2006 +0000 +++ b/arch/ia64/kernel/setup.c Tue Jun 06 10:34:18 2006 -0600 @@ -260,6 +260,7 @@ reserve_memory (void) n++; num_rsvd_regions = n; + BUG_ON(IA64_MAX_RSVD_REGIONS + 1 < n); sort_regions(rsvd_region, num_rsvd_regions); } - : send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |