diff options
author | Shanker Donthineni <shankerd@codeaurora.org> | 2016-06-06 18:17:30 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-06-13 11:53:52 +0100 |
commit | 9347359ad0aeeed16bf8c2d4576a2c40edaa9c85 (patch) | |
tree | e58808bce34728cf6faa2d6c9e74da3fa8213535 /include | |
parent | 4b75c4598b5b8312b8e3d37b6486729cf333dbf5 (diff) | |
download | op-kernel-dev-9347359ad0aeeed16bf8c2d4576a2c40edaa9c85.zip op-kernel-dev-9347359ad0aeeed16bf8c2d4576a2c40edaa9c85.tar.gz |
irqchip/gicv3-its: Split its_alloc_tables() into two functions
The function is getting out of control, it has too many goto
statements and would be too complicated for adding a feature
two-level device table. So, it is time for us to cleanup and
move some of the logic to a separate function without affecting
the existing functionality.
Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irqchip/arm-gic-v3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic-v3.h b/include/linux/irqchip/arm-gic-v3.h index dc493e0..01cf171 100644 --- a/include/linux/irqchip/arm-gic-v3.h +++ b/include/linux/irqchip/arm-gic-v3.h @@ -228,6 +228,7 @@ #define GITS_BASER_PAGE_SIZE_64K (2UL << GITS_BASER_PAGE_SIZE_SHIFT) #define GITS_BASER_PAGE_SIZE_MASK (3UL << GITS_BASER_PAGE_SIZE_SHIFT) #define GITS_BASER_PAGES_MAX 256 +#define GITS_BASER_PAGES_SHIFT (0) #define GITS_BASER_TYPE_NONE 0 #define GITS_BASER_TYPE_DEVICE 1 |