aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2018-12-03 17:03:51 +0000
committerIngo Molnar <[email protected]>2018-12-17 17:54:28 +0000
commitfe0937b24ff5d7b343b9922201e469f9a6009d9d (patch)
treecf1135d30172decce155f63d648bb4e27fd8e1f2 /drivers/fpga/fpga-mgr.c
parentx86/mm/cpa: Make cpa_data::numpages invariant (diff)
downloadkernel-fe0937b24ff5d7b343b9922201e469f9a6009d9d.tar.gz
kernel-fe0937b24ff5d7b343b9922201e469f9a6009d9d.zip
x86/mm/cpa: Fold cpa_flush_range() and cpa_flush_array() into a single cpa_flush() function
Note that the cache flush loop in cpa_flush_*() is identical when we use __cpa_addr(); further observe that flush_tlb_kernel_range() is a special case of to the cpa_flush_array() TLB invalidation code. This then means the two functions are virtually identical. Fold these two functions into a single cpa_flush() call. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions