Source-Changes-HG archive

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

[src/trunk]: src/sys/sys use a comma in attribute list; from from gcc.info (5...



details:   https://anonhg.NetBSD.org/src/rev/1a28db015abb
branches:  trunk
changeset: 763539:1a28db015abb
user:      plunky <plunky%NetBSD.org@localhost>
date:      Thu Mar 24 07:28:28 2011 +0000

description:
use a comma in attribute list; from from gcc.info (5.25 Attribute Syntax):

  An "attribute specifier" is of the form `__attribute__
  ((ATTRIBUTE-LIST))'.  An "attribute list" is a possibly empty
  comma-separated sequence of "attributes", where each attribute is
  [...]

diffstat:

 sys/sys/cdefs_elf.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f0521b2cb9a5 -r 1a28db015abb sys/sys/cdefs_elf.h
--- a/sys/sys/cdefs_elf.h       Thu Mar 24 07:06:34 2011 +0000
+++ b/sys/sys/cdefs_elf.h       Thu Mar 24 07:28:28 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs_elf.h,v 1.36 2011/02/22 05:45:08 joerg Exp $     */
+/*     $NetBSD: cdefs_elf.h,v 1.37 2011/03/24 07:28:28 plunky Exp $    */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -196,7 +196,7 @@
     __attribute__((__section__(".data.read_mostly")))
 
 #define        __cacheline_aligned                                     \
-    __attribute__((__aligned__(COHERENCY_UNIT)                 \
+    __attribute__((__aligned__(COHERENCY_UNIT),                        \
                 __section__(".data.cacheline_aligned")))
 
 #endif /* _KERNEL */



Home | Main Index | Thread Index | Old Index