aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-01-31 13:17:06 +0000
committerMark Brown <broonie@kernel.org>2024-01-31 13:17:06 +0000
commitb25c4e5684cd4e5a3528485918e34f04a4bea3e5 (patch)
treed90c34ef9bdd7b21ada3ac9a6fb027ba9715e7f2 /kernel/fork.c
parentASoC: sh: rz-ssi: Fix error message print (diff)
parentASoC: SOF: amd: refactor acp driver pm ops (diff)
downloadlinux-b25c4e5684cd4e5a3528485918e34f04a4bea3e5.tar.gz
linux-b25c4e5684cd4e5a3528485918e34f04a4bea3e5.zip
soundwire/SOF: add SoundWire Interface support for
Merge series from Vijendar Mukunda <Vijendar.Mukunda@amd.com>: This patch series is to redesign existing platform device creation logic for SoundWire managers and Implement generic functions for SoundWire manager probe, start and exit sequence which are common for both Legacy (NO DSP enabled) and SOF stack, and add SoundWire Interface support for AMD SOF stack (ACP 6.3 based platform). The patch series was reviewed in https://github.com/thesofproject/linux/pull/4699
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 47ff3b35352e..0d944e92a43f 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1748,6 +1748,7 @@ static int copy_fs(unsigned long clone_flags, struct task_struct *tsk)
if (clone_flags & CLONE_FS) {
/* tsk->fs is already what we want */
spin_lock(&fs->lock);
+ /* "users" and "in_exec" locked for check_unsafe_exec() */
if (fs->in_exec) {
spin_unlock(&fs->lock);
return -EAGAIN;