diff options
| author | Andrew Morton <[email protected]> | 2009-11-25 23:01:50 -0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-11-26 09:34:04 +0100 |
| commit | 11e6635763bdc0e24b39a38876574660755acffc (patch) | |
| tree | 9020eb9a4a527803e42b5770ca7a2e81b29fe425 /scripts/objdiff | |
| parent | 2c31b7958fd21df9fa04e5c36cda0f063ac70b27 (diff) | |
kernel/hw_breakpoint.c: Fix local/global shadowing
If the new percpu tree is combined with the perf events tree
the following new warning triggers:
kernel/hw_breakpoint.c: In function 'toggle_bp_task_slot':
kernel/hw_breakpoint.c:151: warning: 'task_bp_pinned' is used uninitialized in this function
Because it's not valid anymore to define a local variable
and a percpu variable (even if it's file scope local) with
the same name.
Rename the local variable to resolve this.
Signed-off-by: Andrew Morton <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: K.Prasad <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Linus Torvalds <[email protected]>
LKML-Reference: <[email protected]>
[ v2: added changelog ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions