summaryrefslogtreecommitdiff
path: root/arch/um/include/shared/kern_util.h
diff options
context:
space:
mode:
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>2023-09-21 15:34:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-05 20:14:30 +0000
commit976c46e6964ceb70e0786d5491665c65a24f48a3 (patch)
tree8710b466caf7d5f61417cfc8fa1a4e216a3219fe /arch/um/include/shared/kern_util.h
parent029479d4f1bb9f79f00c1054d26876322abe676d (diff)
um: Fix naming clash between UML and scheduler
[ Upstream commit 541d4e4d435c8b9bfd29f70a1da4a2db97794e0a ] __cant_sleep was already used and exported by the scheduler. The name had to be changed to a UML specific one. Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Reviewed-by: Peter Lafreniere <peter@n8pjl.ca> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/um/include/shared/kern_util.h')
-rw-r--r--arch/um/include/shared/kern_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/shared/kern_util.h b/arch/um/include/shared/kern_util.h
index d8b8b4f07e42..444bae755b16 100644
--- a/arch/um/include/shared/kern_util.h
+++ b/arch/um/include/shared/kern_util.h
@@ -50,7 +50,7 @@ extern void do_uml_exitcalls(void);
* Are we disallowed to sleep? Used to choose between GFP_KERNEL and
* GFP_ATOMIC.
*/
-extern int __cant_sleep(void);
+extern int __uml_cant_sleep(void);
extern int get_current_pid(void);
extern int copy_from_user_proc(void *to, void *from, int size);
extern char *uml_strdup(const char *string);