projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af7ffa
)
Blackfin: make sure MPU CPLB for first 1k is marked as valid
author
Robin Getz
<robin.getz@analog.com>
Tue, 5 May 2009 17:14:39 +0000
(17:14 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 12 Jun 2009 10:11:40 +0000
(06:11 -0400)
This way we properly catch and kill applications that jump to a NULL ptr.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/cplb-mpu/cplbinit.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/cplb-mpu/cplbinit.c
b/arch/blackfin/kernel/cplb-mpu/cplbinit.c
index
3e329a6
..
c006a44
100644
(file)
--- a/
arch/blackfin/kernel/cplb-mpu/cplbinit.c
+++ b/
arch/blackfin/kernel/cplb-mpu/cplbinit.c
@@
-64,7
+64,7
@@
void __init generate_cplb_tables_cpu(unsigned int cpu)
dcplb_tbl[cpu][i_d++].data = SDRAM_OOPS | PAGE_SIZE_1KB;
icplb_tbl[cpu][i_i].addr = 0;
- icplb_tbl[cpu][i_i++].data = i_cache | CPLB_USER_RD | PAGE_SIZE_1KB;
+ icplb_tbl[cpu][i_i++].data =
CPLB_VALID |
i_cache | CPLB_USER_RD | PAGE_SIZE_1KB;
/* Cover kernel memory with 4M pages. */
addr = 0;