diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-01-10 19:05:09 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-01-26 22:11:38 +0100 |
commit | a31e9c4e7247d182192e9b85abbea498d63dd850 (patch) | |
tree | 35c289fd8b81c74b8d49177566eb35f552e2ebe6 /arch/um/include/asm/set_memory.h | |
parent | 2fcb4090cd7352665ecb756990a3087bfd86a295 (diff) | |
download | lwn-a31e9c4e7247d182192e9b85abbea498d63dd850.tar.gz lwn-a31e9c4e7247d182192e9b85abbea498d63dd850.zip |
Revert "um: support some of ARCH_HAS_SET_MEMORY"
This reverts commit 963285b0b47a ("um: support some of
ARCH_HAS_SET_MEMORY"), as it turns out that it's not only not
working (due to um never using the protection bits in the
page tables) but also corrupts the page tables if used on a
non-vmalloc page, since um never allocates proper page tables
for the 'physmem' in the first place.
Fixing all this will take more effort, so for now revert it.
Reported-by: Benjamin Berg <benjamin@sipsolutions.net>
Fixes: 963285b0b47a ("um: support some of ARCH_HAS_SET_MEMORY")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/asm/set_memory.h')
-rw-r--r-- | arch/um/include/asm/set_memory.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/asm/set_memory.h b/arch/um/include/asm/set_memory.h deleted file mode 100644 index 24266c63720d..000000000000 --- a/arch/um/include/asm/set_memory.h +++ /dev/null @@ -1 +0,0 @@ -#include <asm-generic/set_memory.h> |