summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohn Levon <levon@movementarian.org>2002-10-15 04:31:08 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-15 04:31:08 -0700
commitf35e65513f6bd0a346c8e51e78c8893bb3143c9f (patch)
tree0f1d8760c45936f6d54227f9250df2f2a4c1d3c3 /include/linux
parentb4d5af77e256915a637d4b4de8b8f6c48c3764bb (diff)
[PATCH] oprofile - dcookies need to use u32
Make dcookies use a stable size regardless of whether we're on a 32-bit or 64-bit platform.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dcookies.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dcookies.h b/include/linux/dcookies.h
index b2ae9692dc05..7c4d3319e7d0 100644
--- a/include/linux/dcookies.h
+++ b/include/linux/dcookies.h
@@ -44,7 +44,7 @@ void dcookie_unregister(struct dcookie_user * user);
* Returns 0 on success, with *cookie filled in
*/
int get_dcookie(struct dentry * dentry, struct vfsmount * vfsmnt,
- unsigned long * cookie);
+ u32 * cookie);
#else
@@ -59,7 +59,7 @@ void dcookie_unregister(struct dcookie_user * user)
}
static inline int get_dcookie(struct dentry * dentry,
- struct vfsmount * vfsmnt, unsigned long * cookie)
+ struct vfsmount * vfsmnt, u32 * cookie)
{
return -ENOSYS;
}