| To: | ddaney@caviumnetworks.com, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH] MIPS: Octeon: Fix wrong variable type in smp.c |
| From: | Yang Shi <yang.shi@windriver.com> |
| Date: | Tue, 9 Mar 2010 14:24:22 +0800 |
| Cc: | linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Change cvmx_ciu_wdogx_t type to "union cvmx_ciu_wdogx".
Signed-off-by: Yang Shi <yang.shi@windriver.com>
---
arch/mips/cavium-octeon/smp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index 51e9802..52d61ba 100644
--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -281,7 +281,7 @@ static void octeon_cpu_die(unsigned int cpu)
#ifdef CONFIG_CAVIUM_OCTEON_WATCHDOG
/* Disable the watchdog */
- cvmx_ciu_wdogx_t ciu_wdog;
+ union cvmx_ciu_wdogx ciu_wdog;
ciu_wdog.u64 = cvmx_read_csr(CVMX_CIU_WDOGX(cpu));
ciu_wdog.s.mode = 0;
cvmx_write_csr(CVMX_CIU_WDOGX(cpu), ciu_wdog.u64);
--
1.6.3.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] USB: ehci-au1xxx does not need EHCI IO watchdog, Manuel Lauss |
|---|---|
| Next by Date: | Re: [PATCH] MIPS: Alchemy: move MMC driver registration to board code., Sergei Shtylyov |
| Previous by Thread: | [PATCH] USB: ehci-au1xxx does not need EHCI IO watchdog, Manuel Lauss |
| Next by Thread: | Re: [PATCH] MIPS: Octeon: Fix wrong variable type in smp.c, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |