summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/efistub.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-02-10 17:02:43 +0100
committerArd Biesheuvel <ardb@kernel.org>2020-02-23 21:57:15 +0100
commit5193a33d78ce8b4fdf880a754700bce21b3756b5 (patch)
tree6d9f1bd27f7dc1b941ac454d8148e0fe658d9a85 /drivers/firmware/efi/libstub/efistub.h
parentb87174541abcad8d37ab799fa431ca225175ca19 (diff)
downloadlinux-5193a33d78ce8b4fdf880a754700bce21b3756b5.tar.gz
linux-5193a33d78ce8b4fdf880a754700bce21b3756b5.tar.bz2
linux-5193a33d78ce8b4fdf880a754700bce21b3756b5.zip
efi/libstub: Move file I/O support code into separate file
Split off the file I/O support code into a separate source file so it ends up in a separate object file in the static library, allowing the linker to omit it if the routines are not used. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/efistub.h')
-rw-r--r--drivers/firmware/efi/libstub/efistub.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/libstub/efistub.h b/drivers/firmware/efi/libstub/efistub.h
index 5123def761e9..e057d509d5d8 100644
--- a/drivers/firmware/efi/libstub/efistub.h
+++ b/drivers/firmware/efi/libstub/efistub.h
@@ -31,6 +31,7 @@
#define __efistub_global
#endif
+extern bool __pure nochunk(void);
extern bool __pure nokaslr(void);
extern bool __pure is_quiet(void);
extern bool __pure novamap(void);