fixup build errors after merge upstream code
authorNick Xie <nick@khadas.com>
Thu, 25 Jul 2019 10:18:46 +0000 (18:18 +0800)
committerNick Xie <nick@khadas.com>
Thu, 25 Jul 2019 10:18:46 +0000 (18:18 +0800)
Signed-off-by: Nick Xie <nick@khadas.com>
drivers/firmware/efi/libstub/efi-stub-helper.c

index c84bacb..d984332 100644 (file)
 
 static unsigned long __chunk_size = EFI_READ_CHUNK_SIZE;
 
-static int __section(.data) __nokaslr;
-
-int __pure nokaslr(void)
-{
-       return __nokaslr;
-}
-
 /*
  * Allow the platform to override the allocation granularity: this allows
  * systems that have the capability to run with a larger page size to deal