Messages in this thread | | | Date | Thu, 19 Oct 2006 22:49:49 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] Minor fixes to generic do_div |
| |
On Thu, 19 Oct 2006 23:36:38 -0600 Matthew Wilcox <matthew@wil.cx> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |