diff options
| author | Bin Meng <[email protected]> | 2022-12-11 14:54:23 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-12-17 09:02:40 +0530 |
| commit | fabbc006687a0fddeabb7a3effabb3a8e1c81c48 (patch) | |
| tree | 574dbf81a813f6c39b33aa5d238fed15cf3ff6dd /lib/utils/timer | |
| parent | 91c8a7d5cef1e9729c1c2bad549ebc69afeadb3b (diff) | |
lib: utils/irqchip: plic: Fix the off-by-one error in context save/restore helpers
plic->num_src holds the number of interrupt sources without interrupt
source 0 but the interrupt enable register includes a bit for the
interrupt source 0 in the first word.
Fixes: 415ecf28f7ad ("lib: irqchip/plic: Add context save/restore helpers")
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
