lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <61305e9e-ed63-6915-709c-dd8797ff1fba@c-s.fr> Date: Tue, 24 May 2016 07:39:59 +0200 From: Christophe Leroy <christophe.leroy@....fr> To: Segher Boessenkool <segher@...nel.crashing.org> Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>, Paul Mackerras <paulus@...ba.org>, Michael Ellerman <mpe@...erman.id.au>, Scott Wood <oss@...error.net>, linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] powerpc: inline current_stack_pointer() Le 23/05/2016 à 22:22, Segher Boessenkool a écrit : > On Mon, May 23, 2016 at 10:46:02AM +0200, Christophe Leroy wrote: >> +static inline unsigned long current_stack_pointer(void) >> +{ >> + register unsigned long *ptr asm("r1"); >> + >> + return *ptr; >> +} > Register asm is only guaranteed to work as input to inline asm. NAK. > Does it mean that the following declaration in arch/powerpc/include/asm/paca.h is wrong too ? register struct paca_struct *local_paca asm("r13"); Christophe
Powered by blists - more mailing lists