projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9eb4c5
)
page_trace: fix compile error [1/1]
author
Jiamin Ma
<jiamin.ma@amlogic.com>
Mon, 30 Sep 2019 00:35:00 +0000
(08:35 +0800)
committer
Jiamin Ma
<jiamin.ma@amlogic.com>
Mon, 30 Sep 2019 00:35:11 +0000
(08:35 +0800)
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>
drivers/amlogic/memory_ext/page_trace.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/memory_ext/page_trace.c
b/drivers/amlogic/memory_ext/page_trace.c
index
08f8d2c
..
a2ffc2d
100644
(file)
--- a/
drivers/amlogic/memory_ext/page_trace.c
+++ b/
drivers/amlogic/memory_ext/page_trace.c
@@
-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)