https://github.com/torvalds/linux
Revision de40614e92bf1b0308d953387b0cb9d3a5710186 authored by Joonsoo Kim on 05 April 2013, 02:16:51 UTC, committed by Russell King on 17 April 2013, 15:53:24 UTC
tcm_init() call iotable_init() and it use early_alloc variants which
do memblock allocation. Directly using memblock allocation after
initializing bootmem should not permitted, because bootmem can't know
where are additinally reserved.
So move tcm_init() to a safe place before initalizing bootmem.

(On the U300)

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent f5d6a14
History
Tip revision: de40614e92bf1b0308d953387b0cb9d3a5710186 authored by Joonsoo Kim on 05 April 2013, 02:16:51 UTC
ARM: 7694/1: ARM, TCM: initialize TCM in paging_init(), instead of setup_arch()
Tip revision: de40614
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 244.0 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top