lkml.org 
[lkml]   [2002]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [ANNOUNCE] 2.4.18-pre8-mjc
On 07 Feb 2002 04:17:54 -0500
Michael Cohen <lkml@ohdarn.net> wrote:

| Volatile xtime (MV)

The change in include/sched.h seems to miss its counter-part in kernel/timer.c, hence a type mismatch leading to a compilation failure.

--- linux/kernel/timer.c Thu Feb 7 23:44:00 2002
+++ linux/kernel/timer.c~ Thu Feb 7 23:27:47 2002
@@ -34,7 +34,7 @@
long tick = (1000000 + HZ/2) / HZ; /* timer interrupt period */

/* The current time */
-struct timeval xtime __attribute__ ((aligned (16)));
+volatile struct timeval xtime __attribute__ ((aligned (16)));

/* Don't completely fail for HZ > 500. */
int tickadj = 500/HZ ? : 1; /* microsecs */

Regards,
Thibaut

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [from the cache]
©2003-2011 Jasper Spaans