diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-07-27 19:50:18 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-07-27 19:50:18 +0300 |
commit | 6e7765cb477a9753670d4351d14de93f1e9dbbd4 (patch) | |
tree | 69dd8df8a2a26df07fd386e950bd3153c4945973 /include/uapi/asm-generic/fcntl.h | |
parent | 9d8a8616ee47f478a9f78ab97f55c3fbf71bb5f0 (diff) | |
parent | e2a619ca0b38f2114347b7078b8a67d72d457a3d (diff) | |
download | linux-6e7765cb477a9753670d4351d14de93f1e9dbbd4.tar.xz |
Merge tag 'asm-generic-fixes-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
Pull asm-generic fixes from Arnd Bergmann:
"Two more bug fixes for asm-generic, one addressing an incorrect
Kconfig symbol reference and another one fixing a build failure for
the perf tool on mips and possibly others"
* tag 'asm-generic-fixes-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
asm-generic: remove a broken and needless ifdef conditional
tools: Fixed MIPS builds due to struct flock re-definition
Diffstat (limited to 'include/uapi/asm-generic/fcntl.h')
-rw-r--r-- | include/uapi/asm-generic/fcntl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/fcntl.h b/include/uapi/asm-generic/fcntl.h index f13d37b60775..1ecdb911add8 100644 --- a/include/uapi/asm-generic/fcntl.h +++ b/include/uapi/asm-generic/fcntl.h @@ -192,6 +192,7 @@ struct f_owner_ex { #define F_LINUX_SPECIFIC_BASE 1024 +#ifndef HAVE_ARCH_STRUCT_FLOCK struct flock { short l_type; short l_whence; @@ -216,5 +217,6 @@ struct flock64 { __ARCH_FLOCK64_PAD #endif }; +#endif /* HAVE_ARCH_STRUCT_FLOCK */ #endif /* _ASM_GENERIC_FCNTL_H */ |