Re: [PATCH] Minor fixes to generic do_div

From: Andrew Morton
Date: Fri Oct 20 2006 - 01:50:13 EST


On Thu, 19 Oct 2006 23:36:38 -0600
Matthew Wilcox <matthew@xxxxxx> wrote:

> On Thu, Oct 19, 2006 at 09:59:54PM -0700, Andrew Morton wrote:
> > Can we use typecheck(), from include/linux/kernel.h?
>
> I don't know.
>
> It's copied and pasted from down below, so possibly this was
> intentionally not used. or possibly the author didn't know about
> typecheck().

or typecheck() was added afterwards.

One could create a typecheck.h. Or a handy-macros.h whose mandate is
"macros which don't depend on any other headers".

Or just include kernel.h in div64.h.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/