diff options
author | Miles Bader | 2005-07-27 20:44:53 +0200 |
---|---|---|
committer | Linus Torvalds | 2005-07-28 01:26:02 +0200 |
commit | 4f9a6e101a962dd845eda69fa066184457968228 (patch) | |
tree | fdaf4d1bca537c79be5b775fce92c9ce1041066e | |
parent | [PATCH] v850: Define pfn_valid (diff) | |
download | kernel-qcow2-linux-4f9a6e101a962dd845eda69fa066184457968228.tar.gz kernel-qcow2-linux-4f9a6e101a962dd845eda69fa066184457968228.tar.xz kernel-qcow2-linux-4f9a6e101a962dd845eda69fa066184457968228.zip |
[PATCH] v850: const-qualify first parameter of find_next_zero_bit
Signed-off-by: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | include/asm-v850/bitops.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-v850/bitops.h b/include/asm-v850/bitops.h index 7c4ecaf5151c..0e5c2f210872 100644 --- a/include/asm-v850/bitops.h +++ b/include/asm-v850/bitops.h @@ -1,8 +1,8 @@ /* * include/asm-v850/bitops.h -- Bit operations * - * Copyright (C) 2001,02,03,04 NEC Electronics Corporation - * Copyright (C) 2001,02,03,04 Miles Bader <miles@gnu.org> + * Copyright (C) 2001,02,03,04,05 NEC Electronics Corporation + * Copyright (C) 2001,02,03,04,05 Miles Bader <miles@gnu.org> * Copyright (C) 1992 Linus Torvalds. * * This file is subject to the terms and conditions of the GNU General @@ -157,7 +157,7 @@ extern __inline__ int __test_bit (int nr, const void *addr) #define find_first_zero_bit(addr, size) \ find_next_zero_bit ((addr), (size), 0) -extern __inline__ int find_next_zero_bit (void *addr, int size, int offset) +extern __inline__ int find_next_zero_bit(const void *addr, int size, int offset) { unsigned long *p = ((unsigned long *) addr) + (offset >> 5); unsigned long result = offset & ~31UL; |