aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup_debug.c
diff options
context:
space:
mode:
authorPaul Menage <menage@google.com>2008-04-29 03:59:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:07 -0400
commitf4c753b7eacc277e506066abdda351cbc1cf8e6a (patch)
tree2510264d4fac836dc64acd700846a5fe8d960b1e /kernel/cgroup_debug.c
parent3ff31d0cca38b3c20e88a022bf38c4f7c98492f0 (diff)
CGroup API files: rename read/write_uint methods to read_write_u64
Several people have justifiably complained that the "_uint" suffix is inappropriate for functions that handle u64 values, so this patch just renames all these functions and their users to have the suffic _u64. [peterz@infradead.org: build fix] Signed-off-by: Paul Menage <menage@google.com> Cc: "Li Zefan" <lizf@cn.fujitsu.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Paul Jackson <pj@sgi.com> Cc: Pavel Emelyanov <xemul@openvz.org> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: "YAMAMOTO Takashi" <yamamoto@valinux.co.jp> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cgroup_debug.c')
-rw-r--r--kernel/cgroup_debug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/cgroup_debug.c b/kernel/cgroup_debug.c
index 37301e877cb0..cbb7a26f4ea3 100644
--- a/kernel/cgroup_debug.c
+++ b/kernel/cgroup_debug.c
@@ -65,21 +65,21 @@ static u64 current_css_set_refcount_read(struct cgroup *cont,
65static struct cftype files[] = { 65static struct cftype files[] = {
66 { 66 {
67 .name = "cgroup_refcount", 67 .name = "cgroup_refcount",
68 .read_uint = cgroup_refcount_read, 68 .read_u64 = cgroup_refcount_read,
69 }, 69 },
70 { 70 {
71 .name = "taskcount", 71 .name = "taskcount",
72 .read_uint = taskcount_read, 72 .read_u64 = taskcount_read,
73 }, 73 },
74 74
75 { 75 {
76 .name = "current_css_set", 76 .name = "current_css_set",
77 .read_uint = current_css_set_read, 77 .read_u64 = current_css_set_read,
78 }, 78 },
79 79
80 { 80 {
81 .name = "current_css_set_refcount", 81 .name = "current_css_set_refcount",
82 .read_uint = current_css_set_refcount_read, 82 .read_u64 = current_css_set_refcount_read,
83 }, 83 },
84}; 84};
85 85