diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-02-03 15:09:04 +0000 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-03-20 15:34:18 -0400 |
commit | 8e6f7c23c135b13f3adf90906fac7edd325bb9af (patch) | |
tree | db6d3af5db92b5b70243963440fbe2ee83a442c6 /include/xen | |
parent | 9846ff10af12f9e7caac696737db6c990592a74a (diff) | |
download | lwn-8e6f7c23c135b13f3adf90906fac7edd325bb9af.tar.gz lwn-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')
-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 @@ #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 */ |