summaryrefslogtreecommitdiffstats
path: root/ncr.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-24 20:17:51 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-24 20:17:51 +0200
commit5c340eee0020717c793fd9d7e74e5f065225a8f3 (patch)
treea05a7e0bfc55a962461b63fbe1dda4232734b207 /ncr.c
parent014124ef6c43f2eadbf07318c03691c5305b6183 (diff)
downloadkernel-crypto-5c340eee0020717c793fd9d7e74e5f065225a8f3.tar.gz
kernel-crypto-5c340eee0020717c793fd9d7e74e5f065225a8f3.tar.xz
kernel-crypto-5c340eee0020717c793fd9d7e74e5f065225a8f3.zip
Provide file_operations::unlocked_ioctl.
file_operations::ioctl is no longer supported in recent kernels. compat_ioctl is not running under the BKL, so the code has to do its own locking anyway (although not everything currently does).
Diffstat (limited to 'ncr.c')
-rw-r--r--ncr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr.c b/ncr.c
index 81e3fa32cef..615b29d0f7d 100644
--- a/ncr.c
+++ b/ncr.c
@@ -116,7 +116,7 @@ struct ncr_master_key_st st;
return 0;
}
-int
+long
ncr_ioctl(struct ncr_lists *lst, unsigned int cmd, unsigned long arg_)
{
void __user *arg = (void __user *)arg_;