Messages in this thread Patch in this message | | | Date | Wed, 21 Jun 2006 23:57:23 +0200 | From | Adrian Bunk <> | Subject | [2.6 patch] drivers/dma/iovlock.c: make num_pages_spanned() static |
| |
This patch makes the needlessly global num_pages_spanned() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.17-mm1-full/drivers/dma/iovlock.c.old 2006-06-21 22:49:48.000000000 +0200 +++ linux-2.6.17-mm1-full/drivers/dma/iovlock.c 2006-06-21 22:50:01.000000000 +0200 @@ -31,7 +31,7 @@ #include <asm/io.h> #include <asm/uaccess.h> -int num_pages_spanned(struct iovec *iov) +static int num_pages_spanned(struct iovec *iov) { return ((PAGE_ALIGN((unsigned long)iov->iov_base + iov->iov_len) - - 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/
| |