debuggers.hg

view xen/arch/ia64/patch/linux-2.6.11/slab.h @ 4619:5b9e241131fb

bitkeeper revision 1.1329 (42661815u5WPq8d5f4_axi2xWheybA)

Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
author kaf24@firebug.cl.cam.ac.uk
date Wed Apr 20 08:51:33 2005 +0000 (2005-04-20)
parents 58efb3448933
children
line source
1 slab.h | 4 ++++
2 1 files changed, 4 insertions(+)
4 Index: linux-2.6.11/include/linux/slab.h
5 ===================================================================
6 --- linux-2.6.11.orig/include/linux/slab.h 2005-03-02 01:38:33.000000000 -0600
7 +++ linux-2.6.11/include/linux/slab.h 2005-03-19 14:35:19.301871922 -0600
8 @@ -91,7 +91,11 @@ static inline void *kmalloc(size_t size,
9 goto found; \
10 else \
11 i++;
12 +#ifdef XEN
13 +#include <linux/kmalloc_sizes.h>
14 +#else
15 #include "kmalloc_sizes.h"
16 +#endif
17 #undef CACHE
18 {
19 extern void __you_cannot_kmalloc_that_much(void);