diff options
author | Matias Zabaljauregui <zabaljauregui@gmail.com> | 2009-03-18 17:38:35 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 13:25:25 +0200 |
commit | df1693abc42e34bbc4351e179dbe66c28a94efb8 (patch) | |
tree | b0cec44a3ace1fbc8377c73428daf64848b48907 /drivers/lguest/segments.c | |
parent | lguest: use KVM hypercalls (diff) | |
download | linux-df1693abc42e34bbc4351e179dbe66c28a94efb8.tar.xz linux-df1693abc42e34bbc4351e179dbe66c28a94efb8.zip |
lguest: use bool instead of int
Impact: clean up
Rusty told me, some time ago, that he had become a fan of "bool".
So, here are some replacements.
Signed-off-by: Matias Zabaljauregui <zabaljauregui at gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/segments.c')
-rw-r--r-- | drivers/lguest/segments.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/segments.c b/drivers/lguest/segments.c index ec6aa3f1c36b..4f15439b7f12 100644 --- a/drivers/lguest/segments.c +++ b/drivers/lguest/segments.c @@ -45,7 +45,7 @@ * "Task State Segment" which controls all kinds of delicate things. The * LGUEST_CS and LGUEST_DS entries are reserved for the Switcher, and the * the Guest can't be trusted to deal with double faults. */ -static int ignored_gdt(unsigned int num) +static bool ignored_gdt(unsigned int num) { return (num == GDT_ENTRY_TSS || num == GDT_ENTRY_LGUEST_CS |