]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/linux/efi-bgrt.h
powerpc/perf: Add thread IMC PMU support
[mirror_ubuntu-artful-kernel.git] / include / linux / efi-bgrt.h
CommitLineData
2223af38
JT
1#ifndef _LINUX_EFI_BGRT_H
2#define _LINUX_EFI_BGRT_H
3
2223af38
JT
4#include <linux/acpi.h>
5
7b0a9114
DY
6#ifdef CONFIG_ACPI_BGRT
7
8void efi_bgrt_init(struct acpi_table_header *table);
6e7300cf 9int __init acpi_parse_bgrt(struct acpi_table_header *table);
2223af38
JT
10
11/* The BGRT data itself; only valid if bgrt_image != NULL. */
2223af38 12extern size_t bgrt_image_size;
7b0a9114 13extern struct acpi_table_bgrt bgrt_tab;
2223af38
JT
14
15#else /* !CONFIG_ACPI_BGRT */
16
7b0a9114 17static inline void efi_bgrt_init(struct acpi_table_header *table) {}
6e7300cf
BS
18static inline int __init acpi_parse_bgrt(struct acpi_table_header *table)
19{
20 return 0;
21}
2223af38
JT
22
23#endif /* !CONFIG_ACPI_BGRT */
24
25#endif /* _LINUX_EFI_BGRT_H */