arch: arm: Fix SZ_64K undeclared compilation error
diff mbox series

Message ID 1581658252-12240-1-git-send-email-wasim.khan@nxp.com
State New
Delegated to: Tom Rini
Headers show
Series
  • arch: arm: Fix SZ_64K undeclared compilation error
Related show

Commit Message

Wasim Khan Feb. 14, 2020, 5:30 a.m. UTC
Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
error.

Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
---
 arch/arm/lib/gic-v3-its.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Bharat Kumar Reddy Feb. 18, 2020, 10:48 a.m. UTC | #1
Looks good to me.

On 14/02/20 11:00 am, Wasim Khan wrote:
> Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
> error.
>
> Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
> ---
>   arch/arm/lib/gic-v3-its.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
> index e19ab01..6ee22d2 100644
> --- a/arch/arm/lib/gic-v3-its.c
> +++ b/arch/arm/lib/gic-v3-its.c
> @@ -6,6 +6,7 @@
>   #include <asm/gic.h>
>   #include <asm/gic-v3.h>
>   #include <asm/io.h>
> +#include <linux/sizes.h>
>   
>   static u32 lpi_id_bits;
>

Patch
diff mbox series

diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
index e19ab01..6ee22d2 100644
--- a/arch/arm/lib/gic-v3-its.c
+++ b/arch/arm/lib/gic-v3-its.c
@@ -6,6 +6,7 @@ 
 #include <asm/gic.h>
 #include <asm/gic-v3.h>
 #include <asm/io.h>
+#include <linux/sizes.h>
 
 static u32 lpi_id_bits;