[PATCH] Kill L1_CACHE_SHIFT_MAX
Kill L1_CACHE_SHIFT from all arches. Since L1_CACHE_SHIFT_MAX is not used anymore with the introduction of INTERNODE_CACHE, kill L1_CACHE_SHIFT_MAX. Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org> Signed-off-by: Shai Fultheim <shai@scalex86.org> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
22fc6eccbf
commit
1fd73c6b67
@@ -4,6 +4,5 @@
|
||||
/* Etrax 100LX have 32-byte cache-lines. */
|
||||
#define L1_CACHE_BYTES 32
|
||||
#define L1_CACHE_SHIFT 5
|
||||
#define L1_CACHE_SHIFT_MAX 5
|
||||
|
||||
#endif /* _ASM_ARCH_CACHE_H */
|
||||
|
||||
@@ -4,6 +4,5 @@
|
||||
/* A cache-line is 32 bytes. */
|
||||
#define L1_CACHE_BYTES 32
|
||||
#define L1_CACHE_SHIFT 5
|
||||
#define L1_CACHE_SHIFT_MAX 5
|
||||
|
||||
#endif /* _ASM_CRIS_ARCH_CACHE_H */
|
||||
|
||||
@@ -153,7 +153,7 @@ dma_set_mask(struct device *dev, u64 mask)
|
||||
static inline int
|
||||
dma_get_cache_alignment(void)
|
||||
{
|
||||
return (1 << L1_CACHE_SHIFT_MAX);
|
||||
return (1 << INTERNODE_CACHE_SHIFT);
|
||||
}
|
||||
|
||||
#define dma_is_consistent(d) (1)
|
||||
|
||||
Reference in New Issue
Block a user