mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Bhupesh Sharma](/assets/img/avatar_default.png)
Now that the ACPI BGRT handling code has been made generic, we can enable it for arm64. Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com> [ Updated commit log to reflect that BGRT is only enabled for arm64, and added missing 'return' statement to the dummy acpi_parse_bgrt() function. ] Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20170404160245.27812-8-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
25 lines
605 B
C
25 lines
605 B
C
#ifndef _LINUX_EFI_BGRT_H
|
|
#define _LINUX_EFI_BGRT_H
|
|
|
|
#include <linux/acpi.h>
|
|
|
|
#ifdef CONFIG_ACPI_BGRT
|
|
|
|
void efi_bgrt_init(struct acpi_table_header *table);
|
|
int __init acpi_parse_bgrt(struct acpi_table_header *table);
|
|
|
|
/* The BGRT data itself; only valid if bgrt_image != NULL. */
|
|
extern size_t bgrt_image_size;
|
|
extern struct acpi_table_bgrt bgrt_tab;
|
|
|
|
#else /* !CONFIG_ACPI_BGRT */
|
|
|
|
static inline void efi_bgrt_init(struct acpi_table_header *table) {}
|
|
static inline int __init acpi_parse_bgrt(struct acpi_table_header *table)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif /* !CONFIG_ACPI_BGRT */
|
|
|
|
#endif /* _LINUX_EFI_BGRT_H */
|