Re: [PATCH] powerpc/security: Fix build break

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 15, 2019 at 02:22:06PM +0930, Joel Stanley wrote:
> This fixes a build break introduced in with the recent round of CPU
> bug patches.
> 
>   arch/powerpc/kernel/security.c: In function ‘setup_barrier_nospec’:
>   arch/powerpc/kernel/security.c:59:21: error: implicit declaration of
>   function ‘cpu_mitigations_off’ [-Werror=implicit-function-declaration]
>     if (!no_nospec && !cpu_mitigations_off())
>                        ^~~~~~~~~~~~~~~~~~~
> 
> Fixes: 782e69efb3df ("powerpc/speculation: Support 'mitigations=' cmdline option")
> Signed-off-by: Joel Stanley <joel@xxxxxxxxx>
> ---
> This should be applied to the 4.14 and 4.19 trees. There is no issue
> with 5.1. The commit message contains a fixes line for the commit in
> Linus tree.
> ---
>  arch/powerpc/kernel/security.c | 1 +
>  1 file changed, 1 insertion(+)

Isn't this just commit 42e2acde1237 ("powerpc/64s: Include cpu header")?

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux