summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rlock-softirq.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-16 22:40:34 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 23:58:07 +0200
commitaa46a63efc896f0a6d54e7614e750788793582e5 (patch)
treec5b7b23186e6a47f56f00b139bf61a8faa477692 /lib/locking-selftest-rlock-softirq.h
parentinit/do_mounts_md.c must #include <linux/delay.h> (diff)
downloadlinux-aa46a63efc896f0a6d54e7614e750788793582e5.tar.xz
linux-aa46a63efc896f0a6d54e7614e750788793582e5.zip
lib: pull base-guessing logic to helper function
The default base is 10 unless there is a leading zero, in which case the base will be guessed as 8. The base will only be guesed as 16 when the string starts with '0x' the third character is a valid hex digit. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions