162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
362306a36Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
462306a36Sopenharmony_ci * for more details.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Copyright (C) 1997, 98, 99, 2000, 2003 Ralf Baechle
762306a36Sopenharmony_ci * Copyright (C) 1999 Silicon Graphics, Inc.
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci#ifndef _ASM_CACHE_H
1062306a36Sopenharmony_ci#define _ASM_CACHE_H
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#include <kmalloc.h>
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define L1_CACHE_SHIFT		CONFIG_MIPS_L1_CACHE_SHIFT
1562306a36Sopenharmony_ci#define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#define __read_mostly __section(".data..read_mostly")
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciextern void cache_noop(void);
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#endif /* _ASM_CACHE_H */
22