diff options
author | Palmer Dabbelt | 2017-12-01 22:12:10 +0100 |
---|---|---|
committer | Palmer Dabbelt | 2017-12-01 22:12:10 +0100 |
commit | 07f8ba7439f9c942d5bd7b63074e7a1528601713 (patch) | |
tree | a9ea3bf949955e5808617e4b21372c0ed85bc009 /arch/riscv/include/asm/mmu.h | |
parent | RISC-V Atomic Cleanups (diff) | |
parent | RISC-V: Clean up an unused include (diff) | |
download | kernel-qcow2-linux-07f8ba7439f9c942d5bd7b63074e7a1528601713.tar.gz kernel-qcow2-linux-07f8ba7439f9c942d5bd7b63074e7a1528601713.tar.xz kernel-qcow2-linux-07f8ba7439f9c942d5bd7b63074e7a1528601713.zip |
RISC-V: User-Visible Changes
This merge contains the user-visible, ABI-breaking changes that we want
to make sure we have in Linux before our first release. Highlights
include:
* VDSO entries for clock_get/gettimeofday/getcpu have been added. These
are simple syscalls now, but we want to let glibc use them from the
start so we can make them faster later.
* A VDSO entry for instruction cache flushing has been added so
userspace can flush the instruction cache.
* The VDSO symbol versions for __vdso_cmpxchg{32,64} have been removed,
as those VDSO entries don't actually exist.
Conflicts:
arch/riscv/include/asm/tlbflush.h
Diffstat (limited to 'arch/riscv/include/asm/mmu.h')
-rw-r--r-- | arch/riscv/include/asm/mmu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/mmu.h b/arch/riscv/include/asm/mmu.h index 66805cba9a27..5df2dccdba12 100644 --- a/arch/riscv/include/asm/mmu.h +++ b/arch/riscv/include/asm/mmu.h @@ -19,6 +19,10 @@ typedef struct { void *vdso; +#ifdef CONFIG_SMP + /* A local icache flush is needed before user execution can resume. */ + cpumask_t icache_stale_mask; +#endif } mm_context_t; #endif /* __ASSEMBLY__ */ |