cache.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) | cache.h (33def8498fdde180023444b08e12b72a9efed41d) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* cache.h: Cache specific code for the Sparc. These include flushing 3 * and direct tag/data line access. 4 * 5 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) 6 */ 7 8#ifndef _SPARC_CACHE_H --- 7 unchanged lines hidden (view full) --- 16#ifdef CONFIG_SPARC32 17#define SMP_CACHE_BYTES_SHIFT 5 18#else 19#define SMP_CACHE_BYTES_SHIFT 6 20#endif 21 22#define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT) 23 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* cache.h: Cache specific code for the Sparc. These include flushing 3 * and direct tag/data line access. 4 * 5 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) 6 */ 7 8#ifndef _SPARC_CACHE_H --- 7 unchanged lines hidden (view full) --- 16#ifdef CONFIG_SPARC32 17#define SMP_CACHE_BYTES_SHIFT 5 18#else 19#define SMP_CACHE_BYTES_SHIFT 6 20#endif 21 22#define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT) 23 |
24#define __read_mostly __attribute__((__section__(".data..read_mostly"))) | 24#define __read_mostly __section(".data..read_mostly") |
25 26#endif /* !(_SPARC_CACHE_H) */ | 25 26#endif /* !(_SPARC_CACHE_H) */ |