X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=amp_filter.c;h=71855eb2e9e5a8102d6cebf1f0c6ffd4b6180250;hb=6df282b25d3ca0f2a55dd09546d0efc42a437ace;hp=c3e55cf0477b253dfd663953613c2ed5f95daa51;hpb=027f2c1237051d2d569d6be7f381c886f659bac3;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;