![Andreas Bießmann](/assets/img/avatar_default.png)
Before the CRT was (fully) set up in kernel_entry (bss cleared before in _start, but also not before jump to panic() in no_tag_table case). This patch fixes this up to have a fully working CRT when branching to panic() in no_tag_table. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> Cc: stable@vger.kernel.org
23 lines
509 B
ArmAsm
23 lines
509 B
ArmAsm
/*
|
|
* Non-board-specific low-level startup code
|
|
*
|
|
* Copyright (C) 2004-2006 Atmel Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm/page.h>
|
|
|
|
.section .init.text,"ax"
|
|
.global kernel_entry
|
|
kernel_entry:
|
|
/* Start the show */
|
|
lddpc pc, kernel_start_addr
|
|
|
|
.align 2
|
|
kernel_start_addr:
|
|
.long start_kernel
|