Commit e754f4d1 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michael Ellerman

powerpc/64: move interrupt return asm to interrupt_64.S

The next patch would like to move interrupt return assembly code to a low
location before general text, so move it into its own file and include via
head_64.S
Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210617155116.2167984-7-npiggin@gmail.com
parent 59dc5bfc
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
.section ".head.data.\name\()","a",@progbits .section ".head.data.\name\()","a",@progbits
.endm .endm
.macro use_ftsec name .macro use_ftsec name
.section ".head.text.\name\()" .section ".head.text.\name\()","ax",@progbits
.endm .endm
/* /*
......
This diff is collapsed.
...@@ -194,8 +194,9 @@ CLOSE_FIXED_SECTION(first_256B) ...@@ -194,8 +194,9 @@ CLOSE_FIXED_SECTION(first_256B)
/* This value is used to mark exception frames on the stack. */ /* This value is used to mark exception frames on the stack. */
.section ".toc","aw" .section ".toc","aw"
/* This value is used to mark exception frames on the stack. */
exception_marker: exception_marker:
.tc ID_72656773_68657265[TC],0x7265677368657265 .tc ID_EXC_MARKER[TC],STACK_FRAME_REGS_MARKER
.previous .previous
/* /*
...@@ -211,6 +212,8 @@ OPEN_TEXT_SECTION(0x100) ...@@ -211,6 +212,8 @@ OPEN_TEXT_SECTION(0x100)
USE_TEXT_SECTION() USE_TEXT_SECTION()
#include "interrupt_64.S"
#ifdef CONFIG_PPC_BOOK3E #ifdef CONFIG_PPC_BOOK3E
/* /*
* The booting_thread_hwid holds the thread id we want to boot in cpu * The booting_thread_hwid holds the thread id we want to boot in cpu
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment