summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-04-30 11:54:54 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 19:29:53 +0400
commit354a1f4d99240f53980275416ca3e1ac2ee73d5d (patch)
tree2c595555d897a5cc09b6449cb0cd3aac9c11ac79 /include/linux
parent487798df6d25e76ed6558b3e17c44cf0458cc6f3 (diff)
downloadlinux-354a1f4d99240f53980275416ca3e1ac2ee73d5d.tar.xz
alloc_uid: cleanup
Use kmem_cache_zalloc(), remove large amounts of initialisation code and ifdeffery. Note: this assumes that memset(*atomic_t, 0) correctly initialises the atomic_t. This is true for all present archtiectures and if it becomes false for a future architecture then we'll need to make large changes all over the place anyway. Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions