Merge "Revert "arm64: kpti: force off kpti""

This commit is contained in:
qctecmdr 2020-10-08 08:33:23 -07:00 • committed by Gerrit - the friendly Code Review server
commit b8e66109f7

View file

@ -964,8 +964,7 @@ has_useable_cnp(const struct arm64_cpu_capabilities *entry, int scope)
}
static bool __meltdown_safe = true;
/* 0: not forced, >0: forced on, <0: forced off */
static int __kpti_forced = -1;
static int __kpti_forced; /* 0: not forced, >0: forced on, <0: forced off */
static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
int scope)