tracedump: Fix build error
Prashant Gaikwad [Tue, 31 Jan 2012 13:00:26 +0000 (18:00 +0530)]
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>

kernel/trace/tracedump.c

index 8d9589f..a83532b 100644 (file)
@@ -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;