git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: 6144/1: TCM memory bug freeing bug
[safe/jmp/linux-2.6]
/
arch
/
arm
/
mm
/
init.c
diff --git
a/arch/arm/mm/init.c
b/arch/arm/mm/init.c
index
1ba6cf5
..
f6a9994
100644
(file)
--- a/
arch/arm/mm/init.c
+++ b/
arch/arm/mm/init.c
@@
-678,10
+678,10
@@
void __init mem_init(void)
void free_initmem(void)
{
#ifdef CONFIG_HAVE_TCM
void free_initmem(void)
{
#ifdef CONFIG_HAVE_TCM
- extern char
*__tcm_start, *
__tcm_end;
+ extern char
__tcm_start,
__tcm_end;
- totalram_pages += free_area(__phys_to_pfn(__pa(__tcm_start)),
- __phys_to_pfn(__pa(__tcm_end)),
+ totalram_pages += free_area(__phys_to_pfn(__pa(
&
__tcm_start)),
+ __phys_to_pfn(__pa(
&
__tcm_end)),
"TCM link");
#endif
"TCM link");
#endif