Files
linux/arch
Tiwei Bie 68bc383a75 um: Fix the -Wmissing-prototypes warning for get_thread_reg
[ Upstream commit 3144013e48 ]

The get_thread_reg function is defined in the user code, and is
called by the kernel code. It should be declared in a shared header.

Fixes: dbba7f704a ("um: stop polluting the namespace with registers.h contents")
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:03:47 +02:00
..