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

mvebu-pmsu.h (520B)


      1/*
      2 * Copyright (C) 2012 Marvell
      3 *
      4 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      5 *
      6 * This file is licensed under the terms of the GNU General Public
      7 * License version 2.  This program is licensed "as is" without any
      8 * warranty of any kind, whether express or implied.
      9 */
     10
     11#ifndef __MVEBU_PMSU_H__
     12#define __MVEBU_PMSU_H__
     13
     14#ifdef CONFIG_MACH_MVEBU_V7
     15int mvebu_pmsu_dfs_request(int cpu);
     16#else
     17static inline int mvebu_pmsu_dfs_request(int cpu) { return -ENODEV; }
     18#endif
     19
     20#endif /* __MVEBU_PMSU_H__ */