summaryrefslogtreecommitdiffstats
path: root/lib/smp_processor_id.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-12-01 07:49:29 +0100
committerShawn Guo <shawn.guo@linaro.org>2011-12-01 09:15:15 +0100
commit04aafd713bae8a75933c7821dc012b0ec9046bca (patch)
tree5d0a8b41980b7e229e12510c9d24e27573cf6a8a /lib/smp_processor_id.c
parentarm/imx: fix return type of callback passed to of_irq_init() (diff)
downloadlinux-04aafd713bae8a75933c7821dc012b0ec9046bca.tar.xz
linux-04aafd713bae8a75933c7821dc012b0ec9046bca.zip
arm/imx: fix irq_base for gpio
When gpio core dynamically allocate gpio number for a port, it starts from the end of the total range, 0 ~ ARCH_NR_GPIOS. That said, the earlier a port gets probed, the bigger gpio number it gets assigned. To match this, the irq_base for gpio should be assigned from 'MXC_GPIO_IRQ_START + ARCH_NR_GPIOS' decreasingly. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions