diff options
| author | Michael Ellerman <[email protected]> | 2024-02-29 12:25:17 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-03-03 12:05:21 +0000 |
| commit | 8488cdcb00fd5f238754005a43a3a7445860d344 (patch) | |
| tree | 162e49f3dae81701e48520d340fc4f00e2f2a588 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | powerpc/mm: Code cleanup for __hash_page_thp (diff) | |
| download | kernel-8488cdcb00fd5f238754005a43a3a7445860d344.tar.gz kernel-8488cdcb00fd5f238754005a43a3a7445860d344.zip | |
powerpc/64s: Move dcbt/dcbtst sequence into a macro
There's an almost identical code sequence to specify load/store access
hints in __copy_tofrom_user_power7(), copypage_power7() and
memcpy_power7().
Move the sequence into a common macro, which is passed the registers to
use as they differ slightly.
There also needs to be a copy in the selftests, it could be shared in
future if the headers are cleaned up / refactored.
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions
