Module Name: src Committed By: matt Date: Thu Aug 30 02:23:14 UTC 2012
Modified Files: src/sys/kern: kern_lock.c Log Message: Use __cacheline_aligned To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/sys/kern/kern_lock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_lock.c diff -u src/sys/kern/kern_lock.c:1.152 src/sys/kern/kern_lock.c:1.153 --- src/sys/kern/kern_lock.c:1.152 Sun Nov 27 03:24:00 2011 +++ src/sys/kern/kern_lock.c Thu Aug 30 02:23:14 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_lock.c,v 1.152 2011/11/27 03:24:00 jmcneill Exp $ */ +/* $NetBSD: kern_lock.c,v 1.153 2012/08/30 02:23:14 matt Exp $ */ /*- * Copyright (c) 2002, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.152 2011/11/27 03:24:00 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.153 2012/08/30 02:23:14 matt Exp $"); #include <sys/param.h> #include <sys/proc.h> @@ -53,7 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: kern_lock.c, bool kernel_lock_dodebug; __cpu_simple_lock_t kernel_lock[CACHE_LINE_SIZE / sizeof(__cpu_simple_lock_t)] - __aligned(CACHE_LINE_SIZE); + __cacheline_aligned; void assert_sleepable(void)