kernel-hacking-2024-linux-s.../arch/powerpc
Paul Mackerras 1c9bb1a01a [POWERPC] Fix register save area alignment for swapcontext syscall
For 32-bit processes, the getcontext side of the swapcontext system
call (i.e. the saving of the context when the first argument is
non-NULL) has to set the ctx->uc_mcontext.uc_regs pointer to the place
where it saves the registers.  Which it does, but it doesn't ensure
that the pointer is 16-byte aligned.  16-byte alignment is needed
because the Altivec/VMX registers are saved in there, and they need to
be on a 16-byte boundary.

This fixes it by ensuring the appropriate alignment of the pointer.
This issue was pointed out by Jakub Jelinek.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-20 16:37:49 +11:00
..
boot [POWERPC] Fix build of cell zImage.initrd 2006-12-20 16:37:48 +11:00
configs [POWERPC] cell: update cell_defconfig 2006-12-19 15:35:35 +01:00
kernel [POWERPC] Fix register save area alignment for swapcontext syscall 2006-12-20 16:37:49 +11:00
lib
math-emu
mm [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
oprofile
platforms [POWERPC] Probe Efika platform before CHRP. 2006-12-20 16:37:48 +11:00
sysdev Merge branch 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc 2006-12-11 16:31:42 +11:00
xmon [POWERPC] Generic BUG for powerpc 2006-12-11 16:35:07 +11:00
.gitignore
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-12-11 18:24:58 -08:00
Kconfig.debug
Makefile