From: Al Viro Date: Sun, 29 Apr 2012 07:35:29 +0000 (-0400) Subject: microblaze: evict the check for kernel_mode(regs) from do_notify_resume() X-Git-Tag: v3.9-rc1~98^2~6^14~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c886a9fc1f69c0e53788a9c4a780b6b8825bd4ab;p=pandora-kernel.git microblaze: evict the check for kernel_mode(regs) from do_notify_resume() Only one caller hasn't done it in assembler - work_pending on !MMU. Everything else can't reach do_notify_resume() if we are returning to kernel mode, so move that check to that sole caller and make do_notify_resume() reachable only when returning to userland. Signed-off-by: Al Viro --- Reading git-diff-tree failed