Blackfin: allow scheduler functions to be placed into L1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 1:59 pm

Gitweb:     http://git.kernel.org/linus/b8d0c778e652d23750cb1af9848408d620cbc425
Commit:     b8d0c778e652d23750cb1af9848408d620cbc425
Parent:     8d5c2f03bb6302a2aa5a4d0d28f59d01e2eea6c1
Author:     Robin Getz <rgetz@blackfin.uclinux.org>
AuthorDate: Tue Mar 31 13:40:52 2009 +0000
Committer:  Mike Frysinger <vapier@gentoo.org>
CommitDate: Fri Jun 12 06:03:44 2009 -0400

    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>
---
 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 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 = .;
 	}
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Blackfin: allow scheduler functions to be placed into L1, Linux Kernel Mailing ..., (Fri Jun 12, 1:59 pm)