aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2025-06-16 15:00:28 +0000
committerAlexander Gordeev <[email protected]>2025-06-29 11:12:01 +0000
commitac5bf0665011db2b4aa167e971195a166e0d8d2f (patch)
tree0759a778c13de7cefdeabb38db8a97c69cd5062f /rust/helpers/platform.c
parents390/page: Cleanup page_set_storage_key() inline assemblies (diff)
downloadkernel-ac5bf0665011db2b4aa167e971195a166e0d8d2f.tar.gz
kernel-ac5bf0665011db2b4aa167e971195a166e0d8d2f.zip
s390/page: Add memory clobber to page_set_storage_key()
Add memory clobbers to the page_set_storage_key() inline assemblies. This allows for data dependencies from other code, which is important to prevent the compiler from reordering instructions if required. Note that this doesn't fix a bug in existing code; this is just a prerequisite for upcoming code changes. Reviewed-by: Claudio Imbrenda <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions