LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] proper prototypes for vread/vwrite
@ 2008-02-25  0:07 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-02-25  0:07 UTC (permalink / raw)
  To: linux-kernel

This patch adds proper prototypes for vread/vwrite in 
include/linux/vmalloc.h 

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/char/mem.c      |    3 ---
 include/linux/vmalloc.h |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

ce4fe62358ed9369d3ff4e67d621164b381234ab diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 20070b7..da6319f 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -350,9 +350,6 @@ static ssize_t read_oldmem(struct file *file, char __user *buf,
 }
 #endif
 
-extern long vread(char *buf, char *addr, unsigned long count);
-extern long vwrite(char *buf, char *addr, unsigned long count);
-
 /*
  * This function reads the *virtual* memory as seen by the kernel.
  */
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index ce8e7da..7bdd809 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -55,6 +55,9 @@ extern int remap_vmalloc_range(struct vm_area_struct *vma, void *addr,
 							unsigned long pgoff);
 void vmalloc_sync_all(void);
  
+long vread(char *buf, char *addr, unsigned long count);
+long vwrite(char *buf, char *addr, unsigned long count);
+
 /*
  *	Lowlevel-APIs (not for driver use!)
  */


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [2.6 patch] proper prototypes for vread/vwrite
@ 2008-04-21 21:32 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-04-21 21:32 UTC (permalink / raw)
  To: linux-kernel

This patch adds proper prototypes for vread/vwrite in 
include/linux/vmalloc.h 

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 14 Apr 2008
- 31 Mar 2008
- 25 Feb 2008

 drivers/char/mem.c      |    3 ---
 include/linux/vmalloc.h |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

ce4fe62358ed9369d3ff4e67d621164b381234ab diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 20070b7..da6319f 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -350,9 +350,6 @@ static ssize_t read_oldmem(struct file *file, char __user *buf,
 }
 #endif
 
-extern long vread(char *buf, char *addr, unsigned long count);
-extern long vwrite(char *buf, char *addr, unsigned long count);
-
 /*
  * This function reads the *virtual* memory as seen by the kernel.
  */
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index ce8e7da..7bdd809 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -55,6 +55,9 @@ extern int remap_vmalloc_range(struct vm_area_struct *vma, void *addr,
 							unsigned long pgoff);
 void vmalloc_sync_all(void);
  
+long vread(char *buf, char *addr, unsigned long count);
+long vwrite(char *buf, char *addr, unsigned long count);
+
 /*
  *	Lowlevel-APIs (not for driver use!)
  */


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [2.6 patch] proper prototypes for vread/vwrite
@ 2008-04-14 18:14 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-04-14 18:14 UTC (permalink / raw)
  To: linux-kernel

This patch adds proper prototypes for vread/vwrite in 
include/linux/vmalloc.h 

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 31 Mar 2008
- 25 Feb 2008

 drivers/char/mem.c      |    3 ---
 include/linux/vmalloc.h |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

ce4fe62358ed9369d3ff4e67d621164b381234ab diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 20070b7..da6319f 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -350,9 +350,6 @@ static ssize_t read_oldmem(struct file *file, char __user *buf,
 }
 #endif
 
-extern long vread(char *buf, char *addr, unsigned long count);
-extern long vwrite(char *buf, char *addr, unsigned long count);
-
 /*
  * This function reads the *virtual* memory as seen by the kernel.
  */
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index ce8e7da..7bdd809 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -55,6 +55,9 @@ extern int remap_vmalloc_range(struct vm_area_struct *vma, void *addr,
 							unsigned long pgoff);
 void vmalloc_sync_all(void);
  
+long vread(char *buf, char *addr, unsigned long count);
+long vwrite(char *buf, char *addr, unsigned long count);
+
 /*
  *	Lowlevel-APIs (not for driver use!)
  */


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [2.6 patch] proper prototypes for vread/vwrite
@ 2008-03-30 22:48 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-03-30 22:48 UTC (permalink / raw)
  To: linux-kernel

This patch adds proper prototypes for vread/vwrite in 
include/linux/vmalloc.h 

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 25 Feb 2008

 drivers/char/mem.c      |    3 ---
 include/linux/vmalloc.h |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

ce4fe62358ed9369d3ff4e67d621164b381234ab diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 20070b7..da6319f 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -350,9 +350,6 @@ static ssize_t read_oldmem(struct file *file, char __user *buf,
 }
 #endif
 
-extern long vread(char *buf, char *addr, unsigned long count);
-extern long vwrite(char *buf, char *addr, unsigned long count);
-
 /*
  * This function reads the *virtual* memory as seen by the kernel.
  */
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index ce8e7da..7bdd809 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -55,6 +55,9 @@ extern int remap_vmalloc_range(struct vm_area_struct *vma, void *addr,
 							unsigned long pgoff);
 void vmalloc_sync_all(void);
  
+long vread(char *buf, char *addr, unsigned long count);
+long vwrite(char *buf, char *addr, unsigned long count);
+
 /*
  *	Lowlevel-APIs (not for driver use!)
  */


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-21 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-25  0:07 [2.6 patch] proper prototypes for vread/vwrite Adrian Bunk
2008-03-30 22:48 Adrian Bunk
2008-04-14 18:14 Adrian Bunk
2008-04-21 21:32 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).