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:
Andrew Cooper committed 2024-11-19 19:53:51 +00:00
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)"}
+2
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.