Skip to content
Commit 4b2f5c7d authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Alberto Escolar
Browse files

irq: multilevel: avoid manipulations with bits by using union type



Use a union struct to partition the bits in a
multilevel-encoded interrupt number instead of manipulating
the bits manually, which is tedious and error prone.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
Signed-off-by: default avatarYong Cong Sin <yongcong.sin@gmail.com>
parent 091d70de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment