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

nitrox_debugfs.h (462B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __NITROX_DEBUGFS_H
      3#define __NITROX_DEBUGFS_H
      4
      5#include "nitrox_dev.h"
      6
      7#ifdef CONFIG_DEBUG_FS
      8void nitrox_debugfs_init(struct nitrox_device *ndev);
      9void nitrox_debugfs_exit(struct nitrox_device *ndev);
     10#else
     11static inline void nitrox_debugfs_init(struct nitrox_device *ndev)
     12{
     13}
     14
     15static inline void nitrox_debugfs_exit(struct nitrox_device *ndev)
     16{
     17}
     18#endif /* !CONFIG_DEBUG_FS */
     19
     20#endif /* __NITROX_DEBUGFS_H */