diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-04-30 09:54:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 17:29:53 +0200 |
commit | 354a1f4d99240f53980275416ca3e1ac2ee73d5d (patch) | |
tree | 2c595555d897a5cc09b6449cb0cd3aac9c11ac79 /drivers/sbus | |
parent | hfsplus: fix warning with 64k PAGE_SIZE (diff) | |
download | linux-354a1f4d99240f53980275416ca3e1ac2ee73d5d.tar.xz linux-354a1f4d99240f53980275416ca3e1ac2ee73d5d.zip |
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 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions