ia64/xen-unstable

view xen/arch/ia64/xen/idle0_task.c @ 9768:63af1c14fa18

[IA64] missed chunk of Kevin's hypercall cleanup patch

Missed this chunk of Kevin's patch when merging with dom0vp changes

Signed-off-by Kevin Tian <kevin.tian@intel.com>
author awilliam@xenbuild.aw
date Tue Apr 25 22:30:07 2006 -0600 (2006-04-25)
parents bdb08c9ef3d1
children fd56e24b07c8
line source
1 #include <xen/config.h>
2 #include <xen/sched.h>
3 #include <asm/desc.h>
5 #define IDLE_VCPU(_v) \
6 { \
7 processor: 0, \
8 domain: 0 \
9 }
11 /*
12 * Initial task structure.
13 *
14 * We need to make sure that this is properly aligned due to the way process stacks are
15 * handled. This is done by having a special ".data.init_task" section...
16 */
17 union {
18 struct {
19 struct vcpu task;
20 } s;
21 unsigned long stack[KERNEL_STACK_SIZE/sizeof (unsigned long)];
22 } init_task_mem asm ("init_task") __attribute__((section(".data.init_task"))) = {{
23 .task = IDLE_VCPU(init_task_mem.s.task)
24 }};
26 EXPORT_SYMBOL(init_task);