diff options
author | Tejun Heo <htejun@gmail.com> | 2007-06-14 03:45:12 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 16:09:03 -0700 |
commit | e33ac8bdb0c84fe7afd2c45537b763faf28c589e (patch) | |
tree | 36b48600d7d0a5042042b51ed242bc57a7592025 /include/asm-sh64 | |
parent | 7aae6dd80e265aa9402ed507caaff4a5dba55069 (diff) | |
download | op-kernel-dev-e33ac8bdb0c84fe7afd2c45537b763faf28c589e.zip op-kernel-dev-e33ac8bdb0c84fe7afd2c45537b763faf28c589e.tar.gz |
idr: separate out idr_mark_full()
Separate out idr_mark_full() from sub_alloc() and make marking the
allocated slot full the responsibility of idr_get_new_above_int().
Allocation part of idr_get_new_above_int() is renamed to
idr_get_empty_slot(). New idr_get_new_above_int() allocates a slot
using the function, install the user pointer and marks it full using
idr_mark_full().
This change doesn't introduce any behavior change. This will be
used by ida.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-sh64')
0 files changed, 0 insertions, 0 deletions