diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-11-03 18:27:28 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-11-03 18:27:28 +0100 |
commit | 4d74039149e0062e4ed25738d6e3e06970a38809 (patch) | |
tree | 1dc45c5adb2c25e4c03797d540037785549884a6 /include | |
parent | Merge tag 'parisc-for-6.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
parent | powerpc/32: Select ARCH_SPLIT_ARG64 (diff) | |
download | linux-4d74039149e0062e4ed25738d6e3e06970a38809.tar.xz linux-4d74039149e0062e4ed25738d6e3e06970a38809.zip |
Merge tag 'powerpc-6.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fixes from Michael Ellerman:
- Fix an endian thinko in the asm-generic compat_arg_u64() which led to
syscall arguments being swapped for some compat syscalls.
- Fix syscall wrapper handling of syscalls with 64-bit arguments on
32-bit kernels, which led to syscall arguments being misplaced.
- A build fix for amdgpu on Book3E with AltiVec disabled.
Thanks to Andreas Schwab, Christian Zigotzky, and Arnd Bergmann.
* tag 'powerpc-6.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
powerpc/32: Select ARCH_SPLIT_ARG64
powerpc/32: fix syscall wrappers with 64-bit arguments
asm-generic: compat: fix compat_arg_u64() and compat_arg_u64_dual()
powerpc/64e: Fix amdgpu build on Book3E w/o AltiVec
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/compat.h b/include/asm-generic/compat.h index aeb257ad3d1a..8392caea398f 100644 --- a/include/asm-generic/compat.h +++ b/include/asm-generic/compat.h @@ -15,7 +15,7 @@ #endif #ifndef compat_arg_u64 -#ifdef CONFIG_CPU_BIG_ENDIAN +#ifndef CONFIG_CPU_BIG_ENDIAN #define compat_arg_u64(name) u32 name##_lo, u32 name##_hi #define compat_arg_u64_dual(name) u32, name##_lo, u32, name##_hi #else |