diff options
author | Cédric Le Goater <clg@kaod.org> | 2022-01-05 17:22:38 +0100 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2022-01-06 22:04:59 +1100 |
commit | afea220911e6bfb37c109046e8448d8041949239 (patch) | |
tree | 5eb75c164c10244211f60d6d726f9bbfa7b5b8e0 | |
parent | a6906b024c6cca5a86496f51eb4bfee3a0c36148 (diff) | |
download | SLOF-afea220911e6bfb37c109046e8448d8041949239.zip SLOF-afea220911e6bfb37c109046e8448d8041949239.tar.gz SLOF-afea220911e6bfb37c109046e8448d8041949239.tar.bz2 |
make.rules: Compile SLOF for power5
By default, SLOF would implement the cpu_to_le64() helper with
the 'stdbrx' instruction which is invalid under POWER5+ and 970
CPUs. This breaks the QEMU pseries machine with such CPUs when
virtio or USB devices or in use.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
-rw-r--r-- | make.rules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ WARNFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Wformat-security -We CFLAGS ?= -g -O2 -fno-builtin -ffreestanding -nostdinc -msoft-float \ -fno-strict-aliasing -mno-altivec -mabi=no-altivec \ -fno-stack-protector -fno-asynchronous-unwind-tables $(WARNFLAGS) \ - -fshort-wchar + -fshort-wchar -mcpu=power5 export CC AS LD CLEAN OBJCOPY OBJDUMP STRIP AR RANLIB CFLAGS |