public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: hpa@zytor.com, mingo@elte.hu, linux-kernel@vger.kernel.org
Cc: heukelum@fastmail.fm, Cyrill Gorcunov <gorcunov@openvz.org>
Subject: [patch 3/6] x86: invalid_vm86_irq -- use predefined macros
Date: Mon, 23 Feb 2009 22:56:59 +0300	[thread overview]
Message-ID: <20090223200227.003422554@openvz.org> (raw)
In-Reply-To: 20090223195656.512422509@openvz.org

[-- Attachment #1: x86-invalid_vm86_irq --]
[-- Type: text/plain, Size: 592 bytes --]

Impact: cleanup

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
---

 arch/x86/include/asm/irq_vectors.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.git/arch/x86/include/asm/irq_vectors.h
===================================================================
--- linux-2.6.git.orig/arch/x86/include/asm/irq_vectors.h
+++ linux-2.6.git/arch/x86/include/asm/irq_vectors.h
@@ -128,7 +128,7 @@
 #ifndef __ASSEMBLY__
 static inline int invalid_vm86_irq(int irq)
 {
-	return irq < 3 || irq > 15;
+	return irq < FIRST_VM86_IRQ || irq > LAST_VM86_IRQ;
 }
 #endif
 


  parent reply	other threads:[~2009-02-23 20:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 19:56 [patch 0/6] x86-tip cleanup series Cyrill Gorcunov
2009-02-23 19:56 ` [patch 1/6] x86: head_64.S - remove useless balign Cyrill Gorcunov
2009-02-23 19:56 ` [patch 2/6] x86: head_64.S - use IDT_ENTRIES instead of hardcoded number Cyrill Gorcunov
2009-02-23 19:56 ` Cyrill Gorcunov [this message]
2009-02-23 19:57 ` [patch 4/6] x86: entry_64.S - add missing ENDPROC Cyrill Gorcunov
2009-02-23 19:57 ` [patch 5/6] x86: head_64.S - use GLOBAL macro Cyrill Gorcunov
2009-02-23 19:57 ` [patch 6/6] x86: efi_stub_32,64 - add missing ENDPROCs Cyrill Gorcunov
2009-02-24 17:09 ` [patch 0/6] x86-tip cleanup series Ingo Molnar

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=20090223200227.003422554@openvz.org \
    --to=gorcunov@gmail.com \
    --cc=gorcunov@openvz.org \
    --cc=heukelum@fastmail.fm \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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