diff options
author | WANG Xuerui <git@xen0n.name> | 2023-05-01 12:19:10 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-05-01 12:19:10 +0300 |
commit | 9e36fa42995a7c7fa8d84a429ca647736c4f1c66 (patch) | |
tree | d581a92e3e2d3f038d806db8e7b6624a5ba3e536 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3b5a5672b34bdac2aa63985cd1226c569e36e7a7 (diff) | |
download | linux-9e36fa42995a7c7fa8d84a429ca647736c4f1c66.tar.xz |
LoongArch: Clean up the architectural interrupt definitions
While interrupts are assigned ECodes `64 + interrupt number`, all
existing use sites of interrupt numbers want the 64 subtracted.
Re-arrange the definitions so that the actual interrupt number is used
everywhere, and make EXCCODE_INT_END inclusive as it is more intuitive
that way.
While at it, according to the asm/loongarch.h definitions, the total
number of architectural interrupts should be 14, but various other
places indicate otherwise (13 or 15). Those places have been adjusted
to 14 as well for consistency.
Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions