summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/os/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/i86pc/os/trap.c')
-rw-r--r--usr/src/uts/i86pc/os/trap.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/uts/i86pc/os/trap.c b/usr/src/uts/i86pc/os/trap.c
index 71995cc992..1e6c4a5c32 100644
--- a/usr/src/uts/i86pc/os/trap.c
+++ b/usr/src/uts/i86pc/os/trap.c
@@ -31,6 +31,10 @@
/* All Rights Reserved */
/* */
+/*
+ * Copyright 2011 Joyent, Inc. All rights reserved.
+ */
+
#include <sys/types.h>
#include <sys/sysmacros.h>
#include <sys/param.h>
@@ -1983,7 +1987,7 @@ static void
dump_tss(void)
{
const char tss_fmt[] = "tss.%s:\t0x%p\n"; /* Format string */
- struct tss *tss = CPU->cpu_tss;
+ tss_t *tss = CPU->cpu_tss;
printf(tss_fmt, "tss_rsp0", (void *)tss->tss_rsp0);
printf(tss_fmt, "tss_rsp1", (void *)tss->tss_rsp1);
@@ -2004,7 +2008,7 @@ static void
dump_tss(void)
{
const char tss_fmt[] = "tss.%s:\t0x%p\n"; /* Format string */
- struct tss *tss = CPU->cpu_tss;
+ tss_t *tss = CPU->cpu_tss;
printf(tss_fmt, "tss_link", (void *)(uintptr_t)tss->tss_link);
printf(tss_fmt, "tss_esp0", (void *)(uintptr_t)tss->tss_esp0);