diff options
| author | Takashi Iwai <tiwai@suse.de> | 2012-01-31 15:13:14 +0100 | 
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2012-01-31 15:13:14 +0100 | 
| commit | ea51e5040e24eefe44d70bc654a237ca1f0225b0 (patch) | |
| tree | df2e5922dcdfafae62a10d8cd97f98121064fc23 /kernel/tracepoint.c | |
| parent | 3422a47041b8cb8f14ac1e3926bcf711121df6dc (diff) | |
| parent | 8dbd52daee38adaae4d5a674bcca837e694a4f4c (diff) | |
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'kernel/tracepoint.c')
| -rw-r--r-- | kernel/tracepoint.c | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c index db110b8ae030..f1539decd99d 100644 --- a/kernel/tracepoint.c +++ b/kernel/tracepoint.c @@ -634,10 +634,11 @@ static int tracepoint_module_coming(struct module *mod)  	int ret = 0;  	/* -	 * We skip modules that tain the kernel, especially those with different -	 * module header (for forced load), to make sure we don't cause a crash. +	 * We skip modules that taint the kernel, especially those with different +	 * module headers (for forced load), to make sure we don't cause a crash. +	 * Staging and out-of-tree GPL modules are fine.  	 */ -	if (mod->taints) +	if (mod->taints & ~((1 << TAINT_OOT_MODULE) | (1 << TAINT_CRAP)))  		return 0;  	mutex_lock(&tracepoints_mutex);  	tp_mod = kmalloc(sizeof(struct tp_module), GFP_KERNEL); | 
