From: Alan Cox Date: Thu, 15 May 2008 06:28:47 +0000 (-0700) Subject: iphase: Fix 64bit warning. X-Git-Tag: v2.6.26-rc4~7^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffd8211fb18e1052b2d9eded629cc3c0b872d06a;p=platform%2Fkernel%2Flinux-stable.git iphase: Fix 64bit warning. Time is unsigned long (except when you are in a hurry) so we need to store rx_tmp_jif in the right sized object. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- diff --git a/drivers/atm/iphase.h b/drivers/atm/iphase.h index 133eefc..b2cd20f 100644 --- a/drivers/atm/iphase.h +++ b/drivers/atm/iphase.h @@ -1025,7 +1025,8 @@ typedef struct iadev_t { spinlock_t rx_lock, misc_lock; struct atm_vcc **rx_open; /* list of all open VCs */ u16 num_rx_desc, rx_buf_sz, rxing; - u32 rx_pkt_ram, rx_tmp_cnt, rx_tmp_jif; + u32 rx_pkt_ram, rx_tmp_cnt; + unsigned long rx_tmp_jif; void __iomem *RX_DESC_BASE_ADDR; u32 drop_rxpkt, drop_rxcell, rx_cell_cnt, rx_pkt_cnt; struct atm_dev *next_board; /* other iphase devices */