Re: [PATCH v3 07/10] : Add support for architecture-specific functions

2016-05-29 Thread Geert Uytterhoeven
Hi George, I see this has been applied in the mean time, but improvements never hurt... On Sat, May 28, 2016 at 9:57 PM, George Spelvin wrote: > --- /dev/null > +++ b/lib/test_hash.c > @@ -0,0 +1,250 @@ > +/* > + * Test the various integer hash functions. h64 (or

Re: [PATCH v3 07/10] : Add support for architecture-specific functions

2016-05-29 Thread Geert Uytterhoeven
Hi George, I see this has been applied in the mean time, but improvements never hurt... On Sat, May 28, 2016 at 9:57 PM, George Spelvin wrote: > --- /dev/null > +++ b/lib/test_hash.c > @@ -0,0 +1,250 @@ > +/* > + * Test the various integer hash functions. h64 (or its low-order bits) > + * is

[PATCH v3 07/10] : Add support for architecture-specific functions

2016-05-28 Thread George Spelvin
This is just the infrastructure; there are no users yet. This is modelled on CONFIG_ARCH_RANDOM; a CONFIG_ symbol declares the existence of . That file may define its own versions of various functions, and define HAVE_* symbols (no CONFIG_ prefix!) to suppress the generic ones. Included is a

[PATCH v3 07/10] : Add support for architecture-specific functions

2016-05-28 Thread George Spelvin
This is just the infrastructure; there are no users yet. This is modelled on CONFIG_ARCH_RANDOM; a CONFIG_ symbol declares the existence of . That file may define its own versions of various functions, and define HAVE_* symbols (no CONFIG_ prefix!) to suppress the generic ones. Included is a