diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2007-09-17 02:05:01 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-02 23:25:27 -0400 |
commit | 0411a5e233db0f5196cff46a34bff15c005bbe6a (patch) | |
tree | ac714b4f93776386833862f1009ac41fcfb67d5d /include | |
parent | 0b94a1eeeeb3542d046b928ca01fcd4bf0ea7587 (diff) |
[POWERPC] Update mpic to use dcr_host_t.base
Now that dcr_host_t contains the base address, we can use that in the mpic
code, rather than storing it separately.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/mpic.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-powerpc/mpic.h b/include/asm-powerpc/mpic.h index edb4a7c84506..ae84dde3bc7f 100644 --- a/include/asm-powerpc/mpic.h +++ b/include/asm-powerpc/mpic.h | |||
@@ -224,8 +224,6 @@ struct mpic_reg_bank { | |||
224 | u32 __iomem *base; | 224 | u32 __iomem *base; |
225 | #ifdef CONFIG_PPC_DCR | 225 | #ifdef CONFIG_PPC_DCR |
226 | dcr_host_t dhost; | 226 | dcr_host_t dhost; |
227 | unsigned int dbase; | ||
228 | unsigned int doff; | ||
229 | #endif /* CONFIG_PPC_DCR */ | 227 | #endif /* CONFIG_PPC_DCR */ |
230 | }; | 228 | }; |
231 | 229 | ||
@@ -289,10 +287,6 @@ struct mpic | |||
289 | struct mpic_reg_bank cpuregs[MPIC_MAX_CPUS]; | 287 | struct mpic_reg_bank cpuregs[MPIC_MAX_CPUS]; |
290 | struct mpic_reg_bank isus[MPIC_MAX_ISU]; | 288 | struct mpic_reg_bank isus[MPIC_MAX_ISU]; |
291 | 289 | ||
292 | #ifdef CONFIG_PPC_DCR | ||
293 | unsigned int dcr_base; | ||
294 | #endif | ||
295 | |||
296 | /* Protected sources */ | 290 | /* Protected sources */ |
297 | unsigned long *protected; | 291 | unsigned long *protected; |
298 | 292 | ||