18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
38c2ecf20Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
48c2ecf20Sopenharmony_ci * for more details.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * Copyright (C) 1997, 98, 99, 2000, 2003 Ralf Baechle
78c2ecf20Sopenharmony_ci * Copyright (C) 1999 Silicon Graphics, Inc.
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci#ifndef _ASM_CACHE_H
108c2ecf20Sopenharmony_ci#define _ASM_CACHE_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#include <kmalloc.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define L1_CACHE_SHIFT		CONFIG_MIPS_L1_CACHE_SHIFT
158c2ecf20Sopenharmony_ci#define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#define __read_mostly __section(".data..read_mostly")
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#endif /* _ASM_CACHE_H */
20