]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/spufs: Remove MAX_USER_PRIO define
authorJeremy Kerr <jk@ozlabs.org>
Tue, 11 Feb 2014 06:05:17 +0000 (14:05 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Feb 2014 08:58:33 +0000 (09:58 +0100)
commit74b8af7837fa55c020e2ad1b34a6b10dfe25a9b1
tree07e7da52b7d915f145f5917265fd122184d26215
parentcf37b6b48428d6be8f8762b3599d529c44644fb2
powerpc/spufs: Remove MAX_USER_PRIO define

Current ppc64_defconfig fails with:

 arch/powerpc/platforms/cell/spufs/sched.c:86:0: error: "MAX_USER_PRIO" redefined [-Werror]
 cc1: all warnings being treated as errors

Commit 6b6350f155af ("sched: Expose some macros related to priority")
introduced a generic MAX_USER_PRIO macro to sched/prio.h, which is
causing the conflit. Use that one instead of our own.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Cc: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/1392098717.689604.970589769393.1.gpush@pablo
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/powerpc/platforms/cell/spufs/sched.c