mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/grant: switch included header to make declarations visible
The declarations for {create,replace}_grant_p2m_mapping are
not visible when these functions are defined, therefore the right
header needs to be included to allow them to be visible.
Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
62c84c3031
commit
5c7c09f64e
2 files changed
+3
-2
No files matched your search
@@ -9,8 +9,7 @@
|
||||
|
||||
#include <xen/types.h>
|
||||
|
||||
#include <public/grant_table.h>
|
||||
|
||||
#include <asm/hvm/grant_table.h>
|
||||
#include <asm/p2m.h>
|
||||
|
||||
int create_grant_p2m_mapping(uint64_t addr, mfn_t frame,
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#ifndef __X86_HVM_GRANT_TABLE_H__
|
||||
#define __X86_HVM_GRANT_TABLE_H__
|
||||
|
||||
#include <xen/mm-frame.h>
|
||||
|
||||
#ifdef CONFIG_HVM
|
||||
|
||||
int create_grant_p2m_mapping(uint64_t addr, mfn_t frame,
|
||||
|
||||