projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b6b4a
)
xen/x86: Drop mode-selecting ifdefs in startup_xen()
author
Boris Ostrovsky
<boris.ostrovsky@oracle.com>
Fri, 26 Feb 2016 19:02:37 +0000
(14:02 -0500)
committer
David Vrabel
<david.vrabel@citrix.com>
Thu, 3 Mar 2016 16:20:22 +0000
(16:20 +0000)
Use asm/asm.h macros instead.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/xen-head.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/xen/xen-head.S
b/arch/x86/xen/xen-head.S
index 5c63d2d955bbaf715488da57433b0d8266ba3f32..de93b20fa0d28aaffaf91b327a7ab8a0bc1a70f0 100644
(file)
--- a/
arch/x86/xen/xen-head.S
+++ b/
arch/x86/xen/xen-head.S
@@
-47,13
+47,9
@@
ENTRY(startup_xen)
shr $__ASM_SEL(2, 3), %_ASM_CX
rep __ASM_SIZE(stos)
-#ifdef CONFIG_X86_32
- mov %esi,xen_start_info
- mov $init_thread_union+THREAD_SIZE,%esp
-#else
- mov %rsi,xen_start_info
- mov $init_thread_union+THREAD_SIZE,%rsp
-#endif
+ mov %_ASM_SI, xen_start_info
+ mov $init_thread_union+THREAD_SIZE, %_ASM_SP
+
jmp xen_start_kernel
__FINIT
This page took
0.024806 seconds
and
5
git commands to generate.