diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-25 17:20:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-28 02:52:43 -0400 |
commit | 5b8b93c4ab17a250a35e6db1cce094bf599a21c6 (patch) | |
tree | 9ce54b39fe8193d245a4511f23d02d4b037d0245 /arch/sparc/kernel/vmlinux.lds.S | |
parent | 4efb55e6916628fde549b0ef1c2830593ccf19c4 (diff) |
sparc32: add support for run-time patching of leon/sun single instructions
This will be used to handle that MMUREGS has different ASI for SUN and LEON.
This is the infrastructure only - users will come later.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Cc: Konrad Eisele <konrad@gaisler.com>
Diffstat (limited to 'arch/sparc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/sparc/kernel/vmlinux.lds.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/kernel/vmlinux.lds.S b/arch/sparc/kernel/vmlinux.lds.S index 0e1605697b49..89c2c29f154b 100644 --- a/arch/sparc/kernel/vmlinux.lds.S +++ b/arch/sparc/kernel/vmlinux.lds.S | |||
@@ -107,6 +107,11 @@ SECTIONS | |||
107 | *(.sun4v_2insn_patch) | 107 | *(.sun4v_2insn_patch) |
108 | __sun4v_2insn_patch_end = .; | 108 | __sun4v_2insn_patch_end = .; |
109 | } | 109 | } |
110 | .leon_1insn_patch : { | ||
111 | __leon_1insn_patch = .; | ||
112 | *(.leon_1insn_patch) | ||
113 | __leon_1insn_patch_end = .; | ||
114 | } | ||
110 | .swapper_tsb_phys_patch : { | 115 | .swapper_tsb_phys_patch : { |
111 | __swapper_tsb_phys_patch = .; | 116 | __swapper_tsb_phys_patch = .; |
112 | *(.swapper_tsb_phys_patch) | 117 | *(.swapper_tsb_phys_patch) |