mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Recent Clang objects to types differing between alias and aliasee. Accept the unnecessary overhead and make the two compat stubs real functions. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
41 lines
610 B
C
41 lines
610 B
C
#include <xen/bug.h>
|
|
#include <xen/efi.h>
|
|
#include <xen/errno.h>
|
|
|
|
bool efi_enabled(unsigned int feature)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
unsigned long efi_get_time(void)
|
|
{
|
|
BUG();
|
|
return 0;
|
|
}
|
|
|
|
void efi_reset_system(bool warm) { }
|
|
|
|
int efi_get_info(uint32_t idx, union xenpf_efi_info *info)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
int efi_runtime_call(struct xenpf_efi_runtime_call *op)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
|
|
int efi_compat_get_info(uint32_t idx, union compat_pf_efi_info *info)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
int efi_compat_runtime_call(struct compat_pf_efi_runtime_call *op)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
#endif
|