Skip to content

Commit

Permalink
MIPS: CPC: Fix type for GCR CPC base reg for 64-bit
Browse files Browse the repository at this point in the history
The GCR CPC base register is 64-bit on 64-bit processors so use the
appropriate field.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10645/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Markos Chandras authored and Ralf Baechle committed Aug 26, 2015
1 parent 038b0f5 commit 391057d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/mips-cpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static DEFINE_PER_CPU_ALIGNED(unsigned long, cpc_core_lock_flags);

phys_addr_t __weak mips_cpc_phys_base(void)
{
u32 cpc_base;
unsigned long cpc_base;

if (!mips_cm_present())
return 0;
Expand Down

0 comments on commit 391057d

Please sign in to comment.