lkml.org 
[lkml]   [2010]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 03/49] memblock: No reason to include asm/memblock.h late
Date
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
include/linux/memblock.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index 86e7daf..4b69313 100644
--- a/include/linux/memblock.h
+++ b/include/linux/memblock.h
@@ -16,6 +16,8 @@
#include <linux/init.h>
#include <linux/mm.h>

+#include <asm/memblock.h>
+
#define MAX_MEMBLOCK_REGIONS 128

struct memblock_region {
@@ -82,8 +84,6 @@ memblock_end_pfn(struct memblock_type *type, unsigned long region_nr)
memblock_size_pages(type, region_nr);
}

-#include <asm/memblock.h>
-
#endif /* __KERNEL__ */

#endif /* _LINUX_MEMBLOCK_H */
--
1.6.4.2


\
 
 \ /
  Last update: 2010-07-07 00:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site