Skip to content
Commit 514b1a84 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi: x86: clean up previous struct mm switching



EFI on x86_64 keeps track of the process's MM pointer by storing it
in a global struct called 'efi_scratch', which also used to contain
the mixed mode stack pointer. Let's clean this up a little bit, by
getting rid of the struct, and pushing the mm handling into the
callees entirely.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 3e1e00c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment