/* SPDX-License-Identifier: GPL-2.0 */1/* cache.h: Cache specific code for the Sparc. These include flushing2* and direct tag/data line access.3*4* Copyright (C) 1995, 2007 David S. Miller ([email protected])5*/67#ifndef _SPARC_CACHE_H8#define _SPARC_CACHE_H910#define ARCH_SLAB_MINALIGN __alignof__(unsigned long long)1112#define L1_CACHE_SHIFT 513#define L1_CACHE_BYTES 321415#ifdef CONFIG_SPARC3216#define SMP_CACHE_BYTES_SHIFT 517#else18#define SMP_CACHE_BYTES_SHIFT 619#endif2021#define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT)2223#define __read_mostly __section(".data..read_mostly")2425#endif /* !(_SPARC_CACHE_H) */262728