mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 11:03:37 +00:00
Fix the build error lib/atomic64.c: In function 'lock_addr': lib/atomic64.c:40:11: error: 'L1_CACHE_SHIFT' undeclared (first use in this function) lib/atomic64.c:40:11: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Fengguang Wu <[email protected]> Cc: Yoshinori Sato <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
14 lines
289 B
C
14 lines
289 B
C
#ifndef __ARCH_H8300_CACHE_H
|
|
#define __ARCH_H8300_CACHE_H
|
|
|
|
/* bytes per L1 cache line */
|
|
#define L1_CACHE_SHIFT 2
|
|
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
|
|
|
|
/* m68k-elf-gcc 2.95.2 doesn't like these */
|
|
|
|
#define __cacheline_aligned
|
|
#define ____cacheline_aligned
|
|
|
|
#endif
|