[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH]Fix "make debug=y" failure in IA64 platform.


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "You, Yongkang" <yongkang.you@xxxxxxxxx>
  • Date: Tue, 24 Oct 2006 17:03:35 +0800
  • Delivery-date: Tue, 24 Oct 2006 02:03:59 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acb3S0jJ8vhiUTItRQSfXaSJsMUHdw==
  • Thread-topic: [PATCH]Fix "make debug=y" failure in IA64 platform.

Without this patch, blktap can not pass build in IA64 platform by "make
debug=y".

Signed-off-by: Yongkang You <yongkang.you@xxxxxxxxx>

diff -r 29b02d929b7e -r 786c5a7fa561 tools/blktap/drivers/blktapctrl.c
--- a/tools/blktap/drivers/blktapctrl.c Mon Oct 23 14:42:52 2006 +0100
+++ b/tools/blktap/drivers/blktapctrl.c Tue Oct 24 16:56:07 2006 +0800
@@ -212,6 +212,7 @@ static void add_disktype(blkif_t *blkif,
        entry->blkif = blkif;
        entry->next = NULL;
        ptr = active_disks[type];
+       last = NULL;

        if (ptr == NULL) {
                active_disks[type] = entry;
diff -r 29b02d929b7e -r 786c5a7fa561 tools/blktap/drivers/tapdisk.c
--- a/tools/blktap/drivers/tapdisk.c    Mon Oct 23 14:42:52 2006 +0100
+++ b/tools/blktap/drivers/tapdisk.c    Tue Oct 24 16:56:07 2006 +0800
@@ -156,6 +156,7 @@ static inline fd_list_entry_t *add_fd_en
        for (i = 0; i < MAX_IOFD; i++) entry->io_fd[i] = io_fd[i];
        entry->s = s;
        entry->next = NULL;
+       last = NULL;

        ptr = fd_start;
        if (ptr == NULL) {

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.