Re: [PATCH 1/8] perf, tools: Add jsmn `jasmine' JSON parser

From: Andi Kleen
Date: Thu Mar 13 2014 - 16:06:35 EST


> > +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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/