Tiwei Bie a5cd856087 um: Fix the -Wmissing-prototypes warning for get_thread_reg
[ Upstream commit 3144013e48f4f6e5127223c4ebc488016815dedb ]

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: dbba7f704aa0 ("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:12:42 +02:00
..
2023-02-13 10:14:31 +01:00
2022-07-17 23:13:24 +02:00
2022-05-27 09:03:41 +02:00
2022-07-17 23:15:21 +02:00
2020-01-07 13:31:29 +01:00
2022-03-21 08:13:03 -07:00