Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126219
b: refs/heads/master
c: 69beeb1
h: refs/heads/master
i:
  126217: df4bf20
  126215: 4f65a1f
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Jan 6, 2009
1 parent 8306900 commit 3d125bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: efab81864161f8c546d4403873e7ae7831ed5b26
refs/heads/master: 69beeb1d3428424fbc7546f85e5cd7ac4119c09d
3 changes: 0 additions & 3 deletions trunk/drivers/char/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,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);

#ifdef CONFIG_DEVKMEM
/*
* This function reads the *virtual* memory as seen by the kernel.
Expand Down
4 changes: 4 additions & 0 deletions trunk/include/linux/vmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ extern void unmap_kernel_range(unsigned long addr, unsigned long size);
extern struct vm_struct *alloc_vm_area(size_t size);
extern void free_vm_area(struct vm_struct *area);

/* for /dev/kmem */
extern long vread(char *buf, char *addr, unsigned long count);
extern long vwrite(char *buf, char *addr, unsigned long count);

/*
* Internals. Dont't use..
*/
Expand Down

0 comments on commit 3d125bd

Please sign in to comment.