void check_for_livepatch_work(void);
unsigned long livepatch_symbols_lookup_by_name(const char *symname);
bool_t is_patch(const void *addr);
-int xen_build_id_check(const Elf_Note *n, unsigned int n_sz,
- const void **p, unsigned int *len);
/* Arch hooks. */
int arch_livepatch_verify_elf(const struct livepatch_elf *elf);
#ifndef __XEN_VERSION_H__
#define __XEN_VERSION_H__
+#include <xen/types.h>
+#include <xen/elfstructs.h>
+
const char *xen_compile_date(void);
const char *xen_compile_time(void);
const char *xen_compile_by(void);
const char *xen_deny(void);
int xen_build_id(const void **p, unsigned int *len);
+#ifdef BUILD_ID
+int xen_build_id_check(const Elf_Note *n, unsigned int n_sz,
+ const void **p, unsigned int *len);
+#endif
+
#endif /* __XEN_VERSION_H__ */