projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03f648
)
build-kernel-profileo-only-when-requested-cleanups
author
Andrew Morton
<
[email protected]
>
Fri, 25 Jul 2008 08:45:35 +0000
(
01:45
-0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 25 Jul 2008 17:53:27 +0000
(10:53 -0700)
Cc: Adrian Bunk <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/profile.h
patch
|
blob
|
history
diff --git
a/include/linux/profile.h
b/include/linux/profile.h
index 4081fa31081fe6d436a931520b6d7d29d9d506df..7e7087239af5fc0497ebf40bf92d65cb99b5749f 100644
(file)
--- a/
include/linux/profile.h
+++ b/
include/linux/profile.h
@@
-18,9
+18,11
@@
struct pt_regs;
struct notifier_block;
#if defined(CONFIG_PROFILING) && defined(CONFIG_PROC_FS)
-void create_prof_cpu_mask(struct proc_dir_entry *);
+void create_prof_cpu_mask(struct proc_dir_entry *
de
);
#else
-#define create_prof_cpu_mask(x) do { (void)(x); } while (0)
+static inline void create_prof_cpu_mask(struct proc_dir_entry *de)
+{
+}
#endif
enum profile_type {