summaryrefslogtreecommitdiff
path: root/include/asm-generic/io.h
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2020-06-24 04:44:05 +0900
committerStafford Horne <shorne@gmail.com>2020-08-04 10:59:45 +0900
commitc28b27416da91659ad580074db6756b2ab7e62da (patch)
tree4c9463d6d6bc0121c76e33ba751558fa84bf5d8f /include/asm-generic/io.h
parent57b8e277c33620e115633cdf700a260b55095460 (diff)
openrisc: Implement proper SMP tlb flushing
Up until now when flushing pages from the TLB on SMP OpenRISC was always resorting to flush the entire TLB on all CPUs. This patch adds the mechanics for flushing specific ranges and pages based on the usage. The function switch_mm is updated to account for cpu usage by updating mm_struct's cpumask. This is used in the SMP flush routines. This mostly follows the riscv implementation. Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'include/asm-generic/io.h')
0 files changed, 0 insertions, 0 deletions