We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af2f6b commit 4808595Copy full SHA for 4808595
kernel/trace/trace.c
@@ -9806,6 +9806,7 @@ static int instance_mkdir(const char *name)
9806
return ret;
9807
}
9808
9809
+#ifdef CONFIG_MMU
9810
static u64 map_pages(unsigned long start, unsigned long size)
9811
{
9812
unsigned long vmap_start, vmap_end;
@@ -9828,6 +9829,12 @@ static u64 map_pages(unsigned long start, unsigned long size)
9828
9829
9830
return (u64)vmap_start;
9831
9832
+#else
9833
+static inline u64 map_pages(unsigned long start, unsigned long size)
9834
+{
9835
+ return 0;
9836
+}
9837
+#endif
9838
9839
/**
9840
* trace_array_get_by_name - Create/Lookup a trace array, given its name.
0 commit comments