summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorLow-power <[email protected]>2023-03-11 01:35:00 +0800
committerGitHub <[email protected]>2023-03-10 09:35:00 -0800
commit589f59b52af86455cf71421e63c34557c7ee6f91 (patch)
tree0350600175b27662916d2b69e18ef57011043985 /module
parent7316fdd1c0c74074c4b48a499afe4e444aa42914 (diff)
Workaround for Linux PowerPC GPL-only cpu_has_feature()
Linux since 4.7 makes interface 'cpu_has_feature' to use jump labels on powerpc if CONFIG_JUMP_LABEL_FEATURE_CHECKS is enabled, in this case however the inline function references GPL-only symbol 'cpu_feature_keys'. ZFS currently uses 'cpu_has_feature' either directly or indirectly from several places; while it is unknown how this issue didn't break ZFS on 64-bit little-endian powerpc, it is known to break ZFS with many Linux versions on both 32-bit and 64-bit big-endian powerpc. Until this issue is fixed in Linux, we have to workaround it by overriding affected inline functions without depending on 'cpu_feature_keys'. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: WHR <[email protected]> Closes #14590
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions