From: YueHaibing <yuehaibing@huawei.com> To: <mpe@ellerman.id.au>, <benh@kernel.crashing.org>, <paulus@samba.org>, <haren@linux.ibm.com>, <dave.hansen@linux.intel.com>, <npiggin@gmail.com> Cc: <linuxppc-dev@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>, YueHaibing <yuehaibing@huawei.com> Subject: [PATCH -next] powerpc: Remove unneeded inline functions Date: Fri, 17 Jul 2020 19:27:14 +0800 [thread overview] Message-ID: <20200717112714.19304-1-yuehaibing@huawei.com> (raw) In-Reply-To: <20200715031939.31968-1-yuehaibing@huawei.com> Both of those functions are only called from 64-bit only code, so the stubs should not be needed at all. Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- arch/powerpc/include/asm/mmu_context.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/mmu_context.h b/arch/powerpc/include/asm/mmu_context.h index 1a474f6b1992..7f3658a97384 100644 --- a/arch/powerpc/include/asm/mmu_context.h +++ b/arch/powerpc/include/asm/mmu_context.h @@ -218,8 +218,6 @@ static inline void inc_mm_active_cpus(struct mm_struct *mm) { } static inline void dec_mm_active_cpus(struct mm_struct *mm) { } static inline void mm_context_add_copro(struct mm_struct *mm) { } static inline void mm_context_remove_copro(struct mm_struct *mm) { } -static inline void mm_context_add_vas_windows(struct mm_struct *mm) { } -static inline void mm_context_remove_vas_windows(struct mm_struct *mm) { } #endif -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: YueHaibing <yuehaibing@huawei.com> To: <mpe@ellerman.id.au>, <benh@kernel.crashing.org>, <paulus@samba.org>, <haren@linux.ibm.com>, <dave.hansen@linux.intel.com>, <npiggin@gmail.com> Cc: YueHaibing <yuehaibing@huawei.com>, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH -next] powerpc: Remove unneeded inline functions Date: Fri, 17 Jul 2020 19:27:14 +0800 [thread overview] Message-ID: <20200717112714.19304-1-yuehaibing@huawei.com> (raw) In-Reply-To: <20200715031939.31968-1-yuehaibing@huawei.com> Both of those functions are only called from 64-bit only code, so the stubs should not be needed at all. Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- arch/powerpc/include/asm/mmu_context.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/mmu_context.h b/arch/powerpc/include/asm/mmu_context.h index 1a474f6b1992..7f3658a97384 100644 --- a/arch/powerpc/include/asm/mmu_context.h +++ b/arch/powerpc/include/asm/mmu_context.h @@ -218,8 +218,6 @@ static inline void inc_mm_active_cpus(struct mm_struct *mm) { } static inline void dec_mm_active_cpus(struct mm_struct *mm) { } static inline void mm_context_add_copro(struct mm_struct *mm) { } static inline void mm_context_remove_copro(struct mm_struct *mm) { } -static inline void mm_context_add_vas_windows(struct mm_struct *mm) { } -static inline void mm_context_remove_vas_windows(struct mm_struct *mm) { } #endif -- 2.17.1
next prev parent reply other threads:[~2020-07-17 11:29 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-15 3:19 [PATCH] powerpc: Fix inconsistent function names YueHaibing 2020-07-15 3:19 ` YueHaibing 2020-07-15 3:54 ` Michael Ellerman 2020-07-15 3:54 ` Michael Ellerman 2020-07-17 11:27 ` YueHaibing [this message] 2020-07-17 11:27 ` [PATCH -next] powerpc: Remove unneeded inline functions YueHaibing 2020-07-24 13:25 ` 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=20200717112714.19304-1-yuehaibing@huawei.com \ --to=yuehaibing@huawei.com \ --cc=benh@kernel.crashing.org \ --cc=dave.hansen@linux.intel.com \ --cc=haren@linux.ibm.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linuxppc-dev@lists.ozlabs.org \ --cc=mpe@ellerman.id.au \ --cc=npiggin@gmail.com \ --cc=paulus@samba.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.