git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: Export migrate_page_move_mapping and migrate_page_copy
[pandora-kernel.git]
/
include
/
linux
/
tracepoint.h
diff --git
a/include/linux/tracepoint.h
b/include/linux/tracepoint.h
index
df0a779
..
41d1756
100644
(file)
--- a/
include/linux/tracepoint.h
+++ b/
include/linux/tracepoint.h
@@
-14,8
+14,10
@@
* See the file COPYING for more details.
*/
* See the file COPYING for more details.
*/
+#include <linux/smp.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/types.h>
+#include <linux/cpumask.h>
#include <linux/rcupdate.h>
#include <linux/jump_label.h>
#include <linux/rcupdate.h>
#include <linux/jump_label.h>
@@
-60,6
+62,12
@@
struct tp_module {
unsigned int num_tracepoints;
struct tracepoint * const *tracepoints_ptrs;
};
unsigned int num_tracepoints;
struct tracepoint * const *tracepoints_ptrs;
};
+bool trace_module_has_bad_taint(struct module *mod);
+#else
+static inline bool trace_module_has_bad_taint(struct module *mod)
+{
+ return false;
+}
#endif /* CONFIG_MODULES */
struct tracepoint_iter {
#endif /* CONFIG_MODULES */
struct tracepoint_iter {
@@
-120,6
+128,9
@@
static inline void tracepoint_synchronize_unregister(void)
void *it_func; \
void *__data; \
\
void *it_func; \
void *__data; \
\
+ if (!cpu_online(raw_smp_processor_id())) \
+ return; \
+ \
if (!(cond)) \
return; \
rcu_read_lock_sched_notrace(); \
if (!(cond)) \
return; \
rcu_read_lock_sched_notrace(); \