summaryrefslogtreecommitdiffstats
path: root/efi-secureboot.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2019-02-25 09:38:03 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2019-02-25 09:38:03 -0600
commit484b5a559001f1b7927855072f82e5914c0c4707 (patch)
treecc785768bfc29c258f61753190f2adaec6c81abd /efi-secureboot.patch
parentc98e61b987b386f6c0ffe9b78ac04fbf29abc6b1 (diff)
downloadkernel-484b5a559001f1b7927855072f82e5914c0c4707.tar.gz
kernel-484b5a559001f1b7927855072f82e5914c0c4707.tar.xz
kernel-484b5a559001f1b7927855072f82e5914c0c4707.zip
Linux v4.20.12
Diffstat (limited to 'efi-secureboot.patch')
-rw-r--r--efi-secureboot.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/efi-secureboot.patch b/efi-secureboot.patch
index 1476abab3..48bcb5302 100644
--- a/efi-secureboot.patch
+++ b/efi-secureboot.patch
@@ -165,17 +165,17 @@ index 100ce4a4aff6..62361b647a75 100644
#ifdef CONFIG_EFI
/*
@@ -1169,6 +1177,8 @@ extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
- extern bool efi_is_table_address(unsigned long phys_addr);
+ extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
- extern int efi_apply_persistent_mem_reservations(void);
+ extern bool efi_is_table_address(unsigned long phys_addr);
+
+extern void __init efi_set_secure_boot(enum efi_secureboot_mode mode);
#else
static inline bool efi_enabled(int feature)
{
-@@ -1192,6 +1202,8 @@ static inline int efi_apply_persistent_mem_reservations(void)
+@@ -1192,6 +1202,8 @@ static inline bool efi_is_table_address(unsigned long phys_addr)
{
- return 0;
+ return false;
}
+
+static inline void efi_set_secure_boot(enum efi_secureboot_mode mode) {}