diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-04-23 14:58:54 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-04-30 14:15:17 +0200 |
commit | 3144013e48f4f6e5127223c4ebc488016815dedb (patch) | |
tree | 95b88b5e10fdd81dc2a5e94f1e1585c331afc560 /block/bsg.c | |
parent | um: Fix the -Wmissing-prototypes warning for __switch_mm (diff) | |
download | linux-3144013e48f4f6e5127223c4ebc488016815dedb.tar.xz linux-3144013e48f4f6e5127223c4ebc488016815dedb.zip |
um: Fix the -Wmissing-prototypes warning for get_thread_reg
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>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions