Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/hp700 Style.
details: https://anonhg.NetBSD.org/src/rev/905ff5916222
branches: trunk
changeset: 779368:905ff5916222
user: skrll <skrll%NetBSD.org@localhost>
date: Wed May 23 11:08:33 2012 +0000
description:
Style.
diffstat:
sys/arch/hp700/hp700/autoconf.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 1d5beac12657 -r 905ff5916222 sys/arch/hp700/hp700/autoconf.c
--- a/sys/arch/hp700/hp700/autoconf.c Wed May 23 11:04:54 2012 +0000
+++ b/sys/arch/hp700/hp700/autoconf.c Wed May 23 11:08:33 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.45 2012/05/21 08:14:58 skrll Exp $ */
+/* $NetBSD: autoconf.c,v 1.46 2012/05/23 11:08:33 skrll Exp $ */
/* $OpenBSD: autoconf.c,v 1.15 2001/06/25 00:43:10 mickey Exp $ */
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.45 2012/05/21 08:14:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.46 2012/05/23 11:08:33 skrll Exp $");
#include "opt_kgdb.h"
#include "opt_useleds.h"
@@ -164,6 +164,7 @@
void
cpu_configure(void)
{
+ struct cpu_info *ci = curcpu();
/*
* Consider stopping for a debugger before
@@ -186,7 +187,7 @@
/* in spl*() we trust */
hp700_intr_init();
hppa_enable_irq();
- curcpu()->ci_psw |= PSW_I;
+ ci->ci_psw |= PSW_I;
spl0();
if (cold_hook)
Home |
Main Index |
Thread Index |
Old Index