linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Nicholas Piggin" <npiggin@gmail.com>
To: "Michael Ellerman" <mpe@ellerman.id.au>, <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH] powerpc/64: Remove unused SYS_CALL_TABLE symbol
Date: Fri, 16 Sep 2022 11:11:43 +1000	[thread overview]
Message-ID: <CMXFCGO3971M.1KAV9C8T8F14P@bobo> (raw)
In-Reply-To: <20220913124545.2817825-1-mpe@ellerman.id.au>

On Tue Sep 13, 2022 at 10:45 PM AEST, Michael Ellerman wrote:
> In interrupt_64.S, formerly entry_64.S, there are two toc entries
> created for sys_call_table and compat_sys_call_table.
>
> These are no longer used, since the system call entry was converted from
> asm to C, so remove them.
>

Acked-by: Nicholas Piggin <npiggin@gmail.com>

> Fixes: 68b34588e202 ("powerpc/64/sycall: Implement syscall entry/exit logic in C")
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> ---
>  arch/powerpc/kernel/interrupt_64.S | 10 ----------
>  1 file changed, 10 deletions(-)
>
> diff --git a/arch/powerpc/kernel/interrupt_64.S b/arch/powerpc/kernel/interrupt_64.S
> index f9ee93e3a0d3..0093a6b6b1e1 100644
> --- a/arch/powerpc/kernel/interrupt_64.S
> +++ b/arch/powerpc/kernel/interrupt_64.S
> @@ -13,16 +13,6 @@
>  #include <asm/ppc_asm.h>
>  #include <asm/ptrace.h>
>  
> -	.section	".toc","aw"
> -SYS_CALL_TABLE:
> -	.tc sys_call_table[TC],sys_call_table
> -
> -#ifdef CONFIG_COMPAT
> -COMPAT_SYS_CALL_TABLE:
> -	.tc compat_sys_call_table[TC],compat_sys_call_table
> -#endif
> -	.previous
> -
>  	.align 7
>  
>  .macro DEBUG_SRR_VALID srr
> -- 
> 2.37.2


  reply	other threads:[~2022-09-16  1:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13 12:45 [PATCH] powerpc/64: Remove unused SYS_CALL_TABLE symbol Michael Ellerman
2022-09-16  1:11 ` Nicholas Piggin [this message]
2022-10-04 13:24 ` Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CMXFCGO3971M.1KAV9C8T8F14P@bobo \
    --to=npiggin@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).