powerpc/pasemi: local_irq_save uses an unsigned long
[Split from a larger patch - sfr] Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Родитель
b36ac9e84b
Коммит
ac3f6454d1
|
@ -112,7 +112,7 @@ static int get_gizmo_latency(void)
|
||||||
|
|
||||||
static void set_astate(int cpu, unsigned int astate)
|
static void set_astate(int cpu, unsigned int astate)
|
||||||
{
|
{
|
||||||
u64 flags;
|
unsigned long flags;
|
||||||
|
|
||||||
/* Return if called before init has run */
|
/* Return if called before init has run */
|
||||||
if (unlikely(!sdcasr_mapbase))
|
if (unlikely(!sdcasr_mapbase))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче