[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [VMXASSIST] Some reports that macros do not get picked up by CPP
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 4c40bed66adeafc1bea38b7f9620223355b4f44e # Parent e2de39c56f92a15d782c650261044a3fde09c1fe [VMXASSIST] Some reports that macros do not get picked up by CPP if they are prefixed with $. Fix by placing macro uses in (). Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- tools/firmware/vmxassist/head.S | 2 +- tools/firmware/vmxassist/trap.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -r e2de39c56f92 -r 4c40bed66ade tools/firmware/vmxassist/head.S --- a/tools/firmware/vmxassist/head.S Thu Oct 19 17:01:51 2006 +0100 +++ b/tools/firmware/vmxassist/head.S Thu Oct 19 22:05:07 2006 +0100 @@ -59,7 +59,7 @@ _start16: /* go to protected mode */ movl %cr0, %eax - orl $CR0_PE, %eax + orl $(CR0_PE), %eax movl %eax, %cr0 data32 ljmp $0x08, $1f diff -r e2de39c56f92 -r 4c40bed66ade tools/firmware/vmxassist/trap.S --- a/tools/firmware/vmxassist/trap.S Thu Oct 19 17:01:51 2006 +0100 +++ b/tools/firmware/vmxassist/trap.S Thu Oct 19 22:05:07 2006 +0100 @@ -106,7 +106,7 @@ common_trap: /* common trap handler * pushl %es pushal - movl $DATA_SELECTOR, %eax /* make sure these are sane */ + movl $(DATA_SELECTOR), %eax /* make sure these are sane */ movl %eax, %ds movl %eax, %es movl %eax, %fs _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |