diff options
| author | Sam Protsenko <[email protected]> | 2024-11-06 20:58:30 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-11-17 13:13:22 -0600 |
| commit | be48369f32a5831b032b62603fd9634de9302056 (patch) | |
| tree | 8289b05cb86bf86f369177a1428d8d8f8a7aee00 /include/linux/bitmap.h | |
| parent | 1b2a5723880ba2fb94d2f647e528172f94b50095 (diff) | |
armv8: Fix get_sctlr() return type
SCTLR_EL2 is a 64-bit register [1]. Return its value as long (64 bit)
instead of int (32 bit) in get_sctlr() to make sure it's not trimmed.
[1] https://developer.arm.com/documentation/ddi0595/2021-06/AArch64-Registers/SCTLR-EL2--System-Control-Register--EL2-?lang=en
Fixes: 0ae7653128c8 ("arm64: core support")
Suggested-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Sam Protsenko <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include/linux/bitmap.h')
0 files changed, 0 insertions, 0 deletions
