... rather than obtaining it via function pointer.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
bitmap_fill(module_map, mbi->mods_count);
__clear_bit(0, module_map); /* Dom0 kernel is always first */
- xsm_multiboot_init(module_map, mbi, bootstrap_map);
+ xsm_multiboot_init(module_map, mbi);
microcode_grab_module(module_map, mbi, bootstrap_map);
#ifdef CONFIG_MULTIBOOT
extern int xsm_multiboot_init(unsigned long *module_map,
- const multiboot_info_t *mbi,
- void *(*bootstrap_map)(const module_t *));
+ const multiboot_info_t *mbi);
extern int xsm_multiboot_policy_init(unsigned long *module_map,
const multiboot_info_t *mbi,
- void *(*bootstrap_map)(const module_t *),
void **policy_buffer,
size_t *policy_size);
#endif
#ifdef CONFIG_MULTIBOOT
static inline int xsm_multiboot_init (unsigned long *module_map,
- const multiboot_info_t *mbi,
- void *(*bootstrap_map)(const module_t *))
+ const multiboot_info_t *mbi)
{
return 0;
}
#ifdef CONFIG_XSM
+#ifdef CONFIG_MULTIBOOT
+#include <asm/setup.h>
+#endif
+
#ifdef CONFIG_HAS_DEVICE_TREE
#include <asm/setup.h>
#endif
#ifdef CONFIG_MULTIBOOT
int __init xsm_multiboot_init(unsigned long *module_map,
- const multiboot_info_t *mbi,
- void *(*bootstrap_map)(const module_t *))
+ const multiboot_info_t *mbi)
{
int ret = 0;
void *policy_buffer = NULL;
if ( XSM_MAGIC )
{
- ret = xsm_multiboot_policy_init(module_map, mbi, bootstrap_map,
+ ret = xsm_multiboot_policy_init(module_map, mbi,
&policy_buffer, &policy_size);
if ( ret )
{
#include <xsm/xsm.h>
#ifdef CONFIG_MULTIBOOT
#include <xen/multiboot.h>
+#include <asm/setup.h>
#endif
#include <xen/bitops.h>
#ifdef CONFIG_HAS_DEVICE_TREE
#ifdef CONFIG_MULTIBOOT
int __init xsm_multiboot_policy_init(unsigned long *module_map,
const multiboot_info_t *mbi,
- void *(*bootstrap_map)(const module_t *),
void **policy_buffer,
size_t *policy_size)
{