Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/dev Don't use multi-line string literals.



details:   https://anonhg.NetBSD.org/src/rev/6256124e5a09
branches:  trunk
changeset: 532038:6256124e5a09
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 30 21:27:41 2002 +0000

description:
Don't use multi-line string literals.

diffstat:

 sys/arch/mac68k/dev/pm_direct.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 2e8462a86bef -r 6256124e5a09 sys/arch/mac68k/dev/pm_direct.c
--- a/sys/arch/mac68k/dev/pm_direct.c   Thu May 30 21:26:13 2002 +0000
+++ b/sys/arch/mac68k/dev/pm_direct.c   Thu May 30 21:27:41 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm_direct.c,v 1.19 2002/03/05 17:39:26 shiba Exp $     */
+/*     $NetBSD: pm_direct.c,v 1.20 2002/05/30 21:27:41 thorpej Exp $   */
 
 /*
  * Copyright (C) 1997 Takashi Hamada
@@ -901,10 +901,10 @@
 {
        u_int32_t rval=0;
 
-       asm("
-               movl    %1,%%a0
-               .word   0xa085
-               movl    %%d0,%0"
+       __asm __volatile(
+       "       movl    %1,%%a0 \n"
+       "       .word   0xa085  \n"
+       "       movl    %%d0,%0"
                : "=g" (rval)
                : "g" (pmdata)
                : "a0","d0");



Home | Main Index | Thread Index | Old Index