Blackfin: allow scheduler functions to be placed into L1
authorRobin Getz <rgetz@blackfin.uclinux.org>
Tue, 31 Mar 2009 13:40:52 +0000 (13:40 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Jun 2009 10:03:44 +0000 (06:03 -0400)
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>
arch/blackfin/kernel/vmlinux.lds.S

index 27952ae047d883ab80b564eebdbba1e4836e2439..8b67167cb4f4cdeac39c465c0be0a5ba4f52711e 100644 (file)
@@ -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 = .;
        }