Messages in this thread Patch in this message |  | | Date | Tue, 24 Aug 2004 14:26:30 -0700 | | From | William Lee Irwin III <> | | Subject | Re: 2.6.8.1-mm4 |
| |
On Tue, Aug 24, 2004 at 02:23:45PM -0700, William Lee Irwin III wrote: > fs/reiser4/jnode.c: In function `jload_prefetch': > fs/reiser4/jnode.c:878: warning: passing arg 1 of `prefetchw' discards qualifiers from pointer target type
Index: mm4-2.6.8.1/fs/reiser4/jnode.c =================================================================== --- mm4-2.6.8.1.orig/fs/reiser4/jnode.c 2004-08-23 16:11:19.000000000 -0700 +++ mm4-2.6.8.1/fs/reiser4/jnode.c 2004-08-24 14:22:36.896616680 -0700 @@ -873,7 +873,7 @@ /* prefetch jnode to speed up next call to jload. Call this when you are going * to call jload() shortly. This will bring appropriate portion of jnode into * CPU cache. */ -reiser4_internal void jload_prefetch(const jnode * node) +reiser4_internal void jload_prefetch(jnode *node) { prefetchw(&node->x_count); } Index: mm4-2.6.8.1/fs/reiser4/jnode.h =================================================================== --- mm4-2.6.8.1.orig/fs/reiser4/jnode.h 2004-08-23 16:11:19.000000000 -0700 +++ mm4-2.6.8.1/fs/reiser4/jnode.h 2004-08-24 14:23:17.721410368 -0700 @@ -569,7 +569,7 @@ extern void jdrop(jnode * node) NONNULL; extern int jwait_io(jnode * node, int rw) NONNULL; -extern void jload_prefetch(const jnode * node); +void jload_prefetch(jnode *); extern jnode *alloc_io_head(const reiser4_block_nr * block) NONNULL; extern void drop_io_head(jnode * node) NONNULL; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |