summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2008-02-03 15:02:21 +0200
committerAdrian Bunk <bunk@kernel.org>2008-02-03 15:02:21 +0200
commit4fe3fcaca008ec24bb4b9cb4a9e4d17bee06c755 (patch)
tree3cb08a54c371fab9a5607a6ce8ae956b66645132 /arch/x86/lib
parenta247b5d594aafe3a0121ae658a974cbea32e18d6 (diff)
downloadlinux-4fe3fcaca008ec24bb4b9cb4a9e4d17bee06c755.tar.gz
linux-4fe3fcaca008ec24bb4b9cb4a9e4d17bee06c755.tar.bz2
linux-4fe3fcaca008ec24bb4b9cb4a9e4d17bee06c755.zip
Correct explanations of "find_next" bit routines.
Correct the obvious "copy and paste" errors explaining some of the "find_next" routines. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/bitops_32.c2
-rw-r--r--arch/x86/lib/bitops_64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/bitops_32.c b/arch/x86/lib/bitops_32.c
index afd0045595d4..b65440459859 100644
--- a/arch/x86/lib/bitops_32.c
+++ b/arch/x86/lib/bitops_32.c
@@ -2,7 +2,7 @@
#include <linux/module.h>
/**
- * find_next_bit - find the first set bit in a memory region
+ * find_next_bit - find the next set bit in a memory region
* @addr: The address to base the search on
* @offset: The bitnumber to start searching at
* @size: The maximum size to search
diff --git a/arch/x86/lib/bitops_64.c b/arch/x86/lib/bitops_64.c
index 95b6d9639fba..0e8f491e6ccc 100644
--- a/arch/x86/lib/bitops_64.c
+++ b/arch/x86/lib/bitops_64.c
@@ -58,7 +58,7 @@ long find_first_zero_bit(const unsigned long * addr, unsigned long size)
}
/**
- * find_next_zero_bit - find the first zero bit in a memory region
+ * find_next_zero_bit - find the next zero bit in a memory region
* @addr: The address to base the search on
* @offset: The bitnumber to start searching at
* @size: The maximum size to search