diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-23 08:28:15 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-23 08:28:15 +0200 |
commit | 8243a470ec9a7e2ffea5f70539c468341100aef8 (patch) | |
tree | afa3038213763be835cdd014703968bc98e3e8cd /cryptodev_int.h | |
parent | 8383ca063d2473a87e585c20d80138d68d7d4dbf (diff) | |
download | kernel-crypto-8243a470ec9a7e2ffea5f70539c468341100aef8.tar.gz kernel-crypto-8243a470ec9a7e2ffea5f70539c468341100aef8.tar.xz kernel-crypto-8243a470ec9a7e2ffea5f70539c468341100aef8.zip |
Revert "initial support for userspace data."
This reverts commit e7828004e40592c8cffc9235f72440c802905e16.
Diffstat (limited to 'cryptodev_int.h')
-rw-r--r-- | cryptodev_int.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cryptodev_int.h b/cryptodev_int.h index d12fd4f80e7..a0d30731d40 100644 --- a/cryptodev_int.h +++ b/cryptodev_int.h @@ -24,17 +24,6 @@ extern int cryptodev_verbosity; -/* For zero copy */ -int __get_userbuf(uint8_t *addr, uint32_t len, int write, - int pgcount, struct page **pg, struct scatterlist *sg); -void release_user_pages(struct page **pg, int pagecount); - -/* last page - first page + 1 */ -#define PAGECOUNT(buf, buflen) \ - ((((unsigned long)(buf + buflen - 1) & PAGE_MASK) >> PAGE_SHIFT) - \ - (((unsigned long) buf & PAGE_MASK) >> PAGE_SHIFT) + 1) - - struct cipher_data { int init; /* 0 uninitialized */ |