![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* cache.h: Cache specific code for the Sparc. These include flushing 0003 * and direct tag/data line access. 0004 * 0005 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) 0006 */ 0007 0008 #ifndef _SPARC_CACHE_H 0009 #define _SPARC_CACHE_H 0010 0011 #define ARCH_SLAB_MINALIGN __alignof__(unsigned long long) 0012 0013 #define L1_CACHE_SHIFT 5 0014 #define L1_CACHE_BYTES 32 0015 0016 #ifdef CONFIG_SPARC32 0017 #define SMP_CACHE_BYTES_SHIFT 5 0018 #else 0019 #define SMP_CACHE_BYTES_SHIFT 6 0020 #endif 0021 0022 #define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT) 0023 0024 #define __read_mostly __section(".data..read_mostly") 0025 0026 #endif /* !(_SPARC_CACHE_H) */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |