diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-02-03 10:09:04 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-03-20 15:34:18 -0400 |
commit | 8e6f7c23c135b13f3adf90906fac7edd325bb9af (patch) | |
tree | db6d3af5db92b5b70243963440fbe2ee83a442c6 /include | |
parent | 9846ff10af12f9e7caac696737db6c990592a74a (diff) |
xen/tmem: cleanup
Use 'bool' for boolean variables. Do proper section placement.
Eliminate an unnecessary export.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xen/tmem.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/xen/tmem.h b/include/xen/tmem.h index 82e2c83a32f5..591550a22ac7 100644 --- a/include/xen/tmem.h +++ b/include/xen/tmem.h | |||
@@ -1,5 +1,9 @@ | |||
1 | #ifndef _XEN_TMEM_H | 1 | #ifndef _XEN_TMEM_H |
2 | #define _XEN_TMEM_H | 2 | #define _XEN_TMEM_H |
3 | |||
4 | #include <linux/types.h> | ||
5 | |||
3 | /* defined in drivers/xen/tmem.c */ | 6 | /* defined in drivers/xen/tmem.c */ |
4 | extern int tmem_enabled; | 7 | extern bool tmem_enabled; |
8 | |||
5 | #endif /* _XEN_TMEM_H */ | 9 | #endif /* _XEN_TMEM_H */ |