From: Andrew Morton Date: Wed, 30 Apr 2008 07:54:54 +0000 (-0700) Subject: alloc_uid: cleanup X-Git-Tag: v2.6.26-rc1~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=354a1f4d99240f53980275416ca3e1ac2ee73d5d;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed