diff options
author | Robert Richter <robert.richter@amd.com> | 2008-07-28 18:13:10 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-10-15 20:56:49 +0200 |
commit | 8655a3b8725d5598adc438ec94916568afcc5ec9 (patch) | |
tree | 5d57ee4c1afbc807b31e88bae011ebff6e51ac3c /drivers/oprofile/buffer_sync.c | |
parent | 25ad2913cae9c9e3ed28075caeb2eefccd636f4f (diff) | |
download | linux-8655a3b8725d5598adc438ec94916568afcc5ec9.tar.gz linux-8655a3b8725d5598adc438ec94916568afcc5ec9.tar.bz2 linux-8655a3b8725d5598adc438ec94916568afcc5ec9.zip |
x86/oprofile: removing unused function parameter in add_ibs_begin()
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/buffer_sync.c')
-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 564577307a5e..33bfa60b0c66 100644 --- a/drivers/oprofile/buffer_sync.c +++ b/drivers/oprofile/buffer_sync.c @@ -340,7 +340,7 @@ static void add_trace_begin(void) * Add IBS fetch and op entries to event buffer */ static void add_ibs_begin(struct oprofile_cpu_buffer *cpu_buf, int code, - int in_kernel, struct mm_struct *mm) + struct mm_struct *mm) { unsigned long rip; int i, count; @@ -592,12 +592,10 @@ void sync_buffer(int cpu) #ifdef CONFIG_OPROFILE_IBS } else if (s->event == IBS_FETCH_BEGIN) { state = sb_bt_start; - add_ibs_begin(cpu_buf, - IBS_FETCH_CODE, in_kernel, mm); + add_ibs_begin(cpu_buf, IBS_FETCH_CODE, mm); } else if (s->event == IBS_OP_BEGIN) { state = sb_bt_start; - add_ibs_begin(cpu_buf, - IBS_OP_CODE, in_kernel, mm); + add_ibs_begin(cpu_buf, IBS_OP_CODE, mm); #endif } else { struct mm_struct *oldmm = mm; |