diff options
author | Robert Richter <robert.richter@amd.com> | 2008-07-28 12:13:10 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-10-15 14:56:49 -0400 |
commit | 8655a3b8725d5598adc438ec94916568afcc5ec9 (patch) | |
tree | 5d57ee4c1afbc807b31e88bae011ebff6e51ac3c /drivers/oprofile | |
parent | 25ad2913cae9c9e3ed28075caeb2eefccd636f4f (diff) |
x86/oprofile: removing unused function parameter in add_ibs_begin()
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile')
-rw-r--r-- | drivers/oprofile/buffer_sync.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c index 564577307a5..33bfa60b0c6 100644 --- a/drivers/oprofile/buffer_sync.c +++ b/drivers/oprofile/buffer_sync.c | |||
@@ -340,7 +340,7 @@ static void add_trace_begin(void) | |||
340 | * Add IBS fetch and op entries to event buffer | 340 | * Add IBS fetch and op entries to event buffer |
341 | */ | 341 | */ |
342 | static void add_ibs_begin(struct oprofile_cpu_buffer *cpu_buf, int code, | 342 | static void add_ibs_begin(struct oprofile_cpu_buffer *cpu_buf, int code, |
343 | int in_kernel, struct mm_struct *mm) | 343 | struct mm_struct *mm) |
344 | { | 344 | { |
345 | unsigned long rip; | 345 | unsigned long rip; |
346 | int i, count; | 346 | int i, count; |
@@ -592,12 +592,10 @@ void sync_buffer(int cpu) | |||
592 | #ifdef CONFIG_OPROFILE_IBS | 592 | #ifdef CONFIG_OPROFILE_IBS |
593 | } else if (s->event == IBS_FETCH_BEGIN) { | 593 | } else if (s->event == IBS_FETCH_BEGIN) { |
594 | state = sb_bt_start; | 594 | state = sb_bt_start; |
595 | add_ibs_begin(cpu_buf, | 595 | add_ibs_begin(cpu_buf, IBS_FETCH_CODE, mm); |
596 | IBS_FETCH_CODE, in_kernel, mm); | ||
597 | } else if (s->event == IBS_OP_BEGIN) { | 596 | } else if (s->event == IBS_OP_BEGIN) { |
598 | state = sb_bt_start; | 597 | state = sb_bt_start; |
599 | add_ibs_begin(cpu_buf, | 598 | add_ibs_begin(cpu_buf, IBS_OP_CODE, mm); |
600 | IBS_OP_CODE, in_kernel, mm); | ||
601 | #endif | 599 | #endif |
602 | } else { | 600 | } else { |
603 | struct mm_struct *oldmm = mm; | 601 | struct mm_struct *oldmm = mm; |