diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-08-03 21:02:14 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-10-06 09:48:02 +0200 |
commit | cc67b9c89907d752f9970b7078afe69afcf10b7a (patch) | |
tree | 8792f6773db5dc0f02481800b796b098ec940614 /linux-user/m68k/syscall_nr.h | |
parent | 0a8b293893051f5c170ae7a2209c12fb92666027 (diff) |
pseries: Bugfixes for interrupt numbering in XICS code
The implementation of the XICS interrupt controller contains several
(difficult to trigger) bugs due to the fact that we were not 100%
consistent with which irq numbering we used. In most places, global
numbers were used as handled by the presentation layer, however a few
functions took "local" numberings, that is the source number within
the interrupt source controller which is offset from the global
number. In most cases the function and its caller agreed on this, but
in a few cases it didn't.
This patch cleans this up by always using global numbering.
Translation to the local number is now always and only done when we
look up the individual interrupt source state structure. This should
remove the existing bugs and with luck reduce the chances of
re-introducing such bugs.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'linux-user/m68k/syscall_nr.h')
0 files changed, 0 insertions, 0 deletions