linux-user: Move lock_user et al out of line
commit687ca797893ca1e8538592f19ac61e9eafd0b899
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 12 Feb 2021 18:48:48 +0000 (12 10:48 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Feb 2021 11:04:53 +0000 (16 11:04 +0000)
tree0a47e25734e2dc90c88ae80ae00f6be90ef8a2fb
parentc7169b022b329a121d0c7acb550a08efa04d816a
linux-user: Move lock_user et al out of line

These functions are not small, except for unlock_user
without debugging enabled.  Move them out of line, and
add missing braces on the way.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210212184902.1251044-18-richard.henderson@linaro.org
[PMM: fixed the sense of an ifdef test in qemu.h]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/qemu.h
linux-user/uaccess.c