main.c (f89c2f9bf5a64f619de06ded4349dff5a35da860) | main.c (c7c6a8a61b0066ba7e891783032dc2a7873c6dc7) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* Copyright(c) 2016-20 Intel Corporation. */ 3 4#include <linux/file.h> 5#include <linux/freezer.h> 6#include <linux/highmem.h> 7#include <linux/kthread.h> 8#include <linux/miscdevice.h> --- 160 unchanged lines hidden (view full) --- 169 170 kunmap_atomic((void *)(unsigned long)(pginfo.metadata - 171 backing->pcmd_offset)); 172 kunmap_atomic((void *)(unsigned long)pginfo.contents); 173 174 return ret; 175} 176 | 1// SPDX-License-Identifier: GPL-2.0 2/* Copyright(c) 2016-20 Intel Corporation. */ 3 4#include <linux/file.h> 5#include <linux/freezer.h> 6#include <linux/highmem.h> 7#include <linux/kthread.h> 8#include <linux/miscdevice.h> --- 160 unchanged lines hidden (view full) --- 169 170 kunmap_atomic((void *)(unsigned long)(pginfo.metadata - 171 backing->pcmd_offset)); 172 kunmap_atomic((void *)(unsigned long)pginfo.contents); 173 174 return ret; 175} 176 |
177static void sgx_ipi_cb(void *info) | 177void sgx_ipi_cb(void *info) |
178{ 179} 180 181/* 182 * Swap page to the regular memory transformed to the blocked state by using 183 * EBLOCK, which means that it can no longer be referenced (no new TLB entries). 184 * 185 * The first trial just tries to write the page assuming that some other thread --- 759 unchanged lines hidden --- | 178{ 179} 180 181/* 182 * Swap page to the regular memory transformed to the blocked state by using 183 * EBLOCK, which means that it can no longer be referenced (no new TLB entries). 184 * 185 * The first trial just tries to write the page assuming that some other thread --- 759 unchanged lines hidden --- |