summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/xen-head.S
diff options
context:
space:
mode:
authorStratos Psomadakis2011-02-25 21:46:13 +0100
committerH. Peter Anvin2011-02-26 01:37:32 +0100
commit7bf04be8f48ceeeffa5b5a79734d6d6e0d59e5f8 (patch)
treef1173ece23497f3b6e5af6e4cab6a26795124135 /arch/x86/xen/xen-head.S
parentx86, system.h: Drop unused __SAVE/__RESTORE macros (diff)
downloadkernel-qcow2-linux-7bf04be8f48ceeeffa5b5a79734d6d6e0d59e5f8.tar.gz
kernel-qcow2-linux-7bf04be8f48ceeeffa5b5a79734d6d6e0d59e5f8.tar.xz
kernel-qcow2-linux-7bf04be8f48ceeeffa5b5a79734d6d6e0d59e5f8.zip
x86, asm: Cleanup unnecssary macros in asm-offsets.c
PAGE_SIZE_asm, PAGE_SHIFT_asm, THREAD_SIZE_asm can be safely removed from asm-offsets.c, and be replaced by their non-'_asm' counterparts in the code that uses them, since the _AC macro defined in include/linux/const.h makes PAGE_SIZE/PAGE_SHIFT/THREAD_SIZE work with as. Signed-off-by: Stratos Psomadakis <psomas@cslab.ece.ntua.gr> LKML-Reference: <1298666774-17646-2-git-send-email-psomas@cslab.ece.ntua.gr> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/xen/xen-head.S')
-rw-r--r--arch/x86/xen/xen-head.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/xen-head.S b/arch/x86/xen/xen-head.S
index 1a5ff24e29c0..aaa7291c9259 100644
--- a/arch/x86/xen/xen-head.S
+++ b/arch/x86/xen/xen-head.S
@@ -28,9 +28,9 @@ ENTRY(startup_xen)
__FINIT
.pushsection .text
- .align PAGE_SIZE_asm
+ .align PAGE_SIZE
ENTRY(hypercall_page)
- .skip PAGE_SIZE_asm
+ .skip PAGE_SIZE
.popsection
ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "linux")