summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
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;