diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2008-02-03 08:02:21 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2008-02-03 08:02:21 -0500 |
commit | 4fe3fcaca008ec24bb4b9cb4a9e4d17bee06c755 (patch) | |
tree | 3cb08a54c371fab9a5607a6ce8ae956b66645132 /arch/x86/lib | |
parent | a247b5d594aafe3a0121ae658a974cbea32e18d6 (diff) |
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.c | 2 | ||||
-rw-r--r-- | arch/x86/lib/bitops_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/bitops_32.c b/arch/x86/lib/bitops_32.c index afd0045595d..b6544045985 100644 --- a/arch/x86/lib/bitops_32.c +++ b/arch/x86/lib/bitops_32.c | |||
@@ -2,7 +2,7 @@ | |||
2 | #include <linux/module.h> | 2 | #include <linux/module.h> |
3 | 3 | ||
4 | /** | 4 | /** |
5 | * find_next_bit - find the first set bit in a memory region | 5 | * find_next_bit - find the next set bit in a memory region |
6 | * @addr: The address to base the search on | 6 | * @addr: The address to base the search on |
7 | * @offset: The bitnumber to start searching at | 7 | * @offset: The bitnumber to start searching at |
8 | * @size: The maximum size to search | 8 | * @size: The maximum size to search |
diff --git a/arch/x86/lib/bitops_64.c b/arch/x86/lib/bitops_64.c index 95b6d9639fb..0e8f491e6cc 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) | |||
58 | } | 58 | } |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * find_next_zero_bit - find the first zero bit in a memory region | 61 | * find_next_zero_bit - find the next zero bit in a memory region |
62 | * @addr: The address to base the search on | 62 | * @addr: The address to base the search on |
63 | * @offset: The bitnumber to start searching at | 63 | * @offset: The bitnumber to start searching at |
64 | * @size: The maximum size to search | 64 | * @size: The maximum size to search |