blob: 8b14c2706aa52ca83e07ff4dcb37c71850d133bc [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1997, 98, 99, 2000, 2003 Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
8 */
9#ifndef _ASM_CACHE_H
10#define _ASM_CACHE_H
11
Paul Burtonae5b0672017-08-01 13:32:57 -070012#include <kmalloc.h>
13
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT
15#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
16
Catalin Marinasf8bec752011-03-29 11:40:06 +010017#define __read_mostly __attribute__((__section__(".data..read_mostly")))
David Daney1befdd52010-10-14 12:36:49 -070018
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#endif /* _ASM_CACHE_H */