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

[Xen-changelog] Fix signedness issue in xenlinux timer interrupt handler.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d4e19aca1f7240b07fe3839b673d985e5b4a12d9
# Parent  2360c4d7bb2fd8799aa770d872861bb9fabe7671
Fix signedness issue in xenlinux timer interrupt handler.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 2360c4d7bb2f -r d4e19aca1f72 
linux-2.6-xen-sparse/arch/xen/i386/kernel/time.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/time.c  Mon Aug  8 12:31:04 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/time.c  Mon Aug  8 14:13:36 2005
@@ -122,7 +122,7 @@
 static u64 processed_system_time;   /* System time (ns) at last processing. */
 static DEFINE_PER_CPU(u64, processed_system_time);
 
-#define NS_PER_TICK (1000000000ULL/HZ)
+#define NS_PER_TICK (1000000000L/HZ)
 
 static inline void __normalize_time(time_t *sec, s64 *nsec)
 {

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


 


Rackspace

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