x86, asm: Cleanup unnecssary macros in asm-offsets.c
authorStratos Psomadakis <psomas@cslab.ece.ntua.gr>
Fri, 25 Feb 2011 20:46:13 +0000 (22:46 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 26 Feb 2011 00:37:32 +0000 (16:37 -0800)
commit7bf04be8f48ceeeffa5b5a79734d6d6e0d59e5f8
treef1173ece23497f3b6e5af6e4cab6a26795124135
parent2b15cd96e5e93f9aa4f7041c91c1e7c344a62cbb
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>
arch/x86/kernel/asm-offsets.c
arch/x86/kernel/entry_32.S
arch/x86/kernel/head_32.S
arch/x86/xen/xen-head.S