|
@@ -56,6 +56,9 @@ static __init pteval_t create_mapping_protection(efi_memory_desc_t *md)
|
|
return pgprot_val(PAGE_KERNEL_EXEC);
|
|
return pgprot_val(PAGE_KERNEL_EXEC);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/* we will fill this structure from the stub, so don't put it in .bss */
|
|
|
|
+struct screen_info screen_info __section(.data);
|
|
|
|
+
|
|
int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md)
|
|
int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md)
|
|
{
|
|
{
|
|
pteval_t prot_val = create_mapping_protection(md);
|
|
pteval_t prot_val = create_mapping_protection(md);
|