* [Xenomai-core] [PATCH] Reorder headers include directives.
@ 2009-06-11 12:40 Gilles Chanteperdrix
0 siblings, 0 replies; only message in thread
From: Gilles Chanteperdrix @ 2009-06-11 12:40 UTC (permalink / raw)
To: Xenomai core
Following usual Linux rules, asm/* headers should be included after linux/*
headers, and this fixes the following warning on ARM:
In file included from arch/arm/include/asm/pgtable.h:449,
from kernel/xenomai/skins/rtdm/drvlib.c:37:
include/asm-generic/pgtable.h:305: warning: 'struct vm_area_struct' declared inside parameter list
(...)
---
ksrc/skins/rtdm/drvlib.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ksrc/skins/rtdm/drvlib.c b/ksrc/skins/rtdm/drvlib.c
index 2d28e09..c5b2b91 100644
--- a/ksrc/skins/rtdm/drvlib.c
+++ b/ksrc/skins/rtdm/drvlib.c
@@ -31,12 +31,12 @@
*/
#include <linux/bitops.h>
-#include <asm/page.h>
-#include <asm/io.h>
-#include <asm/pgtable.h>
#include <linux/delay.h>
#include <linux/mman.h>
#include <linux/highmem.h>
+#include <asm/page.h>
+#include <asm/io.h>
+#include <asm/pgtable.h>
#include <rtdm/rtdm_driver.h>
--
1.5.6.5
--
Gilles
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-11 12:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-11 12:40 [Xenomai-core] [PATCH] Reorder headers include directives Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.