diff options
| author | David Brazdil <[email protected]> | 2020-12-02 18:41:01 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2020-12-04 08:44:24 +0000 |
| commit | 82ac62d1658b42392282550078a189ccd3f50214 (patch) | |
| tree | bc778b53c34e972b5babc6e5fb12e031af0a9c88 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | 0bc7474fb7673422b134e88feb49cde54b22bb75 (diff) | |
psci: Replace psci_function_id array with a struct
Small refactor that replaces array of v0.1 function IDs indexed by an
enum of function-name constants with a struct of function IDs "indexed"
by field names. This is done in preparation for exposing the IDs to
other parts of the kernel. Exposing a struct avoids the need for
bounds checking.
Signed-off-by: David Brazdil <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions