diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2009-03-31 09:40:52 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-12 06:03:44 -0400 |
commit | b8d0c778e652d23750cb1af9848408d620cbc425 (patch) | |
tree | 36a7a06fbba33cdac49e1b8d31db8118a49e0d29 /arch/blackfin/kernel/vmlinux.lds.S | |
parent | 8d5c2f03bb6302a2aa5a4d0d28f59d01e2eea6c1 (diff) |
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>
Diffstat (limited to 'arch/blackfin/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/blackfin/kernel/vmlinux.lds.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index 27952ae047d8..8b67167cb4f4 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
@@ -50,7 +50,9 @@ SECTIONS | |||
50 | _text = .; | 50 | _text = .; |
51 | __stext = .; | 51 | __stext = .; |
52 | TEXT_TEXT | 52 | TEXT_TEXT |
53 | #ifndef CONFIG_SCHEDULE_L1 | ||
53 | SCHED_TEXT | 54 | SCHED_TEXT |
55 | #endif | ||
54 | LOCK_TEXT | 56 | LOCK_TEXT |
55 | KPROBES_TEXT | 57 | KPROBES_TEXT |
56 | *(.text.*) | 58 | *(.text.*) |
@@ -180,6 +182,9 @@ SECTIONS | |||
180 | . = ALIGN(4); | 182 | . = ALIGN(4); |
181 | __stext_l1 = .; | 183 | __stext_l1 = .; |
182 | *(.l1.text) | 184 | *(.l1.text) |
185 | #ifdef CONFIG_SCHEDULE_L1 | ||
186 | SCHED_TEXT | ||
187 | #endif | ||
183 | . = ALIGN(4); | 188 | . = ALIGN(4); |
184 | __etext_l1 = .; | 189 | __etext_l1 = .; |
185 | } | 190 | } |