Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 If we're going to use just the name of the ...
details: https://anonhg.NetBSD.org/src/rev/a5acc8f44191
branches: trunk
changeset: 330196:a5acc8f44191
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Jun 28 21:13:12 2014 +0000
description:
If we're going to use just the name of the dying function as a panic
string, it should at least be the name of the *right* function. ish.
diffstat:
sys/arch/x86/x86/sys_machdep.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a4f908eeb94f -r a5acc8f44191 sys/arch/x86/x86/sys_machdep.c
--- a/sys/arch/x86/x86/sys_machdep.c Sat Jun 28 20:18:55 2014 +0000
+++ b/sys/arch/x86/x86/sys_machdep.c Sat Jun 28 21:13:12 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_machdep.c,v 1.27 2014/03/20 20:44:42 christos Exp $ */
+/* $NetBSD: sys_machdep.c,v 1.28 2014/06/28 21:13:12 dholland Exp $ */
/*-
* Copyright (c) 1998, 2007, 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.27 2014/03/20 20:44:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.28 2014/06/28 21:13:12 dholland Exp $");
#include "opt_mtrr.h"
#include "opt_perfctrs.h"
@@ -695,7 +695,7 @@
wrmsr(MSR_KERNELGSBASE, pcb->pcb_gs);
break;
default:
- panic("x86_get_sdbase");
+ panic("x86_set_sdbase");
}
kpreempt_enable();
@@ -717,7 +717,7 @@
sd = (void *)&curpcb->pcb_gsd;
break;
default:
- panic("x86_get_sdbase");
+ panic("x86_get_sdbase32");
}
base = sd->sd_hibase << 24 | sd->sd_lobase;
Home |
Main Index |
Thread Index |
Old Index