aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/multicall.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-04-19 13:48:05 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-04-19 13:48:05 +0000
commit6779cb6602c384a4db0a211d1edd25ead7b35bf3 (patch)
treec2e9e04bd1233c9aad7fcaac64461ad14b116754 /xen/common/multicall.c
parent260de0800d3c642a3c96d5ebdafd964eef951e9b (diff)
downloadxen-6779cb6602c384a4db0a211d1edd25ead7b35bf3.tar.gz
xen-6779cb6602c384a4db0a211d1edd25ead7b35bf3.tar.bz2
xen-6779cb6602c384a4db0a211d1edd25ead7b35bf3.zip
bitkeeper revision 1.1327 (42650c157OdzpVLoIU2uHsYHltTfYg)
Remove unused VERIFY_READ and VERIFY_WRITE parameters from the access_ok, user-space memory check macros. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/multicall.c')
-rw-r--r--xen/common/multicall.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/common/multicall.c b/xen/common/multicall.c
index cbdf20b63e..c6515d7a9b 100644
--- a/xen/common/multicall.c
+++ b/xen/common/multicall.c
@@ -24,8 +24,7 @@ long do_multicall(multicall_entry_t *call_list, unsigned int nr_calls)
return -EINVAL;
}
- if ( unlikely(!array_access_ok(VERIFY_WRITE, call_list,
- nr_calls, sizeof(*call_list))) )
+ if ( unlikely(!array_access_ok(call_list, nr_calls, sizeof(*call_list))) )
{
DPRINTK("Bad memory range %p for %u*%u bytes.\n",
call_list, nr_calls, sizeof(*call_list));