summaryrefslogtreecommitdiffstats
path: root/include/xen/tmem.h
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-02-03 16:09:04 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-03-20 20:34:18 +0100
commit8e6f7c23c135b13f3adf90906fac7edd325bb9af (patch)
treedb6d3af5db92b5b70243963440fbe2ee83a442c6 /include/xen/tmem.h
parentxen: support pirq_eoi_map (diff)
downloadlinux-8e6f7c23c135b13f3adf90906fac7edd325bb9af.tar.xz
linux-8e6f7c23c135b13f3adf90906fac7edd325bb9af.zip
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/tmem.h')
-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 82e2c83a32f5..591550a22ac7 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 */