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

swsusp_64.c (364B)


      1// SPDX-License-Identifier: GPL-2.0-only
      2/*
      3 * PowerPC 64-bit swsusp implementation
      4 *
      5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
      6 */
      7
      8#include <asm/iommu.h>
      9#include <linux/irq.h>
     10#include <linux/sched.h>
     11#include <linux/interrupt.h>
     12#include <linux/nmi.h>
     13
     14void do_after_copyback(void)
     15{
     16	iommu_restore();
     17	touch_softlockup_watchdog();
     18	mb();
     19}