ia64/xen-unstable

view tools/libaio/src/raw_syscall.c @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents 3352b5dc6a7c
children
line source
1 #include "syscall.h"
3 #if defined(__ia64__)
4 /* based on code from glibc by Jes Sorensen */
5 __asm__(".text\n"
6 ".globl __ia64_aio_raw_syscall\n"
7 ".proc __ia64_aio_raw_syscall\n"
8 "__ia64_aio_raw_syscall:\n"
9 "alloc r2=ar.pfs,1,0,8,0\n"
10 "mov r15=r32\n"
11 "break 0x100000\n"
12 ";;"
13 "br.ret.sptk.few b0\n"
14 ".size __ia64_aio_raw_syscall, . - __ia64_aio_raw_syscall\n"
15 ".endp __ia64_aio_raw_syscall"
16 );
17 #endif
19 ;