]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: correct register usage in 64-bit syscall exit path
authorPaul Mackerras <paulus@samba.org>
Tue, 20 Dec 2005 04:38:47 +0000 (15:38 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 20 Dec 2005 04:38:47 +0000 (15:38 +1100)
commit3eb6f26bcd0d2ce53498deda988e68d663e1c9c2
tree2e52267600ebfe1f97cbab822143197d0a9edaa3
parent7116317dc9148d783846299fc80a7d377baa6dca
powerpc: correct register usage in 64-bit syscall exit path

Since we don't restore the volatile registers in the syscall exit
path, we need to make sure we don't leak any potentially interesting
values from the kernel to userspace.  This was already the case for
all except r11.  This makes it use r11 for an MSR value, so r11 will
have an (uninteresting) MSR value in it on return to userspace.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/entry_64.S