From 36b3778b16c18b5072749a70a1899af8b986e21f Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 13 Feb 2007 21:54:28 +0100 Subject: [PATCH] --- yaml --- r: 48254 b: refs/heads/master c: 72cb360839f88c02ccf38f1df214316e05886ff3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/platforms/cell/spufs/sched.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 5bcb30e16b4e..dbb0eee49783 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 52f04fcf66a5d5d90790d6cfde52e391ecf2b882 +refs/heads/master: 72cb360839f88c02ccf38f1df214316e05886ff3 diff --git a/trunk/arch/powerpc/platforms/cell/spufs/sched.c b/trunk/arch/powerpc/platforms/cell/spufs/sched.c index 814f65e025f1..ba4b01e01ace 100644 --- a/trunk/arch/powerpc/platforms/cell/spufs/sched.c +++ b/trunk/arch/powerpc/platforms/cell/spufs/sched.c @@ -46,9 +46,8 @@ #define SPU_MIN_TIMESLICE (100 * HZ / 1000) -#define SPU_BITMAP_SIZE (((MAX_PRIO+BITS_PER_LONG)/BITS_PER_LONG)+1) struct spu_prio_array { - unsigned long bitmap[SPU_BITMAP_SIZE]; + DECLARE_BITMAP(bitmap, MAX_PRIO); struct list_head runq[MAX_PRIO]; spinlock_t runq_lock; struct list_head active_list[MAX_NUMNODES];