Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/rpi Style change. No functional change.
details: https://anonhg.NetBSD.org/src/rev/5f503bd4a958
branches: trunk
changeset: 782162:5f503bd4a958
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Oct 19 11:31:50 2012 +0000
description:
Style change. No functional change.
diffstat:
sys/arch/evbarm/rpi/rpi_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 260231e8f809 -r 5f503bd4a958 sys/arch/evbarm/rpi/rpi_machdep.c
--- a/sys/arch/evbarm/rpi/rpi_machdep.c Fri Oct 19 10:44:34 2012 +0000
+++ b/sys/arch/evbarm/rpi/rpi_machdep.c Fri Oct 19 11:31:50 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpi_machdep.c,v 1.13 2012/10/14 16:16:52 skrll Exp $ */
+/* $NetBSD: rpi_machdep.c,v 1.14 2012/10/19 11:31:50 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.13 2012/10/14 16:16:52 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.14 2012/10/19 11:31:50 skrll Exp $");
#include "opt_evbarm_boardtype.h"
@@ -300,7 +300,7 @@
panic("cpu not recognized!");
/* map some peripheral registers */
- pmap_devmap_bootstrap((vaddr_t)armreg_ttbr_read() & ~(L1_TABLE_SIZE - 1),
+ pmap_devmap_bootstrap((vaddr_t)armreg_ttbr_read() & -L1_TABLE_SIZE,
rpi_devmap);
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
Home |
Main Index |
Thread Index |
Old Index