Module Name: src
Committed By: matt
Date: Thu Aug 15 22:13:48 UTC 2013
Modified Files:
src/sys/arch/arm/arm32: arm32_machdep.c
Log Message:
Fix tpyo.
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/arm/arm32/arm32_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/arm32/arm32_machdep.c
diff -u src/sys/arch/arm/arm32/arm32_machdep.c:1.94 src/sys/arch/arm/arm32/arm32_machdep.c:1.95
--- src/sys/arch/arm/arm32/arm32_machdep.c:1.94 Wed Jun 12 21:34:12 2013
+++ src/sys/arch/arm/arm32/arm32_machdep.c Thu Aug 15 22:13:48 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_machdep.c,v 1.94 2013/06/12 21:34:12 matt Exp $ */
+/* $NetBSD: arm32_machdep.c,v 1.95 2013/08/15 22:13:48 matt Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.94 2013/06/12 21:34:12 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.95 2013/08/15 22:13:48 matt Exp $");
#include "opt_modular.h"
#include "opt_md.h"
@@ -138,7 +138,7 @@ arm32_vector_init(vaddr_t va, int which)
*/
#ifndef ARM_HAS_VBAR
if (va == ARM_VECTORS_LOW
- && (armreg_pfr1_read() && ARM_PFR1_SEC_MASK) != 0) {
+ && (armreg_pfr1_read() & ARM_PFR1_SEC_MASK) != 0) {
#endif
extern const uint32_t page0rel[];
vector_page = (vaddr_t)page0rel;