WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] remove dead pv_irq_ops.init_IRQ_late

To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] remove dead pv_irq_ops.init_IRQ_late
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Wed, 26 Mar 2008 14:39:37 +0800
Delivery-date: Tue, 25 Mar 2008 23:39:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciPDCk/qVv1SY2RQEGQDkfZs8g1fg==
Thread-topic: remove dead pv_irq_ops.init_IRQ_late
commit d9c6c77dbb20cd5cc9ffbbe8e2398eb737a83162
Author: root <root@xxxxxxxxxxxxxxxxxxxxxx>
Date:   Wed Mar 26 14:14:31 2008 +0800

    Remove paravirt_init_IRQ_late since it is never activated.
    
    Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@xxxxxxxxx>

diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c
index 10d9a5d..ceafde9 100644
--- a/arch/ia64/kernel/irq_ia64.c
+++ b/arch/ia64/kernel/irq_ia64.c
@@ -665,7 +665,6 @@ init_IRQ (void)
        pfm_init_percpu();
 #endif
        platform_irq_init();
-       paravirt_init_IRQ_late();
 }
 
 void
diff --git a/include/asm-ia64/paravirt.h b/include/asm-ia64/paravirt.h
index 3721eff..285f7ff 100644
--- a/include/asm-ia64/paravirt.h
+++ b/include/asm-ia64/paravirt.h
@@ -164,7 +164,6 @@ __iosapic_write(char __iomem *iosapic, unsigned int
reg, u32 val)
 
 struct pv_irq_ops {
        void (*init_IRQ_early)(void);
-       void (*init_IRQ_late)(void);
 
        int (*assign_irq_vector)(int irq);
        void (*free_irq_vector)(int vector);
@@ -184,13 +183,6 @@ paravirt_init_IRQ_early(void)
        pv_irq_ops.init_IRQ_early();
 }
 
-static inline void
-paravirt_init_IRQ_late(void)
-{
-       if (pv_irq_ops.init_IRQ_late)
-               pv_irq_ops.init_IRQ_late();
-}
-
 static inline int
 assign_irq_vector(int irq)
 {
@@ -266,7 +258,6 @@ paravirt_do_steal_accounting(unsigned long *new_itm)
 #define paravirt_inst_patch_module(start, end)         do { } while (0)
 
 #define paravirt_init_IRQ_early()                      do { } while (0)
-#define paravirt_init_IRQ_late()                       do { } while (0)
 
 #define paravirt_init_missing_ticks_accounting(cpu)    do { } while (0)
 #define paravirt_do_steal_accounting()                 0

Attachment: irq_ia64_clean1.patch
Description: irq_ia64_clean1.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] remove dead pv_irq_ops.init_IRQ_late, Dong, Eddie <=