Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe On the ARM platform, sys/param.h needs to ...



details:   https://anonhg.NetBSD.org/src/rev/2ad4b69f6f57
branches:  trunk
changeset: 749303:2ad4b69f6f57
user:      kenh <kenh%NetBSD.org@localhost>
date:      Thu Nov 26 01:23:56 2009 +0000

description:
On the ARM platform, sys/param.h needs to be before sys/mutex.h, otherwise
sys/device.h will fail compilation (struct kmutex will not be defined
completely).

diffstat:

 sys/dev/raidframe/rf_paritymap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r e36242e43196 -r 2ad4b69f6f57 sys/dev/raidframe/rf_paritymap.c
--- a/sys/dev/raidframe/rf_paritymap.c  Thu Nov 26 01:21:50 2009 +0000
+++ b/sys/dev/raidframe/rf_paritymap.c  Thu Nov 26 01:23:56 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_paritymap.c,v 1.1 2009/11/17 18:54:26 jld Exp $ */
+/* $NetBSD: rf_paritymap.c,v 1.2 2009/11/26 01:23:56 kenh Exp $ */
 
 /*-
  * Copyright (c) 2009 Jed Davis.
@@ -27,12 +27,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_paritymap.c,v 1.1 2009/11/17 18:54:26 jld Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_paritymap.c,v 1.2 2009/11/26 01:23:56 kenh Exp $");
 
 #include <sys/callout.h>
 #include <sys/kmem.h>
+#include <sys/param.h>
 #include <sys/mutex.h>
-#include <sys/param.h>
 #include <sys/rwlock.h>
 #include <sys/systm.h>
 #include <sys/types.h>



Home | Main Index | Thread Index | Old Index