* [PATCH -next] arm64: Fix redefinition of init_new_context()
@ 2020-10-12 14:10 Qian Cai
2020-10-12 19:26 ` Nick Desaulniers
2020-10-27 18:32 ` Qian Cai
0 siblings, 2 replies; 3+ messages in thread
From: Qian Cai @ 2020-10-12 14:10 UTC (permalink / raw)
To: Arnd Bergmann, Will Deacon
Cc: Nicholas Piggin, Jean-Philippe Brucker, Catalin Marinas,
Stephen Rothwell, linux-arm-kernel, linux-arch,
Linux Next Mailing List, Linux Kernel Mailing List
The linux-next commit c870baeede75 ("asm-generic: add generic MMU
versions of mmu context functions") missed a case in the arm64/for-next
branch.
Signed-off-by: Qian Cai <cai@redhat.com>
---
arch/arm64/include/asm/mmu_context.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/include/asm/mmu_context.h b/arch/arm64/include/asm/mmu_context.h
index da5f146e665b..cd5c33a50469 100644
--- a/arch/arm64/include/asm/mmu_context.h
+++ b/arch/arm64/include/asm/mmu_context.h
@@ -176,6 +176,7 @@ static inline void cpu_replace_ttbr1(pgd_t *pgdp)
*/
void check_and_switch_context(struct mm_struct *mm);
+#define init_new_context init_new_context
static inline int
init_new_context(struct task_struct *tsk, struct mm_struct *mm)
{
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] arm64: Fix redefinition of init_new_context()
2020-10-12 14:10 [PATCH -next] arm64: Fix redefinition of init_new_context() Qian Cai
@ 2020-10-12 19:26 ` Nick Desaulniers
2020-10-27 18:32 ` Qian Cai
1 sibling, 0 replies; 3+ messages in thread
From: Nick Desaulniers @ 2020-10-12 19:26 UTC (permalink / raw)
To: cai
Cc: arnd, catalin.marinas, jean-philippe, linux-arch,
linux-arm-kernel, linux-kernel, linux-next, npiggin, sfr, will,
Nick Desaulniers
Our CI went red for -next on arm64 due to c870baeede75. Thanks for sending a
fix.
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
https://lore.kernel.org/linux-next/20201012141032.6333-1-cai@redhat.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] arm64: Fix redefinition of init_new_context()
2020-10-12 14:10 [PATCH -next] arm64: Fix redefinition of init_new_context() Qian Cai
2020-10-12 19:26 ` Nick Desaulniers
@ 2020-10-27 18:32 ` Qian Cai
1 sibling, 0 replies; 3+ messages in thread
From: Qian Cai @ 2020-10-27 18:32 UTC (permalink / raw)
To: Arnd Bergmann, Stephen Rothwell
Cc: Nicholas Piggin, Jean-Philippe Brucker, Catalin Marinas,
Will Deacon, linux-arm-kernel, linux-arch,
Linux Next Mailing List, Linux Kernel Mailing List,
Nick Desaulniers
On Mon, 2020-10-12 at 10:10 -0400, Qian Cai wrote:
> The linux-next commit c870baeede75 ("asm-generic: add generic MMU
> versions of mmu context functions") missed a case in the arm64/for-next
> branch.
>
> Signed-off-by: Qian Cai <cai@redhat.com>
Arnd, Stephen, can you apply this patch? Those compiling errors are back again
in next-20201027.
> ---
> arch/arm64/include/asm/mmu_context.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/include/asm/mmu_context.h
> b/arch/arm64/include/asm/mmu_context.h
> index da5f146e665b..cd5c33a50469 100644
> --- a/arch/arm64/include/asm/mmu_context.h
> +++ b/arch/arm64/include/asm/mmu_context.h
> @@ -176,6 +176,7 @@ static inline void cpu_replace_ttbr1(pgd_t *pgdp)
> */
> void check_and_switch_context(struct mm_struct *mm);
>
> +#define init_new_context init_new_context
> static inline int
> init_new_context(struct task_struct *tsk, struct mm_struct *mm)
> {
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-27 18:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12 14:10 [PATCH -next] arm64: Fix redefinition of init_new_context() Qian Cai
2020-10-12 19:26 ` Nick Desaulniers
2020-10-27 18:32 ` Qian Cai
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).