aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/microcode.c
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-02-03 09:11:33 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-02-03 09:11:33 +0000
commitff7e4d5f080bef4156d5bf605746028e1e1d2690 (patch)
tree549bf0011989a39f0d47820b68edb667ad115cf9 /xen/arch/x86/microcode.c
parentde60e480e06771e5a9f6da076b2008c20ee17094 (diff)
downloadxen-ff7e4d5f080bef4156d5bf605746028e1e1d2690.tar.gz
xen-ff7e4d5f080bef4156d5bf605746028e1e1d2690.tar.bz2
xen-ff7e4d5f080bef4156d5bf605746028e1e1d2690.zip
bitkeeper revision 1.1159.212.76 (4201eac5AlEp4jSQYKA8-oSf0N15pQ)
Add xmalloc_bytes() to the allocator API. Signed-off-by: keir.fraser@cl.cam.ac.uk
Diffstat (limited to 'xen/arch/x86/microcode.c')
-rw-r--r--xen/arch/x86/microcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/microcode.c b/xen/arch/x86/microcode.c
index aa2966688e..d811e7ed70 100644
--- a/xen/arch/x86/microcode.c
+++ b/xen/arch/x86/microcode.c
@@ -84,7 +84,7 @@
#define DECLARE_MUTEX(_m) spinlock_t _m = SPIN_LOCK_UNLOCKED
#define down(_m) spin_lock(_m)
#define up(_m) spin_unlock(_m)
-#define vmalloc(_s) ((void *)xmalloc(u8[_s]))
+#define vmalloc(_s) xmalloc_bytes(_s)
#define vfree(_p) xfree(_p)
#define num_online_cpus() smp_num_cpus
static inline int on_each_cpu(