]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: fix off-by-one in find_next_zero_string
authorAndrew Hastings <abh@cray.com>
Wed, 17 Oct 2007 16:04:33 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:15:22 +0000 (20:15 +0200)
commit801916c1b369b637ce799e6c71a94963ff63df79
treedad0d1c3a6a3c19040441423007528dc56f1e016
parent6442eea937ef797d4b66733f49c82e2fdc2aca6f
x86: fix off-by-one in find_next_zero_string

Fix an off-by-one error in find_next_zero_string which prevents
allocating the last bit.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Andrew Hastings <abh@cray.com> on behalf of Cray Inc.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/lib/bitstr_64.c