mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-08 13:48:02 +07:00
[ACPI] CONFIG_ACPI=n build fix
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
14454a1b3f
commit
53de49f52e
@ -420,16 +420,6 @@ extern int sbf_port ;
|
|||||||
|
|
||||||
#define acpi_mp_config 0
|
#define acpi_mp_config 0
|
||||||
|
|
||||||
static inline int acpi_boot_init(void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline int acpi_boot_table_init(void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /*!CONFIG_ACPI_BOOT*/
|
#endif /*!CONFIG_ACPI_BOOT*/
|
||||||
|
|
||||||
int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low);
|
int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low);
|
||||||
@ -536,5 +526,17 @@ static inline int acpi_get_pxm(acpi_handle handle)
|
|||||||
|
|
||||||
extern int pnpacpi_disabled;
|
extern int pnpacpi_disabled;
|
||||||
|
|
||||||
|
#else /* CONFIG_ACPI */
|
||||||
|
|
||||||
|
static inline int acpi_boot_init(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline int acpi_boot_table_init(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_ACPI */
|
#endif /* CONFIG_ACPI */
|
||||||
#endif /*_LINUX_ACPI_H*/
|
#endif /*_LINUX_ACPI_H*/
|
||||||
|
Loading…
Reference in New Issue
Block a user