projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0806ebd
)
hw_breakpoints: Fix percpu build failure
author
Frederic Weisbecker
<
[email protected]
>
Mon, 3 May 2010 13:39:45 +0000
(15:39 +0200)
committer
Ingo Molnar
<
[email protected]
>
Tue, 4 May 2010 06:39:36 +0000
(08:39 +0200)
Fix this build error:
kernel/hw_breakpoint.c:58:1: error: pasting "__pcpu_scope_" and "*" does not give a valid preprocessing token
It happens if CONFIG_DEBUG_FORCE_WEAK_PER_CPU, because we concatenate
someting with the name and we have the "*" in the name.
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Will Deacon <
[email protected]
>
Cc: Paul Mundt <
[email protected]
>
Cc: Mahesh Salgaonkar <
[email protected]
>
Cc: K. Prasad <
[email protected]
>
Cc: Benjamin Herrenschmidt <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Jason Wessel <
[email protected]
>
LKML-Reference: <
20100503133942
.GA5497@nowhere>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/hw_breakpoint.c
patch
|
blob
|
history
diff --git
a/kernel/hw_breakpoint.c
b/kernel/hw_breakpoint.c
index 684b710cbb9165bbb41e87290b6687e7880c5942..7a56b22e0602f0b37338c189110d65c07e7cc730 100644
(file)
--- a/
kernel/hw_breakpoint.c
+++ b/
kernel/hw_breakpoint.c
@@
-55,7
+55,7
@@
static DEFINE_PER_CPU(unsigned int, nr_cpu_bp_pinned[TYPE_MAX]);
/* Number of pinned task breakpoints in a cpu */
-static DEFINE_PER_CPU(unsigned int
, *
nr_task_bp_pinned[TYPE_MAX]);
+static DEFINE_PER_CPU(unsigned int
*,
nr_task_bp_pinned[TYPE_MAX]);
/* Number of non-pinned cpu/task breakpoints in a cpu */
static DEFINE_PER_CPU(unsigned int, nr_bp_flexible[TYPE_MAX]);