From 3d4f7d0a914ebdd9542cef6874469759c4bf8a60 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:27 +0100 Subject: [PATCH] Revert "m68k: Fix kernel_clone_args.flags in m68k_clone()" This reverts commit 1ed7b9f02f83367c55ead98cffce85867cdfae7c. --- arch/m68k/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/kernel/process.c b/arch/m68k/kernel/process.c index 8c2656371..da83cc83e 100755 --- a/arch/m68k/kernel/process.c +++ b/arch/m68k/kernel/process.c @@ -116,7 +116,7 @@ asmlinkage int m68k_clone(struct pt_regs *regs) { /* regs will be equal to current_pt_regs() */ struct kernel_clone_args args = { - .flags = (u32)(regs->d1) & ~CSIGNAL, + .flags = regs->d1 & ~CSIGNAL, .pidfd = (int __user *)regs->d3, .child_tid = (int __user *)regs->d4, .parent_tid = (int __user *)regs->d3,