lkml.org 
[lkml]   [2015]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/4] x86, irq: Cleanup ordering of vector numbers
    Date
    Enforcing proper descending order of vector number assignments here.
    No functional change.

    Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
    ---
    arch/x86/include/asm/irq_vectors.h | 10 +++++-----
    1 file changed, 5 insertions(+), 5 deletions(-)

    diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
    index cee723f..244d486 100644
    --- a/arch/x86/include/asm/irq_vectors.h
    +++ b/arch/x86/include/asm/irq_vectors.h
    @@ -102,11 +102,6 @@
    */
    #define X86_PLATFORM_IPI_VECTOR 0xf7

    -/* Vector for KVM to deliver posted interrupt IPI */
    -#ifdef CONFIG_HAVE_KVM
    -#define POSTED_INTR_VECTOR 0xf2
    -#endif
    -
    /*
    * IRQ work vector:
    */
    @@ -118,6 +113,11 @@
    /* Vector on which hypervisor callbacks will be delivered */
    #define HYPERVISOR_CALLBACK_VECTOR 0xf3

    +/* Vector for KVM to deliver posted interrupt IPI */
    +#ifdef CONFIG_HAVE_KVM
    +#define POSTED_INTR_VECTOR 0xf2
    +#endif
    +
    /*
    * Local APIC timer IRQ vector is on a different priority level,
    * to work around the 'lost local interrupt if more than 2 IRQ
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-04-30 22:21    [W:2.643 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site