summaryrefslogtreecommitdiffstats
path: root/include/linux/irqchip
diff options
context:
space:
mode:
authorShanker Donthineni <shankerd@codeaurora.org>2016-06-06 18:17:30 -0500
committerMarc Zyngier <marc.zyngier@arm.com>2016-06-13 11:53:52 +0100
commit9347359ad0aeeed16bf8c2d4576a2c40edaa9c85 (patch)
treee58808bce34728cf6faa2d6c9e74da3fa8213535 /include/linux/irqchip
parent4b75c4598b5b8312b8e3d37b6486729cf333dbf5 (diff)
downloadlinux-9347359ad0aeeed16bf8c2d4576a2c40edaa9c85.tar.gz
linux-9347359ad0aeeed16bf8c2d4576a2c40edaa9c85.tar.xz
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/linux/irqchip')
-rw-r--r--include/linux/irqchip/arm-gic-v3.h1
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 dc493e0f0ff7..01cf171ef97d 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