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

intel_context_param.h (367B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2019 Intel Corporation
      4 */
      5
      6#ifndef INTEL_CONTEXT_PARAM_H
      7#define INTEL_CONTEXT_PARAM_H
      8
      9#include <linux/types.h>
     10
     11#include "intel_context.h"
     12
     13static inline void
     14intel_context_set_watchdog_us(struct intel_context *ce, u64 timeout_us)
     15{
     16	ce->watchdog.timeout_us = timeout_us;
     17}
     18
     19#endif /* INTEL_CONTEXT_PARAM_H */