diff options
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | 2019-05-24 15:52:20 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-05-24 16:58:30 +0300 |
commit | edbcf50eb8aea5f81ae6d83bb969cb0bc02805a1 (patch) | |
tree | b9bec48a44af4df52cb718ae5ae2e7c6ef0f6f02 /arch/arm64/kernel/sys.c | |
parent | c5e2edeb01ae9ffbdde95bdcdb6d3614ba1eb195 (diff) | |
download | linux-edbcf50eb8aea5f81ae6d83bb969cb0bc02805a1.tar.xz |
arm64: insn: Add BUILD_BUG_ON() for invalid masks
Detect invalid instruction masks at build time. Some versions of GCC can
warn about the situation, but not all of them, it seems.
Suggested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/sys.c')
0 files changed, 0 insertions, 0 deletions