diff options
| author | Andrew Morton <[email protected]> | 2008-04-30 00:54:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-30 08:29:53 -0700 |
| commit | 354a1f4d99240f53980275416ca3e1ac2ee73d5d (patch) | |
| tree | 2c595555d897a5cc09b6449cb0cd3aac9c11ac79 /scripts/patch-kernel | |
| parent | 487798df6d25e76ed6558b3e17c44cf0458cc6f3 (diff) | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions