mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 23:36:23 +09:00
69e44f7131
commit e9a2f8b599d0bc22a1b13e69527246ac39c697b4 upstream Before moving the DT mapping out of the linear region, let's prepare for this change by removing all the phys-to-virt translations of the __atags_pointer variable, and perform this translation only once at setup time. Tested-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 lines
423 B
C
16 lines
423 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
void convert_to_tag_list(struct tag *tags);
|
|
|
|
#ifdef CONFIG_ATAGS
|
|
const struct machine_desc *setup_machine_tags(void *__atags_vaddr,
|
|
unsigned int machine_nr);
|
|
#else
|
|
static inline const struct machine_desc * __init __noreturn
|
|
setup_machine_tags(void *__atags_vaddr, unsigned int machine_nr)
|
|
{
|
|
early_print("no ATAGS support: can't continue\n");
|
|
while (true);
|
|
unreachable();
|
|
}
|
|
#endif
|