diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-03-22 11:08:12 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-05-03 17:21:20 +0200 |
commit | 4e111653168acc058044885c679015d50fcaf474 (patch) | |
tree | dc3a3f6c44e7aebd613154a039f3a486c923308e /include | |
parent | 22879b66800d4f84ff48f151867369e76e33f9a4 (diff) |
user: Move 'thunk.h' from 'exec/user' to 'user'
Keep all user emulation headers under the same user/ directory.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240428221450.26460-2-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/user/thunk.h (renamed from include/exec/user/thunk.h) | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/exec/user/thunk.h b/include/user/thunk.h index 9f35c888f9..2a2104b568 100644 --- a/include/exec/user/thunk.h +++ b/include/user/thunk.h @@ -17,8 +17,12 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#ifndef THUNK_H -#define THUNK_H +#ifndef USER_THUNK_H +#define USER_THUNK_H + +#ifndef CONFIG_USER_ONLY +#error Cannot include this header from system emulation +#endif #include "cpu.h" #include "user/abitypes.h" |