mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/bootinfo: Include declaration for fw_unreserved_regions()
Eclair complains that fw_unreserved_regions() can't see it's declaration. Include <asm/setup.h> to address this. This makes Misra Rule 8.4 clean on ARM, so tag it as such. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
488579e956
commit
429840a81e
2 files changed
+3
-1
No files matched your search
@@ -115,7 +115,7 @@ if(string_equal(target,"x86_64"),
|
||||
)
|
||||
|
||||
if(string_equal(target,"arm64"),
|
||||
service_selector({"additional_clean_guidelines","MC3R1.R2.1||MC3R1.R5.3||MC3.R11.2||MC3R1.R16.6||MC3R1.R20.7"})
|
||||
service_selector({"additional_clean_guidelines","MC3R1.R2.1||MC3R1.R5.3||MC3R1.R8.4||MC3.R11.2||MC3R1.R16.6||MC3R1.R20.7"})
|
||||
)
|
||||
|
||||
-reports+={clean:added,"service(clean_guidelines_common||additional_clean_guidelines)"}
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#include <xen/libfdt/libfdt-xen.h>
|
||||
#include <xen/mm.h>
|
||||
|
||||
#include <asm/setup.h>
|
||||
|
||||
struct bootinfo __initdata bootinfo = BOOTINFO_INIT;
|
||||
|
||||
const char * __init boot_module_kind_as_string(bootmodule_kind kind)
|
||||
|
||||