> > +static char *mapfile(const char *fn, size_t *size)
> > +{
> > +   unsigned ps = sysconf(_SC_PAGESIZE);
> 
> you can use page_size instead

I decided not to do this as these are stand alone files.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to