[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: bootfdt.c is only used during initialization
commit 960cd2cd17eae617dfdb669da3e721077efa7523 Author: Julien Grall <julien.grall@xxxxxxx> AuthorDate: Tue Jan 17 15:53:24 2017 +0000 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Tue Jan 17 15:50:39 2017 -0800 xen/arm: bootfdt.c is only used during initialization This file contains data and code only used at initialization. Mark the file as such in the build system and correct kind_guess. Signed-off-by: Julien Grall <julien.grall@xxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/arch/arm/Makefile | 2 +- xen/arch/arm/bootfdt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index 59b3b53..cf67bbe 100644 --- a/xen/arch/arm/Makefile +++ b/xen/arch/arm/Makefile @@ -5,7 +5,7 @@ subdir-$(CONFIG_ARM_64) += efi subdir-$(CONFIG_ACPI) += acpi obj-$(CONFIG_HAS_ALTERNATIVE) += alternative.o -obj-y += bootfdt.o +obj-y += bootfdt.init.o obj-y += cpu.o obj-y += cpuerrata.o obj-y += cpufeature.o diff --git a/xen/arch/arm/bootfdt.c b/xen/arch/arm/bootfdt.c index d130633..cae6f83 100644 --- a/xen/arch/arm/bootfdt.c +++ b/xen/arch/arm/bootfdt.c @@ -168,7 +168,7 @@ static void __init process_multiboot_node(const void *fdt, int node, const char *name, u32 address_cells, u32 size_cells) { - static int kind_guess = 0; + static int __initdata kind_guess = 0; const struct fdt_property *prop; const __be32 *cell; bootmodule_kind kind; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |