mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
profiling: fix !procfs build
fix: kernel/built-in.o: In function `profiling_store': ksysfs.c:(.text+0x1f90c): undefined reference to `create_proc_profile' Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
52f4f324c7
commit
8cf7d362c0
1 changed files with 7 additions and 0 deletions
|
|
@ -37,7 +37,14 @@ extern int prof_on __read_mostly;
|
|||
/* init basic kernel profiler */
|
||||
int profile_init(void);
|
||||
int profile_setup(char *str);
|
||||
#ifdef CONFIG_PROC_FS
|
||||
int create_proc_profile(void);
|
||||
#else
|
||||
static inline int create_proc_profile(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
void profile_tick(int type);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue