diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-09-23 14:08:10 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-23 14:08:10 -0700 |
commit | 93ac1557751a0c17a85f49d715b96833acf39dc6 (patch) | |
tree | 7a8d8f6570ce956e8e66282c707b1f34d168434d /pkg/ring0 | |
parent | 8627db006bda75fd81d17bf4535b381abafaed8a (diff) | |
parent | 8544a8f4274ab0c8c7c2f6e9e7490fc2c6c3bbbd (diff) |
Merge pull request #6573 from avagin:kvm-seccomp-mmap
PiperOrigin-RevId: 398572735
Diffstat (limited to 'pkg/ring0')
-rw-r--r-- | pkg/ring0/pagetables/pagetables.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/ring0/pagetables/pagetables.go b/pkg/ring0/pagetables/pagetables.go index 9dac53c80..3f17fba49 100644 --- a/pkg/ring0/pagetables/pagetables.go +++ b/pkg/ring0/pagetables/pagetables.go @@ -322,12 +322,3 @@ func (p *PageTables) Lookup(addr hostarch.Addr, findFirst bool) (virtual hostarc func (p *PageTables) MarkReadOnlyShared() { p.readOnlyShared = true } - -// PrefaultRootTable touches the root table page to be sure that its physical -// pages are mapped. -// -//go:nosplit -//go:noinline -func (p *PageTables) PrefaultRootTable() PTE { - return p.root[0] -} |