diff mbox series

[RFC,v2,06/12] arm64: fpsimd: include <linux/init.h> in fpsimd.h

Message ID 1519657500-15094-7-git-send-email-will.deacon@arm.com
State Accepted
Commit b4f9b39074878ede60d3e7bdc64a2d89ed5e9297
Headers show
Series Rewrite asm-generic/bitops/{atomic,lock}.h and use on arm64 | expand

Commit Message

Will Deacon Feb. 26, 2018, 3:04 p.m. UTC
fpsimd.h uses the __init annotation, so pull in linux/init.h

Signed-off-by: Will Deacon <will.deacon@arm.com>

---
 arch/arm64/include/asm/fpsimd.h | 1 +
 1 file changed, 1 insertion(+)

-- 
2.1.4

Comments

Mark Rutland Feb. 26, 2018, 3:37 p.m. UTC | #1
On Mon, Feb 26, 2018 at 03:04:54PM +0000, Will Deacon wrote:
> fpsimd.h uses the __init annotation, so pull in linux/init.h

> 

> Signed-off-by: Will Deacon <will.deacon@arm.com>


Having skimmed through, this looks like all we need.

Acked-by: Mark Rutland <mark.rutland@arm.com>


Mark.

> ---

>  arch/arm64/include/asm/fpsimd.h | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h

> index 8857a0f0d0f7..fc3527b985ca 100644

> --- a/arch/arm64/include/asm/fpsimd.h

> +++ b/arch/arm64/include/asm/fpsimd.h

> @@ -22,6 +22,7 @@

>  #ifndef __ASSEMBLY__

>  

>  #include <linux/cache.h>

> +#include <linux/init.h>

>  #include <linux/stddef.h>

>  

>  /*

> -- 

> 2.1.4

> 

> 

> _______________________________________________

> linux-arm-kernel mailing list

> linux-arm-kernel@lists.infradead.org

> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox series

Patch

diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
index 8857a0f0d0f7..fc3527b985ca 100644
--- a/arch/arm64/include/asm/fpsimd.h
+++ b/arch/arm64/include/asm/fpsimd.h
@@ -22,6 +22,7 @@ 
 #ifndef __ASSEMBLY__
 
 #include <linux/cache.h>
+#include <linux/init.h>
 #include <linux/stddef.h>
 
 /*