[PATCH 6.1 385/473] um: Fix the -Wmissing-prototypes warning for get_thread_reg