[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18c43f1b-fb29-97a0-883a-d71fd2de80c5@gmx.de>
Date: Sun, 1 Jul 2018 18:29:54 +0200
From: Helge Deller <deller@....de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Cc: stable@...r.kernel.org, Sasha Levin <alexander.levin@...rosoft.com>
Subject: Re: [PATCH 3.18 35/85] parisc: Move setup_profiling_timer() out of
init section
Hi Greg,
On 01.07.2018 18:01, Greg Kroah-Hartman wrote:
> 3.18-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Helge Deller <deller@....de>
>
> [ Upstream commit 01f56832cfb6fcc204e7203f46841b6185ebd574 ]
I wonder how this patch and patch #22 ([PATCH 3.18 22/85] parisc: drivers.c: Fix section mismatches)
reached the stable trees?
I haven't tagged upstream commit 01f56832cfb6fcc204e7203f46841b6185ebd574 or
b819439fea305a0bfd6ca23a7994fd1a8847c0d8 for backport.
Anyway, I'd suggest not to apply both.
I haven't tested them in those old kernels....
Helge
> No other architecture has setup_profiling_timer() in the init section,
> thus on parisc we face this section mismatch warning:
> Reference from the function devm_device_add_group() to the function .init.text:setup_profiling_timer()
>
> Signed-off-by: Helge Deller <deller@....de>
> Signed-off-by: Sasha Levin <alexander.levin@...rosoft.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> ---
> arch/parisc/kernel/smp.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> --- a/arch/parisc/kernel/smp.c
> +++ b/arch/parisc/kernel/smp.c
> @@ -422,8 +422,7 @@ int __cpu_up(unsigned int cpu, struct ta
> }
>
> #ifdef CONFIG_PROC_FS
> -int __init
> -setup_profiling_timer(unsigned int multiplier)
> +int setup_profiling_timer(unsigned int multiplier)
> {
> return -EINVAL;
> }
>
>
Powered by blists - more mailing lists