Pull percpu updates from Dennis Zhou: "Separate out variables that can be decrypted into their own page anytime encryption can be enabled and fix __percpu annotations in asm-generic for sparse" * 'for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu: percpu: Separate decrypted varaibles anytime encryption can be enabled percpu: fix __percpu annotation in asm-generic
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -175,8 +175,7 @@ · 174 unmodified lines | ||
| 175 | 175 | * Declaration/definition used for per-CPU variables that should be accessed |
| 176 | 176 | * as decrypted when memory encryption is enabled in the guest. |
| 177 | 177 | */ |
| 178 | −#if defined(CONFIG_VIRTUALIZATION) && defined(CONFIG_AMD_MEM_ENCRYPT) | |
| 179 | − | |
| 178 | +#ifdef CONFIG_AMD_MEM_ENCRYPT | |
| 180 | 179 | #define DECLARE_PER_CPU_DECRYPTED(type, name) \ |
| 181 | 180 | DECLARE_PER_CPU_SECTION(type, name, "..decrypted") |
| 182 | 181 | |