X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=amp_filter.c;h=71855eb2e9e5a8102d6cebf1f0c6ffd4b6180250;hb=3cc5654fec9db630eac146f8475067228efe51ae;hp=c3e55cf0477b253dfd663953613c2ed5f95daa51;hpb=e58586b7395a84e5883b077d89b92c8ac649a1f2;p=paraslash.git diff --git a/amp_filter.c b/amp_filter.c index c3e55cf0..71855eb2 100644 --- a/amp_filter.c +++ b/amp_filter.c @@ -64,7 +64,7 @@ static void amp_open(struct filter_node *fn) static int amp_post_select(__a_unused struct sched *s, struct task *t) { - struct filter_node *fn = container_of(t, struct filter_node, task); + struct filter_node *fn = task_context(t); struct private_amp_data *pad = fn->private_data; struct btr_node *btrn = fn->btrn; int ret, factor = 64 + pad->amp;