|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Make slab.h not pull in other header files.
ChangeSet 1.1430, 2005/05/04 11:15:01+01:00, cl349@xxxxxxxxxxxxxxxxxxxx
Make slab.h not pull in other header files.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
arch/x86/mtrr/generic.c | 2 +-
include/xen/slab.h | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff -Nru a/xen/arch/x86/mtrr/generic.c b/xen/arch/x86/mtrr/generic.c
--- a/xen/arch/x86/mtrr/generic.c 2005-05-05 07:03:00 -04:00
+++ b/xen/arch/x86/mtrr/generic.c 2005-05-05 07:03:00 -04:00
@@ -1,8 +1,8 @@
/* This only handles 32bit MTRR on 32bit hosts. This is strictly wrong
because MTRRs can span upto 40 bits (36bits on most modern x86) */
#include <xen/init.h>
-#include <xen/slab.h>
#include <xen/mm.h>
+#include <xen/slab.h>
#include <asm/io.h>
#include <asm/mtrr.h>
#include <asm/msr.h>
diff -Nru a/xen/include/xen/slab.h b/xen/include/xen/slab.h
--- a/xen/include/xen/slab.h 2005-05-05 07:03:00 -04:00
+++ b/xen/include/xen/slab.h 2005-05-05 07:03:00 -04:00
@@ -10,10 +10,6 @@
#else
-#include <xen/mm.h>
-#include <xen/cache.h>
-#include <xen/types.h>
-
/* Allocate space for typed object. */
#define xmalloc(_type) ((_type *)_xmalloc(sizeof(_type), __alignof__(_type)))
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Make slab.h not pull in other header files.,
BitKeeper Bot <=
|
|
|
|
|