[au1000] prevent error messages on the requesting of the GPIO buttons
[openwrt.git] / target / linux / coldfire / patches / 066-mcfv4e_endmem_fix.patch
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.
5
6 LTIBName: mcfv4e-endmem-fix
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
8 ---
9 arch/m68k/coldfire/config.c | 2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
11
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;
17
18 - coldfire_bootmem_alloc(startmem, endmem);
19 + coldfire_bootmem_alloc(startmem, endmem-1);
20
21 /*
22 * initrd setup
This page took 0.046251 seconds and 5 git commands to generate.