mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-18 15:09:23 +00:00
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.103 removed upstream patches: generic-backport/220-v6.16-powerpc-boot-fix-build-with-gcc-15.patch [1] generic-backport/847-v6.17-Revert-leds-trigger-netdev-Configure-LED-blink-inter.patch [2] update patch to upstream function change bcm53x/patches-6.6/180-usb-xhci-add-support-for-performing-fake-doorbell.patch changed function xhci_disable_and_free_slot() upstream [3] All other patches auto-refreshed. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.103&id=93879b3ba967a33834727abf34ea08764339fe0b [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.103&id=c66caf21b1d0a0847adc34d368e3f6753a2cbd53 [3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/usb/host?h=v6.6.103&id=e600de541c37f97482fea2a7a26f186141e7ddea Suggested-by: Leo Barsky <leobrsky@proton.me> Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19898 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
30 lines
824 B
Diff
30 lines
824 B
Diff
From: Felix Fietkau <nbd@nbd.name>
|
|
Date: Thu, 22 Oct 2020 22:00:03 +0200
|
|
Subject: [PATCH] compiler.h: only include asm/rwonce.h for kernel code
|
|
|
|
This header file is not in uapi, which makes any user space code that includes
|
|
linux/compiler.h to fail with the error 'asm/rwonce.h: No such file or directory'
|
|
|
|
Fixes: e506ea451254 ("compiler.h: Split {READ,WRITE}_ONCE definitions out into rwonce.h")
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
---
|
|
|
|
--- a/include/linux/compiler.h
|
|
+++ b/include/linux/compiler.h
|
|
@@ -202,6 +202,8 @@ void ftrace_likely_update(struct ftrace_
|
|
__v; \
|
|
})
|
|
|
|
+#include <asm/rwonce.h>
|
|
+
|
|
#endif /* __KERNEL__ */
|
|
|
|
/**
|
|
@@ -250,6 +252,4 @@ static inline void *offset_to_ptr(const
|
|
*/
|
|
#define prevent_tail_call_optimization() mb()
|
|
|
|
-#include <asm/rwonce.h>
|
|
-
|
|
#endif /* __LINUX_COMPILER_H */
|