LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* PATCH [1/1] cpumask: remove redundant cpumask_size
@ 2008-10-20 18:03 Mike Travis
0 siblings, 0 replies; only message in thread
From: Mike Travis @ 2008-10-20 18:03 UTC (permalink / raw)
To: Ingo Molnar, Rusty Russell; +Cc: Jack Steiner, LKML
cpumask: remove redundant cpumask_size
Not sure how both cpumask_size() functions slipped back in but
remove the macro version.
Depends on struct cpumask patches 1-35.
Signed-off-by: Mike Travis <travis@sgi.com>
---
include/linux/cpumask.h | 2 --
1 file changed, 2 deletions(-)
--- test-compile.orig/include/linux/cpumask.h
+++ test-compile/include/linux/cpumask.h
@@ -141,8 +141,6 @@ static inline ssize_t cpumask_size(void)
}
-#define cpumask_size() (BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long))
-
/* Deprecated. */
typedef struct cpumask cpumask_t;
extern cpumask_t _unused_cpumask_arg_;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-20 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-20 18:03 PATCH [1/1] cpumask: remove redundant cpumask_size Mike Travis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).