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-uniphier.h (411B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * Copyright (C) 2015-2016 Socionext Inc.
      4 *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
      5 */
      6
      7#ifndef __CACHE_UNIPHIER_H
      8#define __CACHE_UNIPHIER_H
      9
     10#include <linux/errno.h>
     11
     12#ifdef CONFIG_CACHE_UNIPHIER
     13int uniphier_cache_init(void);
     14#else
     15static inline int uniphier_cache_init(void)
     16{
     17	return -ENODEV;
     18}
     19#endif
     20
     21#endif /* __CACHE_UNIPHIER_H */