aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorGeorge Spelvin <[email protected]>2016-05-27 02:11:51 +0000
committerGeorge Spelvin <[email protected]>2016-05-28 19:48:31 +0000
commit468a9428521e7d00fb21250af363eb94dc1d6861 (patch)
tree75a5e7b73594e643a1f8ca870bcc4fe679bfb610 /fs/jbd2/commit.c
parentfs/namei.c: Improve dcache hash function (diff)
downloadkernel-468a9428521e7d00fb21250af363eb94dc1d6861.tar.gz
kernel-468a9428521e7d00fb21250af363eb94dc1d6861.zip
<linux/hash.h>: Add support for architecture-specific functions
This is just the infrastructure; there are no users yet. This is modelled on CONFIG_ARCH_RANDOM; a CONFIG_ symbol declares the existence of <asm/hash.h>. 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 self-test (in lib/test_hash.c) that verifies the basics. It is NOT in general required that the arch-specific functions compute the same thing as the generic, but if a HAVE_* symbol is defined with the value 1, then equality is tested. Signed-off-by: George Spelvin <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Greg Ungerer <[email protected]> Cc: Andreas Schwab <[email protected]> Cc: Philippe De Muyter <[email protected]> Cc: [email protected] Cc: Alistair Francis <[email protected]> Cc: Michal Simek <[email protected]> Cc: Yoshinori Sato <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions