Re: including linux/delay.h vs asm/delay.h

Ruediger Oertel (ro@suse.de)
Wed, 28 Jun 2000 16:56:58 +0200 (MEST)


On Wed, 28 Jun 2000, Russell King wrote:

> Ruediger Oertel writes:
> > net/am79c961a.c:#include <asm/delay.h>
>
> This is part of the ARM architecture, which is maintained separately
> from the main-stream kernel in the 2.2 tree.
>
> Don't worry about it; and please don't correct it.

The singular files are not the point I'm trying to make here.

I'd rather vote to declare "loops_per_sec" also in
include/asm-alpha/delay.h
since it's used in this file (or, speaking more general,
move the declaration of loops_per_sec to the arch-specific
delay.h for all archs it's really used on).

The other possibility would of course be to change all
drivers to include <linux/delay.h> instead of <asm/delay.h>,
but this might have unwanted results on other architectures,
but since <linux/delay.h> exists, maybe it really should
be used everywhere ....

-- 
with kind regards (mit freundlichem Grinsen),
                              Ruediger Oertel (ro@suse.de)
----------------------------------------------------------
          does "DONT PANIC" give a hint ?

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