Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcsh/dev/hd64461 {} -> do {} (0)



details:   https://anonhg.NetBSD.org/src/rev/88934996a42f
branches:  trunk
changeset: 522114:88934996a42f
user:      uch <uch%NetBSD.org@localhost>
date:      Mon Feb 11 17:20:18 2002 +0000

description:
{} -> do {} (0)

diffstat:

 sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 63036ee9a595 -r 88934996a42f sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
--- a/sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c        Mon Feb 11 17:19:04 2002 +0000
+++ b/sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c        Mon Feb 11 17:20:18 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hd64461pcmcia.c,v 1.10 2002/01/29 18:53:23 uch Exp $   */
+/*     $NetBSD: hd64461pcmcia.c,v 1.11 2002/02/11 17:20:18 uch Exp $   */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -229,10 +229,10 @@
 /* fix SH3 Area[56] bug */
 STATIC void fixup_sh3_pcmcia_area(bus_space_tag_t);
 #define _BUS_SPACE_ACCESS_HOOK()                                       \
-{                                                                      \
+do {                                                                   \
        u_int8_t dummy __attribute__((__unused__)) =                    \
         *(volatile u_int8_t *)0xba000000;                              \
-}
+} while (/*CONSTCOND*/0)
 _BUS_SPACE_WRITE(_sh3_pcmcia_bug, 1, 8)
 _BUS_SPACE_WRITE_MULTI(_sh3_pcmcia_bug, 1, 8)
 _BUS_SPACE_WRITE_REGION(_sh3_pcmcia_bug, 1, 8)



Home | Main Index | Thread Index | Old Index