mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
arm: Add const attribute to some arm_boot_info pointers
Parameter 'info' is const, so add the missing attribute. v2: Add 'const' to the local variable info in do_cpu_reset() and to the boot_info field in CPUARMState (suggested by Peter Maydell). Cc: Andrzej Zaborowski <balrogg@gmail.com> Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
This commit is contained in:
parent
75ef849696
commit
462a8bc646
4 changed files with 7 additions and 7 deletions
|
@ -31,7 +31,7 @@ struct arm_boot_info {
|
|||
target_phys_addr_t smp_priv_base;
|
||||
int nb_cpus;
|
||||
int board_id;
|
||||
int (*atag_board)(struct arm_boot_info *info, void *p);
|
||||
int (*atag_board)(const struct arm_boot_info *info, void *p);
|
||||
/* Used internally by arm_boot.c */
|
||||
int is_linux;
|
||||
target_phys_addr_t initrd_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue