1 From 601145f682eab66abca5d154a8a9fdf275acd8ba Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Tue, 24 Jun 2008 22:20:31 -0600
4 Subject: [PATCH] Fix off by 1 error with endmem.
6 LTIBName: mcfv4e-endmem-fix
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
9 arch/m68k/coldfire/config.c | 2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
12 --- a/arch/m68k/coldfire/config.c
13 +++ b/arch/m68k/coldfire/config.c
14 @@ -449,7 +449,7 @@ void __init config_coldfire(void)
15 /* mach_hwclk = coldfire_hwclk; to be done */
16 mach_get_model = coldfire_get_model;
18 - coldfire_bootmem_alloc(startmem, endmem);
19 + coldfire_bootmem_alloc(startmem, endmem-1);