projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038b0f5
)
MIPS: CPC: Fix type for GCR CPC base reg for 64-bit
author
Markos Chandras
<markos.chandras@imgtec.com>
Thu, 9 Jul 2015 09:40:46 +0000
(10:40 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 26 Aug 2015 13:23:14 +0000
(15:23 +0200)
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>
arch/mips/kernel/mips-cpc.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/mips-cpc.c
b/arch/mips/kernel/mips-cpc.c
index 11964501c4b05624387a0c9a203b51259ea2d53a..e05aca41e087ee8904ce39149c95aec49f37e7d8 100644
(file)
--- a/
arch/mips/kernel/mips-cpc.c
+++ b/
arch/mips/kernel/mips-cpc.c
@@
-23,7
+23,7
@@
static DEFINE_PER_CPU_ALIGNED(unsigned long, cpc_core_lock_flags);
phys_addr_t __weak mips_cpc_phys_base(void)
{
- u
32
cpc_base;
+ u
nsigned long
cpc_base;
if (!mips_cm_present())
return 0;