commit | e6ad2025376734478e1f64de94b40b708eba13f6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jul 09 18:43:16 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Jul 17 14:32:24 2020 +0800 |
tree | 510738a8a2f0665bdb0ef9dd61faee9c5f3b16e0 | |
parent | 6469d80f4f1e7817da53c618b210fd5f77167e53 [diff] |
x86: Avoid #ifdef with CONFIG_HAVE_ACPI_RESUME At present this enables a few arch-specific members of the global_data struct which are otherwise not part of the struct. As a result we have to use #ifdef in various places. The cost of always having these in the struct is small. Adjust things so that we can use compile-time code instead of #ifdefs. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>