aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/ctx_sw_asm.S
Commit message (Collapse)AuthorAge
* ARC: [SMP] Fix build failures for large NR_CPUSVineet Gupta2013-11-06
| | | | | | | | | | | | | | | ST.as only takes S9 (255) for offset. This was going out of range when accessing a task_struct field with 4k NR_CPUS (due to 128b of coumaks itself in there). Workaround by using an intermediate register to do the address scaling. There is some duplication of fix for ctx_sw.c and ctx_sw_asm.S however given that C version will go away soon I'm not bothering to factor out the common code. Reported-by: Noam Camus <noamc@ezchip.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: Process-creation/scheduling/idle-loopVineet Gupta2013-02-11
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Thomas Gleixner <tglx@linutronix.de>