diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-06-23 18:50:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-23 18:50:51 -0700 |
| commit | d6cf71d3086ea9be652ac95616cd111157fdd4c5 (patch) | |
| tree | 4ae80be235b2228f27ffb70e34be0abb9f12d75f /kernel | |
| parent | ea0c19290646e6bb7cd3657db83eac3a0d641418 (diff) | |
[PATCH] cpumask: bitmap inlining and optimizations
From: Paul Jackson <pj@sgi.com>
These bitmap improvements make it a suitable basis for fully supporting
cpumask_t and nodemask_t. Inline macros with compile-time checks enable
generating tight code on both small and large systems (large meaning cpumask_t
requires more than one unsigned long's worth of bits).
The existing bitmap_<op> macros in lib/bitmap.c are renamed to __bitmap_<op>,
and wrappers for each bitmap_<op> are exposed in include/linux/bitmap.h
This patch _includes_ Bill Irwins rewrite of the bitmap_shift operators to not
require a fixed length intermediate bitmap.
Improved comments list each available operator for easy browsing.
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
