Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Use the correct prot mask in vector_page_...
details: https://anonhg.NetBSD.org/src/rev/4ee59b8aae9c
branches: trunk
changeset: 781234:4ee59b8aae9c
user: matt <matt%NetBSD.org@localhost>
date: Wed Aug 29 05:51:30 2012 +0000
description:
Use the correct prot mask in vector_page_setprot
diffstat:
sys/arch/arm/arm32/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7daa490633ca -r 4ee59b8aae9c sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed Aug 29 03:54:03 2012 +0000
+++ b/sys/arch/arm/arm32/pmap.c Wed Aug 29 05:51:30 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.231 2012/08/27 12:05:30 matt Exp $ */
+/* $NetBSD: pmap.c,v 1.232 2012/08/29 05:51:30 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -211,7 +211,7 @@
#include <machine/param.h>
#include <arm/arm32/katelib.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.231 2012/08/27 12:05:30 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.232 2012/08/29 05:51:30 matt Exp $");
#ifdef PMAP_DEBUG
@@ -4976,7 +4976,7 @@
ptep = &l2b->l2b_kva[l2pte_index(vector_page)];
- *ptep = (*ptep & ~L1_S_PROT_MASK) | L1_S_PROT(PTE_KERNEL, prot);
+ *ptep = (*ptep & ~L2_S_PROT_MASK) | L2_S_PROT(PTE_KERNEL, prot);
PTE_SYNC(ptep);
cpu_tlb_flushD_SE(vector_page);
cpu_cpwait();
Home |
Main Index |
Thread Index |
Old Index