powerpc:entry_32: correct the path and function name in the comment
PATCH 1/1 powerpc:entry_32: correct the path and function name in the comment
Update the comment for file's directory and function name changed.
--- arch/powerpc/kernel/entry_32.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/kernel/entry_32.S +2 -2
@@ -696,8 +696,8 @@ handle_dabr_fault: * to the "_switch" path. If you change this , you'll have to * change the fork code also. * - * The code which creates the new task context is in 'copy_thread' - * in arch/ppc/kernel/process.c + * The code which creates the new task context is in 'copy_thread_tls' + * in arch/powerpc/kernel/process.c */ _GLOBAL(_switch) stwu r1,-INT_FRAME_SIZE(r1)
Signature · 1 line
2.12.3
Le 07/08/2020 à 12:19, chenzefeng a écrit :
Quoted 15 lines
Update the comment for file's directory and function name changed.
Fixes facd04a904ff ("powerpc: convert to copy_thread_tls")Fixes 14cf11af6cf6 ("powerpc: Merge enough to start building in arch/powerpc.")Signed-off-by chenzefeng <[email protected]>--- arch/powerpc/kernel/entry_32.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/powerpc/kernel/entry_32.S +0
-0
arch/powerpc/kernel/entry_32.S handle_dabr_fault: · line 700
Quoted 7 lines
arch/powerpc/kernel/entry_32.S +2
-2@@ -696,8 +696,8 @@ handle_dabr_fault: * to the "_switch" path. If you change this , you'll have to * change the fork code also. * - * The code which creates the new task context is in 'copy_thread' - * in arch/ppc/kernel/process.c + * The code which creates the new task context is in 'copy_thread_tls' + * in arch/powerpc/kernel/process.c
Does it matters at all where the function is ? I'm sure people can find it themselves.
Christophe
Quoted 4 lines
arch/powerpc/kernel/entry_32.S +0
-0*/ _GLOBAL(_switch) stwu r1,-INT_FRAME_SIZE(r1)
Le 07/08/2020 à 12:19, chenzefeng a écrit :
Quoted 1 line
Update the comment for file's directory and function name changed.
The function name changed again with commit 714acdbd1c94 ("arch: rename copy_thread_tls() back to copy_thread()")
Please update the patch to just drop the file name. Users are able to find where the function is by themselves.
Thanks
Christophe
Quoted 24 lines
Fixes facd04a904ff ("powerpc: convert to copy_thread_tls")Fixes 14cf11af6cf6 ("powerpc: Merge enough to start building in arch/powerpc.")Signed-off-by chenzefeng <[email protected]>--- arch/powerpc/kernel/entry_32.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/powerpc/kernel/entry_32.S +2
-2@@ -696,8 +696,8 @@ handle_dabr_fault: * to the "_switch" path. If you change this , you'll have to * change the fork code also. * - * The code which creates the new task context is in 'copy_thread' - * in arch/ppc/kernel/process.c + * The code which creates the new task context is in 'copy_thread_tls' + * in arch/powerpc/kernel/process.c */ _GLOBAL(_switch) stwu r1,-INT_FRAME_SIZE(r1)