mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
![Miles Bader](/assets/img/avatar_default.png)
Signed-off-by: Miles Bader <miles@gnu.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
28 lines
732 B
C
28 lines
732 B
C
/*
|
|
* include/asm-v850/cache.h -- Cache operations
|
|
*
|
|
* Copyright (C) 2001,05 NEC Corporation
|
|
* Copyright (C) 2001,05 Miles Bader <miles@gnu.org>
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General
|
|
* Public License. See the file COPYING in the main directory of this
|
|
* archive for more details.
|
|
*
|
|
* Written by Miles Bader <miles@gnu.org>
|
|
*/
|
|
|
|
#ifndef __V850_CACHE_H__
|
|
#define __V850_CACHE_H__
|
|
|
|
/* All cache operations are machine-dependent. */
|
|
#include <asm/machdep.h>
|
|
|
|
#ifndef L1_CACHE_BYTES
|
|
/* This processor has no cache, so just choose an arbitrary value. */
|
|
#define L1_CACHE_BYTES 16
|
|
#define L1_CACHE_SHIFT 4
|
|
#endif
|
|
|
|
#define L1_CACHE_SHIFT_MAX L1_CACHE_SHIFT
|
|
|
|
#endif /* __V850_CACHE_H__ */
|