Re: Kernel 2.2.17 with RedHat 7 Problem !

From: David Wragg (dpw@doc.ic.ac.uk)
Date: Mon Oct 23 2000 - 07:06:31 EST


Gregory Maxwell <greg@linuxpower.cx> writes:
> If 2.96 is broken, I'd appreciate it if you would describe the breakage.

As in the RedHat 2.96? Try compiling the following on RedHat 7.0 x86
with "gcc -O2" and take a look at the generated code. Nice, isn't it?

#include <sys/time.h>

void foo(void)
{
                struct itimerval iv;
                
                iv.it_interval.tv_sec = 0;
                iv.it_interval.tv_usec = 250000;
                iv.it_value = iv.it_interval;

                setitimer(ITIMER_REAL, &iv, NULL);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:20 EST