page_trace: fix compile error [1/1]

PD#SWPL-14800

Problem:
Compile error

Solution:
Fix compile error

Verify:
Compile pass

Change-Id: Iffb95fef1572e4ce17ec80f0765920b8afad8513
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
This commit is contained in:
Jiamin Ma
2019-09-30 08:35:00 +08:00
committed by Luke Go
parent 7fbcb9480e
commit 99847b48ee

View File

@@ -1621,6 +1621,7 @@ static const struct file_operations slabtrace_file_ops = {
static int __init page_trace_module_init(void)
{
#ifndef CONFIG_64BIT
if (!page_trace_disable)
d_pagetrace = proc_create("pagetrace", 0444,
@@ -1629,6 +1630,7 @@ static int __init page_trace_module_init(void)
pr_err("%s, create sysfs failed\n", __func__);
return -1;
}
#endif
#ifdef CONFIG_AMLOGIC_SLAB_TRACE
if (slab_trace_en)