summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-08 07:25:30 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-08 07:25:30 +0000
commitfdf44b65203c56f25231a87fc67e2ba11c642d50 (patch)
treeb4485783fdf024f28d2451c04b06868689341939 /sys
parentd43c13703b349fd33334cf3659b5222854538b2b (diff)
semicolon is not always what it seems, replace w/ a \n in asm labels
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_synch.c6
-rw-r--r--sys/uvm/uvm_map.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 6bb1cc9fba2..220e3b01bf1 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_synch.c,v 1.40 2001/11/11 22:30:56 art Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.41 2002/03/08 07:25:29 mickey Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*-
@@ -427,7 +427,7 @@ ltsleep(ident, priority, wmesg, timo, interlock)
mi_switch();
#ifdef DDB
/* handy breakpoint location after process "wakes" */
- __asm(".globl bpendtsleep ; bpendtsleep:");
+ __asm(".globl bpendtsleep\nbpendtsleep:");
#endif
resume:
curpriority = p->p_usrpri;
@@ -545,7 +545,7 @@ sleep(ident, priority)
mi_switch();
#ifdef DDB
/* handy breakpoint location after process "wakes" */
- __asm(".globl bpendsleep ; bpendsleep:");
+ __asm(".globl bpendsleep\nbpendsleep:");
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_CSW))
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index b4e4d9a65cc..dd55c46f33d 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.c,v 1.42 2002/03/07 01:08:57 provos Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.43 2002/03/08 07:25:29 mickey Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
@@ -340,7 +340,7 @@ _uvm_tree_sanity(vm_map_t map, char *name)
error:
#ifdef DDB
/* handy breakpoint location for error case */
- __asm(".globl treesanity_label ; treesanity_label:");
+ __asm(".globl treesanity_label\ntreesanity_label:");
#endif
return (-1);
}