summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2009-03-31 13:40:52 +0000
committerMike Frysinger <vapier@gentoo.org>2009-06-12 06:03:44 -0400
commitb8d0c778e652d23750cb1af9848408d620cbc425 (patch)
tree36a7a06fbba33cdac49e1b8d31db8118a49e0d29
parent8d5c2f03bb6302a2aa5a4d0d28f59d01e2eea6c1 (diff)
downloadop-kernel-dev-b8d0c778e652d23750cb1af9848408d620cbc425.zip
op-kernel-dev-b8d0c778e652d23750cb1af9848408d620cbc425.tar.gz
Blackfin: allow scheduler functions to be placed into L1
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
-rw-r--r--arch/blackfin/kernel/vmlinux.lds.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S
index 27952ae..8b67167 100644
--- a/arch/blackfin/kernel/vmlinux.lds.S
+++ b/arch/blackfin/kernel/vmlinux.lds.S
@@ -50,7 +50,9 @@ SECTIONS
_text = .;
__stext = .;
TEXT_TEXT
+#ifndef CONFIG_SCHEDULE_L1
SCHED_TEXT
+#endif
LOCK_TEXT
KPROBES_TEXT
*(.text.*)
@@ -180,6 +182,9 @@ SECTIONS
. = ALIGN(4);
__stext_l1 = .;
*(.l1.text)
+#ifdef CONFIG_SCHEDULE_L1
+ SCHED_TEXT
+#endif
. = ALIGN(4);
__etext_l1 = .;
}
OpenPOWER on IntegriCloud