Re: percpu: Define this_cpu_cpumask_var_t_ptr

From: Christoph Lameter
Date: Fri Aug 08 2014 - 15:46:21 EST


Needs a small fixup

From: Christoph Lameter <cl@xxxxxxxxx>
Subject: One & too much

Remove it.

Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Index: linux/include/linux/cpumask.h
===================================================================
--- linux.orig/include/linux/cpumask.h
+++ linux/include/linux/cpumask.h
@@ -690,7 +690,7 @@ void free_bootmem_cpumask_var(cpumask_va
#else
typedef struct cpumask cpumask_var_t[1];

-#define this_cpu_cpumask_var_t_ptr(x) this_cpu_ptr(&x)
+#define this_cpu_cpumask_var_t_ptr(x) this_cpu_ptr(x)

static inline bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/