From ec9e371aee7ef0226efb508988c90ba7e0150512 Mon Sep 17 00:00:00 2001 From: Packit Bot Date: May 04 2021 22:37:30 +0000 Subject: Apply patch glibc-rh1642150-4.patch patch_name: glibc-rh1642150-4.patch present_in_specfile: true location_in_specfile: 346 --- diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-pkey.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-pkey.h index 623b073..25d080c 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-pkey.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-pkey.h @@ -37,7 +37,7 @@ pkey_read (void) static inline void pkey_write (unsigned long int value) { - __asm__ volatile ("mtspr 13, %0" : : "r" (value)); + __asm__ volatile ("isync; mtspr 13, %0; isync" : : "r" (value)); } /* Number of the largest supported key. This depends on the width of