OSDN Git Service

metag: smp: don't set irq regs in do_IPI()
authorJames Hogan <james.hogan@imgtec.com>
Mon, 25 Nov 2013 11:14:50 +0000 (11:14 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 29 Nov 2013 14:52:13 +0000 (14:52 +0000)
commit5a25f7bb5aa1b2f876d9df81c44b516e015022f8
tree6554d692afb098239cde53b41278c15179df4825
parentcdf8d75818e3cd30746d38f5fbcdb3745fd267a3
metag: smp: don't set irq regs in do_IPI()

Since commit f6b30d32d242 (metag: kick: add missing irq_enter/exit to
kick_handler()), the main kick_handler() function deals with setting and
restoring the irq registers pointer. Therefore do_IPI() which is called
indirectly from kick_handler() doesn't need to do that itself any
longer. Therefore remove that code and do_IPI()'s pt_regs argument.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-metag@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
arch/metag/kernel/smp.c