LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: cuigaosheng <cuigaosheng1@huawei.com>
To: LEROY Christophe <christophe.leroy2@cs-soprasteria.com>,
	"mpe@ellerman.id.au" <mpe@ellerman.id.au>,
	"npiggin@gmail.com" <npiggin@gmail.com>,
	"naveen@kernel.org" <naveen@kernel.org>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
	"david@redhat.com" <david@redhat.com>,
	"Liam.Howlett@oracle.com" <Liam.Howlett@oracle.com>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	"bgray@linux.ibm.com" <bgray@linux.ibm.com>,
	"joel@jms.id.au" <joel@jms.id.au>,
	"bhelgaas@google.com" <bhelgaas@google.com>
Cc: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH -next 1/4] powerpc: Remove obsoleted declaration for _get_SP
Date: Thu, 22 Aug 2024 23:25:22 +0800	[thread overview]
Message-ID: <48668764-8a8f-98f8-909a-8406207499d7@huawei.com> (raw)
In-Reply-To: <1c4f7f77-ad18-4956-b794-98b452d0780c@cs-soprasteria.com>


On 2024/8/22 22:16, LEROY Christophe wrote:
>
> Le 22/08/2024 à 15:06, Gaosheng Cui a écrit :
>> [Vous ne recevez pas souvent de courriers de cuigaosheng1@huawei.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
>>
>> The _get_SP() have been removed since
>> commit 917f0af9e5a9 ("powerpc: Remove arch/ppc and include/asm-ppc"),
>> and now it is useless, so remove it.
> Not sure that commit is relevant since it relates to arch/ppc/ not
> arch/powerpc/
>
> For arch/powerpc/ I think it is commit f4db196717c6 ("[POWERPC] Remove
> _get_SP")

In commit 1da177e4c3f4, linux implemented the _get_SP function in misc.S
and declared and use it in arch/ppc/kernel/process.c, the declaration
of _get_SP in arch/powerpc/kernel/process.c was introduced in commit
14cf11af6cf608, but at this time arch/powerpc/kernel/misc_32.S has not
been introduced yet,so I think the declaration belongs to _get_SP in the
misc.S,it have been removed since commit 917f0af9e5a9.

In addition, commit f4db196717c6 is v2.6.22 but 917f0af9e5a9 is v2.6.27, so I think
it is commit 917f0af9e5a9.

anything others?thanks very much.

>> Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
>> ---
>>    arch/powerpc/kernel/process.c | 2 --
>>    1 file changed, 2 deletions(-)
>>
>> diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
>> index 3b506d4c55f3..e7b70c2cc001 100644
>> --- a/arch/powerpc/kernel/process.c
>> +++ b/arch/powerpc/kernel/process.c
>> @@ -72,8 +72,6 @@
>>    #define TM_DEBUG(x...) do { } while(0)
>>    #endif
>>
>> -extern unsigned long _get_SP(void);
>> -
>>    #ifdef CONFIG_PPC_TRANSACTIONAL_MEM
>>    /*
>>     * Are we running in "Suspend disabled" mode? If so we have to block any
>> --
>> 2.25.1
>>


  reply	other threads:[~2024-08-22 15:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22 13:06 [PATCH -next 0/4] Remove obsoleted declaration for powerpc Gaosheng Cui
2024-08-22 13:06 ` [PATCH -next 1/4] powerpc: Remove obsoleted declaration for _get_SP Gaosheng Cui
2024-08-22 14:16   ` LEROY Christophe
2024-08-22 15:25     ` cuigaosheng [this message]
2024-08-23 16:40       ` Christophe Leroy
2024-08-30 10:41       ` Michael Ellerman
2024-08-22 13:06 ` [PATCH -next 2/4] powerpc: Remove obsoleted declaration for maple_calibrate_decr Gaosheng Cui
2024-08-22 13:06 ` [PATCH -next 3/4] powerpc: Remove obsoleted declaration for pas_pci_irq_fixup Gaosheng Cui
2024-08-22 13:06 ` [PATCH -next 4/4] powerpc: Remove obsoleted declarations for use_cop and drop_cop Gaosheng Cui
2024-09-06 11:52 ` [PATCH -next 0/4] Remove obsoleted declaration for powerpc 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=48668764-8a8f-98f8-909a-8406207499d7@huawei.com \
    --to=cuigaosheng1@huawei.com \
    --cc=Liam.Howlett@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=bgray@linux.ibm.com \
    --cc=bhelgaas@google.com \
    --cc=christophe.leroy2@cs-soprasteria.com \
    --cc=david@redhat.com \
    --cc=joel@jms.id.au \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=naveen@kernel.org \
    --cc=npiggin@gmail.com \
    --cc=tglx@linutronix.de \
    /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