diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2016-11-02 11:54:03 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-11-29 09:14:48 +0000 |
commit | b11283eb89b0697984cadee6016dabbcf511af27 (patch) | |
tree | d57ad82dbe2b070f892a6a251c78cb534301bde4 /include | |
parent | 016f98afd050f876845c49d3a0ad6dd0c30c5681 (diff) | |
download | op-kernel-dev-b11283eb89b0697984cadee6016dabbcf511af27.zip op-kernel-dev-b11283eb89b0697984cadee6016dabbcf511af27.tar.gz |
irqchip/gic-v3-its: Change unsigned types for AArch32 compatibility
Make sure that constants which are supposed to be applied on 64-bit
data is actually unsigned long long, so they won't be truncated when
used in 32-bit mode.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irqchip/arm-gic-v3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/irqchip/arm-gic-v3.h b/include/linux/irqchip/arm-gic-v3.h index b7e3431..5118d3a 100644 --- a/include/linux/irqchip/arm-gic-v3.h +++ b/include/linux/irqchip/arm-gic-v3.h @@ -239,7 +239,7 @@ #define GITS_TYPER_PTA (1UL << 19) #define GITS_TYPER_HWCOLLCNT_SHIFT 24 -#define GITS_CBASER_VALID (1UL << 63) +#define GITS_CBASER_VALID (1ULL << 63) #define GITS_CBASER_SHAREABILITY_SHIFT (10) #define GITS_CBASER_INNER_CACHEABILITY_SHIFT (59) #define GITS_CBASER_OUTER_CACHEABILITY_SHIFT (53) @@ -265,7 +265,7 @@ #define GITS_BASER_NR_REGS 8 -#define GITS_BASER_VALID (1UL << 63) +#define GITS_BASER_VALID (1ULL << 63) #define GITS_BASER_INDIRECT (1ULL << 62) #define GITS_BASER_INNER_CACHEABILITY_SHIFT (59) |