Add cgroup write_uint() helper method
authorPaul Menage <menage@google.com>
Fri, 19 Oct 2007 06:39:33 +0000 (23:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:36 +0000 (11:53 -0700)
commit355e0c48b757b7fcc79ccb98fda8105ed37a1598
treef9687961979a808e46620f4bdf9af05de2fd68e2
parentbbcb81d09104f0d440974b994c1fc508ccbe9503
Add cgroup write_uint() helper method

Add write_uint() helper method for cgroup subsystems

This helper is analagous to the read_uint() helper method for
reporting u64 values to userspace. It's designed to reduce the amount
of boilerplate requierd for creating new cgroup subsystems.

Signed-off-by: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cgroup.h
kernel/cgroup.c