mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
um: Fix the -Wmissing-prototypes warning for get_thread_reg
[ Upstream commit3144013e48] 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>
This commit is contained in:
parent
b6eda6dee3
commit
68bc383a75
2 changed files with 7 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue