From bd2b19cd818a2aa67d7740bad854d2f863d83e35 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 06 2021 22:39:13 +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