diff options
| author | Masami Hiramatsu <[email protected]> | 2010-02-05 17:16:47 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-02-07 17:08:24 +0000 |
| commit | 076dc4a65a6d99a16979e2c7917e669fb8c91ee5 (patch) | |
| tree | cae9ee9075899ab97750eeaf017e22319adc4f38 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf top: Use address pattern in lookup_sym_source (diff) | |
| download | kernel-076dc4a65a6d99a16979e2c7917e669fb8c91ee5.tar.gz kernel-076dc4a65a6d99a16979e2c7917e669fb8c91ee5.zip | |
x86/alternatives: Fix build warning
Fixes these warnings:
arch/x86/kernel/alternative.c: In function 'alternatives_text_reserved':
arch/x86/kernel/alternative.c:402: warning: comparison of distinct pointer types lacks a cast
arch/x86/kernel/alternative.c:402: warning: comparison of distinct pointer types lacks a cast
arch/x86/kernel/alternative.c:405: warning: comparison of distinct pointer types lacks a cast
arch/x86/kernel/alternative.c:405: warning: comparison of distinct pointer types lacks a cast
Caused by:
2cfa197: ftrace/alternatives: Introducing *_text_reserved functions
Changes in v2:
- Use local variables to compare, instead of type casts.
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: systemtap <[email protected]>
Cc: DLE <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
