lkml.org 
[lkml]   [2014]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: percpu: Define this_cpu_cpumask_var_t_ptr
Needs a small fixup

From: Christoph Lameter <cl@linux.com>
Subject: One & too much

Remove it.

Signed-off-by: Christoph Lameter <cl@linux.com>

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)
{

\
 
 \ /
  Last update: 2014-08-08 22:01    [W:0.063 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site