[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4527C2F7.2010102@garzik.org>
Date: Sat, 07 Oct 2006 11:08:39 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Al Viro <viro@....linux.org.uk>,
Linus Torvalds <torvalds@...l.org>,
Andrew Morton <akpm@...l.org>
CC: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] minimal alpha pt_regs fixes
Al Viro wrote:
> diff --git a/include/asm-alpha/irq_regs.h b/include/asm-alpha/irq_regs.h
> new file mode 100644
> index 0000000..3dd9c0b
> --- /dev/null
> +++ b/include/asm-alpha/irq_regs.h
> @@ -0,0 +1 @@
> +#include <asm-generic/irq_regs.h>
ACK, of course, but I wonder if we can do something about these 1-line
header files.
Would it be reasonable to encourage developers to do something like
#ifdef ARCH_HAVE_FEATURE_FOO
#include <asm/foo.h>
#else
#include <asm-generic/foo.h>
#endif
to avoid these 1-line headers?
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists