summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorRusty Russell2012-01-13 00:02:18 +0100
committerRusty Russell2012-01-13 00:02:18 +0100
commit476bc0015bf09dad39d36a8b19f76f0c181d1ec9 (patch)
tree054f322e639affab256cf7849f59f1dcdf117094 /arch/x86/kvm/mmu.c
parentmodule_param: make bool parameters really bool (core code) (diff)
downloadkernel-qcow2-linux-476bc0015bf09dad39d36a8b19f76f0c181d1ec9.tar.gz
kernel-qcow2-linux-476bc0015bf09dad39d36a8b19f76f0c181d1ec9.tar.xz
kernel-qcow2-linux-476bc0015bf09dad39d36a8b19f76f0c181d1ec9.zip
module_param: make bool parameters really bool (arch)
module_param(bool) used to counter-intuitively take an int. In fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy trick. It's time to remove the int/unsigned int option. For this version it'll simply give a warning, but it'll break next kernel version. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 2a2a9b40db19..224b02c3cda9 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -74,7 +74,7 @@ enum {
#endif
#ifdef MMU_DEBUG
-static int dbg = 0;
+static bool dbg = 0;
module_param(dbg, bool, 0644);
#endif