summaryrefslogtreecommitdiff
path: root/include/linux/oprofile.h
diff options
context:
space:
mode:
authorJohn Levon <levon@movementarian.org>2003-08-21 02:57:11 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-08-21 02:57:11 -0700
commit46480a97d81e57150b8218ceeaae2c8ee5f4e9e7 (patch)
tree052006cdef409e91cb0bd15174fc39a0b30e3cf0 /include/linux/oprofile.h
parenta5a107f02d998219e9ebf9a013ee5c72261d8a91 (diff)
[PATCH] OProfile: export kernel pointer size in oprofilefs
Tell user-space how big kernel pointers are, as preferable to sniffing /proc/kcore. Improve the oprofilefs_ulong_to_user() prototype.
Diffstat (limited to 'include/linux/oprofile.h')
-rw-r--r--include/linux/oprofile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h
index c2b4fd735f40..9555dd4d69fc 100644
--- a/include/linux/oprofile.h
+++ b/include/linux/oprofile.h
@@ -92,7 +92,7 @@ ssize_t oprofilefs_str_to_user(char const * str, char * buf, size_t count, loff_
* Convert an unsigned long value into ASCII and copy it to the user buffer @buf,
* updating *offset appropriately. Returns bytes written or -EFAULT.
*/
-ssize_t oprofilefs_ulong_to_user(unsigned long * val, char * buf, size_t count, loff_t * offset);
+ssize_t oprofilefs_ulong_to_user(unsigned long val, char * buf, size_t count, loff_t * offset);
/**
* Read an ASCII string for a number from a userspace buffer and fill *val on success.