lkml.org 
[lkml]   [2021]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] arch: parisc: Remove duplicate struct task_struct declaration
From
Date
On 3/31/21 3:28 AM, Wan Jiabing wrote:
> struct task_struct is declared twice. One has been declared
> at 154th line. Remove the duplicate.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

Thanks, applied to parisc tree.

Helge

> ---
> arch/parisc/include/asm/processor.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h
> index 11ece0d07374..b5fbcd2c1780 100644
> --- a/arch/parisc/include/asm/processor.h
> +++ b/arch/parisc/include/asm/processor.h
> @@ -272,7 +272,6 @@ on downward growing arches, it looks like this:
> regs->gr[23] = 0; \
> } while(0)
>
> -struct task_struct;
> struct mm_struct;
>
> /* Free all resources held by a thread. */
>

\
 
 \ /
  Last update: 2021-03-31 15:43    [W:0.035 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site