summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2012-01-31 18:30:26 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-02-03 05:24:06 -0800
commite4c0e231c682c3a1cfb7b160071aeac4c7437cf3 (patch)
tree4bebb82f389cfdc097e3657e63429e6d7e47b08d /kernel
parent9847b4ef69884ef4fa42b5d240498fe025243b88 (diff)
tracedump: Fix build error
Change-Id: Ica22a3f92c8ca33a5779a74d3afad775736b1663 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-on: http://git-master/r/78450 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/tracedump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/tracedump.c b/kernel/trace/tracedump.c
index 8d9589faad82..a83532bc36da 100644
--- a/kernel/trace/tracedump.c
+++ b/kernel/trace/tracedump.c
@@ -258,7 +258,7 @@ static ssize_t pager_next(void)
return 0;
if (!pager.spare)
- pager.spare = ring_buffer_alloc_read_page(pager.tr->buffer);
+ pager.spare = ring_buffer_alloc_read_page(pager.tr->buffer, pager.cpu);
if (!pager.spare) {
printk(TAG "ring_buffer_alloc_read_page failed!");
return -ENOMEM;