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

nommu_context.h (420B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __ASM_GENERIC_NOMMU_H
      3#define __ASM_GENERIC_NOMMU_H
      4
      5/*
      6 * Generic hooks for NOMMU architectures, which do not need to do
      7 * anything special here.
      8 */
      9#include <asm-generic/mm_hooks.h>
     10
     11static inline void switch_mm(struct mm_struct *prev,
     12			struct mm_struct *next,
     13			struct task_struct *tsk)
     14{
     15}
     16
     17#include <asm-generic/mmu_context.h>
     18
     19#endif /* __ASM_GENERIC_NOMMU_H */