cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

cache.h (330B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
      4 */
      5#ifndef _ASM_CACHE_H
      6#define _ASM_CACHE_H
      7
      8#define L1_CACHE_SHIFT		CONFIG_L1_CACHE_SHIFT
      9#define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
     10
     11#define __read_mostly __section(".data..read_mostly")
     12
     13#endif /* _ASM_CACHE_H */