소스 검색

sh: intc: Use IRQ_SET_MASK_OK_NOCOPY for intc_set_affinity.

intc_set_affinity() updates the cpumask in place, so there's no need for
the upper layer to do this itself.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 13 년 전
부모
커밋
3037764213
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/sh/intc/chip.c

+ 1 - 1
drivers/sh/intc/chip.c

@@ -73,7 +73,7 @@ static int intc_set_affinity(struct irq_data *data,
 
 	cpumask_copy(data->affinity, cpumask);
 
-	return 0;
+	return IRQ_SET_MASK_OK_NOCOPY;
 }
 #endif