Module Name:    src
Committed By:   christos
Date:           Mon Nov  4 16:56:50 UTC 2013

Modified Files:
        src/sys/arch/alpha/include: tc_machdep.h

Log Message:
make volatile variable as __USED()


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/alpha/include/tc_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/alpha/include/tc_machdep.h
diff -u src/sys/arch/alpha/include/tc_machdep.h:1.5 src/sys/arch/alpha/include/tc_machdep.h:1.6
--- src/sys/arch/alpha/include/tc_machdep.h:1.5	Sun Feb  5 21:14:13 2012
+++ src/sys/arch/alpha/include/tc_machdep.h	Mon Nov  4 11:56:50 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: tc_machdep.h,v 1.5 2012/02/06 02:14:13 matt Exp $ */
+/* $NetBSD: tc_machdep.h,v 1.6 2013/11/04 16:56:50 christos Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -73,7 +73,8 @@ typedef int32_t		tc_offset_t;
 	volatile uint32_t no_optimize;					\
 	no_optimize =	 						\
 	    *(volatile uint32_t *)ALPHA_PHYS_TO_K0SEG(0x00000001f0080220); \
-    } while (0)
+	__USE(no_optimize);						\
+    } while (/*CONSTCOND*/0)
 
 #define	tc_badaddr(tcaddr)						\
     badaddr((void *)(tcaddr), sizeof (uint32_t))

Reply via email to