powerpc: Define ppr in thread_struct
authorHaren Myneni <haren@linux.vnet.ibm.com>
Thu, 6 Dec 2012 21:49:56 +0000 (21:49 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 10 Jan 2013 06:01:08 +0000 (17:01 +1100)
commit92779245599bb3d7fb48066b11c4bfd6aa477198
treebea152148a83002c420fd92e59aac37bb8f18f70
parenta09688cd23d477ebd9c8f57881bfe907240cb0a1
powerpc: Define ppr in thread_struct

[PATCH 4/6] powerpc: Define ppr in thread_struct

ppr in thread_struct is used to save PPR and restore it before process exits
from kernel.

This patch sets the default priority to 3 when tasks are created such
that users can use 4 for higher priority tasks.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/processor.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/process.c