projects
/
linux-2.6-omap-h63xx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
880d267
)
ARM: Do early I/O mapping if spinlock debugging is enabled
author
Juha Yrjola
<juha.yrjola@solidboot.com>
Wed, 8 Apr 2009 00:04:53 +0000
(17:04 -0700)
committer
Tony Lindgren
<tony@atomide.com>
Wed, 8 Apr 2009 00:04:53 +0000
(17:04 -0700)
At least on OMAP, sched_clock() requires the I/O maps to be initialized.
Spinlock debugging invokes sched_clock() very early.
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/kernel/head.S
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/head.S
b/arch/arm/kernel/head.S
index 21e17dc94cb56757f6f25f05b61ba4c2d6e095ca..1bc918cbdb189989878981ae375657b31f0e9b8e 100644
(file)
--- a/
arch/arm/kernel/head.S
+++ b/
arch/arm/kernel/head.S
@@
-282,7
+282,7
@@
__create_page_tables:
.endif
str r6, [r0]
-#if
def CONFIG_DEBUG_LL
+#if
defined(CONFIG_DEBUG_LL) || defined(CONFIG_DEBUG_SPINLOCK)
ldr r7, [r10, #PROCINFO_IO_MMUFLAGS] @ io_mmuflags
/*
* Map in IO space for serial debugging.