From 73a1e34586fcebb9769714ce506be0dedd9a6488 Mon Sep 17 00:00:00 2001 From: perry Date: Sat, 2 Nov 2002 01:56:14 +0000 Subject: [PATCH] asm -> __asm --- sys/arch/i386/i386/db_interface.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/i386/i386/db_interface.c b/sys/arch/i386/i386/db_interface.c index a8b50e170ee3..4fadf46cce56 100644 --- a/sys/arch/i386/i386/db_interface.c +++ b/sys/arch/i386/i386/db_interface.c @@ -1,4 +1,4 @@ -/* $NetBSD: db_interface.c,v 1.37 2002/10/05 21:19:16 fvdl Exp $ */ +/* $NetBSD: db_interface.c,v 1.38 2002/11/02 01:56:14 perry Exp $ */ /* * Mach Operating System @@ -33,7 +33,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.37 2002/10/05 21:19:16 fvdl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.38 2002/11/02 01:56:14 perry Exp $"); #include "opt_ddb.h" @@ -209,7 +209,7 @@ kdb_trap(type, code, regs) * Kernel mode - esp and ss not saved */ ddb_regs.tf_esp = (int)®s->tf_esp; /* kernel stack pointer */ - asm("movw %%ss,%w0" : "=r" (ddb_regs.tf_ss)); + __asm("movw %%ss,%w0" : "=r" (ddb_regs.tf_ss)); } ddb_regs.tf_cs &= 0xffff; @@ -322,7 +322,7 @@ ddb_suspend(struct trapframe *frame) * Kernel mode - esp and ss not saved */ regs.tf_esp = (int)&frame->tf_esp; /* kernel stack pointer */ - asm("movw %%ss,%w0" : "=r" (regs.tf_ss)); + __asm("movw %%ss,%w0" : "=r" (regs.tf_ss)); } ci->ci_ddb_regs = ®s;