diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 20:17:51 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 20:17:51 +0200 |
commit | 5c340eee0020717c793fd9d7e74e5f065225a8f3 (patch) | |
tree | a05a7e0bfc55a962461b63fbe1dda4232734b207 /ncr-int.h | |
parent | 014124ef6c43f2eadbf07318c03691c5305b6183 (diff) | |
download | cryptodev-linux-5c340eee0020717c793fd9d7e74e5f065225a8f3.tar.gz cryptodev-linux-5c340eee0020717c793fd9d7e74e5f065225a8f3.tar.xz cryptodev-linux-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-int.h')
-rw-r--r-- | ncr-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ struct ncr_lists { void* ncr_init_lists(void); void ncr_deinit_lists(struct ncr_lists *lst); -int ncr_ioctl(struct ncr_lists *lst, unsigned int cmd, unsigned long arg); +long ncr_ioctl(struct ncr_lists *lst, unsigned int cmd, unsigned long arg); /* key derivation */ int ncr_key_derive(struct ncr_lists *lst, void __user* arg); |