Skip to content

Commit

Permalink
[PATCH] i386: clean up vDSO alignment padding
Browse files Browse the repository at this point in the history
This makes the vDSO use nops for all its padding around instructions,
rather than sometimes zeros, and nop-pads the end of the area containing
instructions to a 32-byte cache line, to keep text and data in separate
lines.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Roland McGrath authored and Linus Torvalds committed Sep 5, 2005
1 parent 56f1d5d commit 2a0694d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/i386/kernel/vsyscall-sigreturn.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

.text
.org __kernel_vsyscall+32
.org __kernel_vsyscall+32,0x90
.globl __kernel_sigreturn
.type __kernel_sigreturn,@function
__kernel_sigreturn:
Expand All @@ -35,6 +35,7 @@ __kernel_rt_sigreturn:
int $0x80
.LEND_rt_sigreturn:
.size __kernel_rt_sigreturn,.-.LSTART_rt_sigreturn
.balign 32
.previous

.section .eh_frame,"a",@progbits
Expand Down

0 comments on commit 2a0694d

Please sign in to comment.