Module Name: src Committed By: skrll Date: Wed May 23 11:08:33 UTC 2012
Modified Files: src/sys/arch/hp700/hp700: autoconf.c Log Message: Style. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/arch/hp700/hp700/autoconf.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/hp700/hp700/autoconf.c diff -u src/sys/arch/hp700/hp700/autoconf.c:1.45 src/sys/arch/hp700/hp700/autoconf.c:1.46 --- src/sys/arch/hp700/hp700/autoconf.c:1.45 Mon May 21 08:14:58 2012 +++ src/sys/arch/hp700/hp700/autoconf.c Wed May 23 11:08:33 2012 @@ -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 @@ static void hppa_pdc_system_map_scan(voi void cpu_configure(void) { + struct cpu_info *ci = curcpu(); /* * Consider stopping for a debugger before @@ -186,7 +187,7 @@ cpu_configure(void) /* in spl*() we trust */ hp700_intr_init(); hppa_enable_irq(); - curcpu()->ci_psw |= PSW_I; + ci->ci_psw |= PSW_I; spl0(); if (cold_hook)