blob: e8195b353a1501f2531e054463a7885911d63325 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifdef __XEN__
#include <xen/cache.h>
#include <xen/decompress.h>
#include <xen/init.h>
#include <xen/string.h>
#include <xen/types.h>
#include <xen/xmalloc.h>
#define malloc xmalloc_bytes
#define free xfree
#define large_malloc xmalloc_bytes
#define large_free xfree
#else
#undef __init /* tools/libs/guest/xg_private.h has its own one */
#define __init
#define __initdata
#define large_malloc malloc
#define large_free free
#endif
|