Thread (3 messages) 3 messages, 2 authors, 2014-12-15

Re: [PATCH] powerpc/kernel: Make syscall_exit a local label

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2014-12-15 03:03:23

On Fri, 2014-12-05 at 10:27 +0000, David Laight wrote:
From: Michael Ellerman
quoted
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
index 0905c8da90f1..d8828e50dbef 100644
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/kernel/entry_64.S
@@ -178,7 +178,7 @@ system_call:			/* label this so stack traces look sane */
 	mtctr   r12
 	bctrl			/* Call handler */
Why not add a 'nop' here instead?
Because we'd rather not add extra instructions to the syscall path unless we
really need to. A local label seems like the preferable solution to me.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help