summaryrefslogtreecommitdiffstats
path: root/include/linux/nv-p2p.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nv-p2p.h')
-rw-r--r--include/linux/nv-p2p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/nv-p2p.h b/include/linux/nv-p2p.h
index c1dee7cf..40e82796 100644
--- a/include/linux/nv-p2p.h
+++ b/include/linux/nv-p2p.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -40,7 +40,6 @@
40#include <linux/highmem.h> 40#include <linux/highmem.h>
41#include <linux/mutex.h> 41#include <linux/mutex.h>
42#include <linux/spinlock.h> 42#include <linux/spinlock.h>
43#include <nvgpu/linux/lock.h>
44 43
45#define NVIDIA_P2P_UNINITIALIZED 0x0 44#define NVIDIA_P2P_UNINITIALIZED 0x0
46#define NVIDIA_P2P_PINNED 0x1 45#define NVIDIA_P2P_PINNED 0x1
@@ -64,7 +63,7 @@ struct nvidia_p2p_page_table {
64 63
65 struct mm_struct *mm; 64 struct mm_struct *mm;
66 struct mmu_notifier mn; 65 struct mmu_notifier mn;
67 struct nvgpu_mutex lock; 66 struct mutex lock;
68 void (*free_callback)(void *data); 67 void (*free_callback)(void *data);
69 void *data; 68 void *data;
70}; 69};