summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Beck <felix.beck@de.ibm.com>2008-02-09 18:24:30 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-02-09 18:24:38 +0100
commitb90b34c6802865d07f482650eff82a4b38df6d79 (patch)
tree0018f1282e049621252c555e2724d13803000717
parent6d88f827d7c3e73d11a62fdabccca001aece7295 (diff)
[S390] zcrypt: Do not start ap poll thread per default
Do not start ap poll thread per default to increase perfomance with z/VM. Signed-off-by: Felix Beck <felix.beck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--drivers/s390/crypto/ap_bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c
index 67aaff3e668..d0c6fd3b1c1 100644
--- a/drivers/s390/crypto/ap_bus.c
+++ b/drivers/s390/crypto/ap_bus.c
@@ -61,9 +61,9 @@ module_param_named(domain, ap_domain_index, int, 0000);
MODULE_PARM_DESC(domain, "domain index for ap devices");
EXPORT_SYMBOL(ap_domain_index);
-static int ap_thread_flag = 1;
+static int ap_thread_flag = 0;
module_param_named(poll_thread, ap_thread_flag, int, 0000);
-MODULE_PARM_DESC(poll_thread, "Turn on/off poll thread, default is 1 (on).");
+MODULE_PARM_DESC(poll_thread, "Turn on/off poll thread, default is 0 (off).");
static struct device *ap_root_device = NULL;
static DEFINE_SPINLOCK(ap_device_lock);