linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Zhang Zhuoyu <hellozzy1988@126.com>
To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au,
	tglx@linutronix.de, jiang.liu@linux.intel.com,
	zhangzhuoyu@cmss.chinamobile.com
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()
Date: Wed, 16 Dec 2015 00:14:56 -0500	[thread overview]
Message-ID: <1450242896-8322-1-git-send-email-hellozzy1988@126.com> (raw)

From: Zhang Zhuoyu <zhangzhuoyu@cmss.chinamobile.com>

Remove paradoxical and unnecessary lines before disable local interrupt.

Signed-off-by: Zhang Zhuoyu <zhangzhuoyu@cmss.chinamobile.com>
---
 arch/powerpc/kernel/irq.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index 290559d..03fa686 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -454,8 +454,6 @@ void migrate_irqs(void)
 
 	free_cpumask_var(mask);
 
-	local_irq_enable();
-	mdelay(1);
 	local_irq_disable();
 }
 #endif
-- 
1.8.3.1

             reply	other threads:[~2015-12-16  5:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-16  5:14 Zhang Zhuoyu [this message]
2015-12-16  6:08 ` [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs() Daniel Axtens
2015-12-16 11:31   ` Michael Ellerman
2015-12-16 11:54     ` Denis Kirjanov
2015-12-16 14:45       ` Zhang Zhuoyu
2015-12-23  2:35       ` Zhang Zhuoyu
2015-12-23 21:55         ` Denis Kirjanov
     [not found]           ` <CAOJe8K2AxWR+tjHhTSpk6_CUZSp+8dmnwzuZJ3s29LmLMJBytw@mail.gmail.com>
2015-12-24  7:05             ` Zhang Zhuoyu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450242896-8322-1-git-send-email-hellozzy1988@126.com \
    --to=hellozzy1988@126.com \
    --cc=benh@kernel.crashing.org \
    --cc=jiang.liu@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=paulus@samba.org \
    --cc=tglx@linutronix.de \
    --cc=zhangzhuoyu@cmss.chinamobile.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).