-
- Downloads
arch/tile: Split the icache flush code off to a generic <arch> header.
This code is used in other places in our system than in Linux, so to share it we now implement it as an inline function in our low-level <arch> headers, and instantiate it in one file in Linux's arch/tile/lib. The file is now cacheflush.c and is C code rather than the strangely-named and assembler-implemented __invalidate_icache.S. Signed-off-by:Chris Metcalf <cmetcalf@tilera.com> Acked-by:
Arnd Bergmann <arnd@arndb.de>
Showing
- arch/tile/include/arch/icache.h 94 additions, 0 deletionsarch/tile/include/arch/icache.h
- arch/tile/include/asm/cacheflush.h 2 additions, 7 deletionsarch/tile/include/asm/cacheflush.h
- arch/tile/lib/Makefile 1 addition, 1 deletionarch/tile/lib/Makefile
- arch/tile/lib/__invalidate_icache.S 0 additions, 106 deletionsarch/tile/lib/__invalidate_icache.S
- arch/tile/lib/cacheflush.c 23 additions, 0 deletionsarch/tile/lib/cacheflush.c
arch/tile/include/arch/icache.h
0 → 100644
arch/tile/lib/__invalidate_icache.S
deleted
100644 → 0
arch/tile/lib/cacheflush.c
0 → 100644
Please register or sign in to comment