summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/sections.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-25 21:20:09 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-27 23:52:43 -0700
commit5b8b93c4ab17a250a35e6db1cce094bf599a21c6 (patch)
tree9ce54b39fe8193d245a4511f23d02d4b037d0245 /arch/sparc/include/asm/sections.h
parent4efb55e6916628fde549b0ef1c2830593ccf19c4 (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/include/asm/sections.h')
-rw-r--r--arch/sparc/include/asm/sections.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/sections.h b/arch/sparc/include/asm/sections.h
index 0b0553bbd8a0..f300d1a9b2b6 100644
--- a/arch/sparc/include/asm/sections.h
+++ b/arch/sparc/include/asm/sections.h
@@ -7,4 +7,7 @@
/* sparc entry point */
extern char _start[];
+extern char __leon_1insn_patch[];
+extern char __leon_1insn_patch_end[];
+
#endif