diff options
author | Borislav Petkov <bp@suse.de> | 2014-04-25 15:31:02 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-05-01 15:22:39 -0400 |
commit | d944c4eebcf4c0d5e5d9728fec110cbf0047ad7f (patch) | |
tree | 94240760600b3b1de6b6c95fe76b68a6990b2669 /tools/virtio/linux/kernel.h | |
parent | 5ac3e4b6d1d8fb911bb9c497126c51b02033a412 (diff) |
tools: Consolidate types.h
Combine all definitions into a common tools/include/linux/types.h and
kill the wild growth elsewhere. Move DECLARE_BITMAP to its proper
bitmap.h header.
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Link: http://lkml.kernel.org/n/tip-azczs7qcv6h9xek9od10hiv2@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/virtio/linux/kernel.h')
-rw-r--r-- | tools/virtio/linux/kernel.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h index fba705963968..1e8ce6979c1e 100644 --- a/tools/virtio/linux/kernel.h +++ b/tools/virtio/linux/kernel.h | |||
@@ -38,13 +38,6 @@ struct page { | |||
38 | 38 | ||
39 | #define __printf(a,b) __attribute__((format(printf,a,b))) | 39 | #define __printf(a,b) __attribute__((format(printf,a,b))) |
40 | 40 | ||
41 | typedef enum { | ||
42 | GFP_KERNEL, | ||
43 | GFP_ATOMIC, | ||
44 | __GFP_HIGHMEM, | ||
45 | __GFP_HIGH | ||
46 | } gfp_t; | ||
47 | |||
48 | #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) | 41 | #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) |
49 | 42 | ||
50 | extern void *__kmalloc_fake, *__kfree_ignore_start, *__kfree_ignore_end; | 43 | extern void *__kmalloc_fake, *__kfree_ignore_start, *__kfree_ignore_end; |