Skip to content

Commit 4b2bf4b

Browse files
fujitacmetcalf-tilera
authored andcommitted
tile: remove homegrown L1_CACHE_ALIGN macro
Let's use the standard L1_CACHE_ALIGN macro instead. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Chris Metcalf <cmetcalf@tilera.com>
1 parent 0707ad3 commit 4b2bf4b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎arch/tile/include/asm/cache.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
/* bytes per L1 data cache line */
2121
#define L1_CACHE_SHIFT CHIP_L1D_LOG_LINE_SIZE()
2222
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
23-
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1)) & -L1_CACHE_BYTES)
2423

2524
/* bytes per L1 instruction cache line */
2625
#define L1I_CACHE_SHIFT CHIP_L1I_LOG_LINE_SIZE()

0 commit comments

Comments
 (0)