Module Name:    src
Committed By:   plunky
Date:           Thu Mar 24 07:28:29 UTC 2011

Modified Files:
        src/sys/sys: cdefs_elf.h

Log Message:
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
  [...]


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/sys/cdefs_elf.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/sys/cdefs_elf.h
diff -u src/sys/sys/cdefs_elf.h:1.36 src/sys/sys/cdefs_elf.h:1.37
--- src/sys/sys/cdefs_elf.h:1.36	Tue Feb 22 05:45:08 2011
+++ src/sys/sys/cdefs_elf.h	Thu Mar 24 07:28:28 2011
@@ -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 */

Reply via email to