aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/multicall.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-01-27 16:16:52 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-01-27 16:16:52 +0100
commit135eb3225f67f5bf76610c3f2d5f395a26efb547 (patch)
tree817e1ef73f09588540e016bc2fa721ee7a6f41b7 /xen/common/multicall.c
parentda322cd0ddfd79757f19f29911c15b36f365fe4a (diff)
downloadxen-135eb3225f67f5bf76610c3f2d5f395a26efb547.tar.gz
xen-135eb3225f67f5bf76610c3f2d5f395a26efb547.tar.bz2
xen-135eb3225f67f5bf76610c3f2d5f395a26efb547.zip
Uniform definition of do_iret prototype. Use 'struct foo'
in various places instead of 'foo_t'. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/multicall.c')
-rw-r--r--xen/common/multicall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/multicall.c b/xen/common/multicall.c
index a811f68266..dd23a4689b 100644
--- a/xen/common/multicall.c
+++ b/xen/common/multicall.c
@@ -15,7 +15,7 @@
struct mc_state mc_state[NR_CPUS];
-long do_multicall(multicall_entry_t *call_list, unsigned int nr_calls)
+long do_multicall(struct multicall_entry *call_list, unsigned int nr_calls)
{
struct mc_state *mcs = &mc_state[smp_processor_id()];
unsigned int i;
@@ -51,7 +51,7 @@ long do_multicall(multicall_entry_t *call_list, unsigned int nr_calls)
* Deliberately corrupt the contents of the multicall structure.
* The caller must depend only on the 'result' field on return.
*/
- multicall_entry_t corrupt;
+ struct multicall_entry corrupt;
memset(&corrupt, 0xAA, sizeof(corrupt));
(void)__copy_to_user(&call_list[i], &corrupt, sizeof(corrupt));
}