linux-mips-fnet
[Top] [All Lists]

Re: Current cvs kernerl fails to compile for decstation

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: Current cvs kernerl fails to compile for decstation
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Fri, 18 Feb 2000 22:36:28 +0100
Cc: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu
In-reply-to: <20000218102505.B369@paradigm.rfc822.org>
References: <20000218102505.B369@paradigm.rfc822.org>
On Fri, Feb 18, 2000 at 10:25:05AM +0100, Florian Lohoff wrote:

> #if HZ == 100
> #define TCP_TW_RECYCLE_TICK (7+2-TCP_TW_RECYCLE_SLOTS_LOG)
> #elif HZ == 1024
> #define TCP_TW_RECYCLE_TICK (10+2-TCP_TW_RECYCLE_SLOTS_LOG)
> #else
> #error HZ != 100 && HZ != 1024.
> #endif

How about making that:

#if HZ == 100
#define TCP_TW_RECYCLE_TICK (7+2-TCP_TW_RECYCLE_SLOTS_LOG)
#elif HZ == 64
#define TCP_TW_RECYCLE_TICK (6+2-TCP_TW_RECYCLE_SLOTS_LOG)
#elif HZ == 1024
#define TCP_TW_RECYCLE_TICK (10+2-TCP_TW_RECYCLE_SLOTS_LOG)
#else
#error HZ != 100 && HZ != 1024.
#endif

Without further reading the context that would by my first attempt.

> Hrmpf ...

Imagine, and tomorrow I'm going to break all networking drivers :-)

  Ralf

<Prev in Thread] Current Thread [Next in Thread>