Re: [PATCH-2.2.18] compile on Alpha - loops_per_jiffy

2000-10-02 Thread Alan Cox

> following patch. It only replaces loops_per_sec with
> loops_per_jiffy*HZ. It works for me, although I'm not
> totally sure this is quite correct.

loops_per_jiffy*HZ overflows at 2GHz for an int. If the alpha is using ulong
for this I guess it works fine at 64bits.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[PATCH-2.2.18] compile on Alpha - loops_per_jiffy

2000-10-02 Thread willy tarreau

Hi Alan,

2.2.18pre14 compiles and runs on Alpha with the
following patch. It only replaces loops_per_sec with
loops_per_jiffy*HZ. It works for me, although I'm not
totally sure this is quite correct.

BTW, I had to remove nvram and drm to compile. Will
see later why (unknown references to LOCK_PREFIX and
CHECK_DRIVER_INIT).

The loops_per_jiffy patch is attached.

Willy.



___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com
 2.2.18pre14-alpha.diff.gz


[PATCH-2.2.18] compile on Alpha - loops_per_jiffy

2000-10-02 Thread willy tarreau

Hi Alan,

2.2.18pre14 compiles and runs on Alpha with the
following patch. It only replaces loops_per_sec with
loops_per_jiffy*HZ. It works for me, although I'm not
totally sure this is quite correct.

BTW, I had to remove nvram and drm to compile. Will
see later why (unknown references to LOCK_PREFIX and
CHECK_DRIVER_INIT).

The loops_per_jiffy patch is attached.

Willy.



___
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, 
Yahoo! Messenger : http://fr.messenger.yahoo.com
 2.2.18pre14-alpha.diff.gz


Re: [PATCH-2.2.18] compile on Alpha - loops_per_jiffy

2000-10-02 Thread Alan Cox

 following patch. It only replaces loops_per_sec with
 loops_per_jiffy*HZ. It works for me, although I'm not
 totally sure this is quite correct.

loops_per_jiffy*HZ overflows at 2GHz for an int. If the alpha is using ulong
for this I guess it works fine at 64bits.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/