aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-02-03 15:09:04 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-03-20 15:34:18 -0400
commit8e6f7c23c135b13f3adf90906fac7edd325bb9af (patch)
treedb6d3af5db92b5b70243963440fbe2ee83a442c6 /include/xen
parent9846ff10af12f9e7caac696737db6c990592a74a (diff)
downloadkernel_goldelico_gta04-8e6f7c23c135b13f3adf90906fac7edd325bb9af.zip
kernel_goldelico_gta04-8e6f7c23c135b13f3adf90906fac7edd325bb9af.tar.gz
kernel_goldelico_gta04-8e6f7c23c135b13f3adf90906fac7edd325bb9af.tar.bz2
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/xen')
-rw-r--r--include/xen/tmem.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/xen/tmem.h b/include/xen/tmem.h
index 82e2c83..591550a 100644
--- a/include/xen/tmem.h
+++ b/include/xen/tmem.h
@@ -1,5 +1,9 @@
#ifndef _XEN_TMEM_H
#define _XEN_TMEM_H
+
+#include <linux/types.h>
+
/* defined in drivers/xen/tmem.c */
-extern int tmem_enabled;
+extern bool tmem_enabled;
+
#endif /* _XEN_TMEM_H */