]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 6144/1: TCM memory bug freeing bug
authorLinus Walleij <linus.walleij@stericsson.com>
Wed, 26 May 2010 06:37:57 +0000 (07:37 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:10:52 +0000 (11:10 -0700)
commit998396be9ceeb6d02127d9ae6ce1cb6b3659a25d
tree49647d0ca0b32fc49579be173368660fc9313656
parentf26a43c5a1c7cf8f7c9c2007fbd0f1789df99db3
ARM: 6144/1: TCM memory bug freeing bug

commit ea208f646c8fb91c39c852e952fc911e1ad045ab upstream.

This fixes a bug in mm/init.c when freeing the TCM compile memory,
this was being referred to as a char * which is incorrect: this
will dereference the pointer and feed in the value at the location
instead of the address to it. Change it to a plain char and use
&(char) to reference it.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mm/init.c