diff options
author | Qais Yousef <qais.yousef@imgtec.com> | 2015-12-08 14:20:16 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-02-25 10:56:55 +0100 |
commit | f256c9a0c54820ffef21b126f8226be2bece3dd7 (patch) | |
tree | 2f4a01f29cb3dc00e56ea59eea9b986f58ddc63f /kernel/irq | |
parent | genirq: Add an extra comment about the use of affinity in irq_common_data (diff) | |
download | linux-f256c9a0c54820ffef21b126f8226be2bece3dd7.tar.xz linux-f256c9a0c54820ffef21b126f8226be2bece3dd7.zip |
genirq: Add ipi_offset to irq_common_data
IPIs are always assumed to be consecutively allocated, hence virqs and hwirqs
can be inferred by using CPU id as an offset. But the first cpu doesn't always
have to start at offset 0. ipi_offset stores the position of the first cpu so
that we can easily calculate the virq or hwirq of an IPI associated with a
specific cpu.
Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
Cc: <jason@lakedaemon.net>
Cc: <marc.zyngier@arm.com>
Cc: <jiang.liu@linux.intel.com>
Cc: <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Cc: <lisa.parratt@imgtec.com>
Cc: Qais Yousef <qsyousef@gmail.com>
Link: http://lkml.kernel.org/r/1449580830-23652-6-git-send-email-qais.yousef@imgtec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions