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

types.h (371B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
      4 */
      5#ifndef _ASM_TYPES_H
      6#define _ASM_TYPES_H
      7
      8#include <asm-generic/int-ll64.h>
      9#include <uapi/asm/types.h>
     10
     11#ifdef __ASSEMBLY__
     12#define _ULCAST_
     13#define _U64CAST_
     14#else
     15#define _ULCAST_ (unsigned long)
     16#define _U64CAST_ (u64)
     17#endif
     18
     19#endif /* _ASM_TYPES_H */