This patch makes the needlessly global num_pages_spanned() static.
Signed-off-by: Adrian Bunk <[email protected]>
--- 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]