diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-11-03 03:34:38 -0500 |
---|---|---|
committer | Michael Ellerman <michael@ellerman.id.au> | 2005-11-03 03:34:38 -0500 |
commit | 40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e (patch) | |
tree | 36f18519c5094495840a1a1c424f24db837eed22 /include | |
parent | c87ef1171db207d9d19f87ad12db92974d95c466 (diff) |
powerpc: Cleanup vpa code
register_vpa() doesn't actually do a VPA register call it just uses the flags
you pass it, so rename it to vpa_call() to be clearer.
We can then define register_vpa() and unregister_vpa() which are both simple
wrappers around vpa_call(). (we'll need unregister_vpa() for kexec soon)
We can then cleanup vpa_init(), and because vpa_init() is only called from
platforms/pseries we remove the definition in asm-ppc64/smp.h.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc64/smp.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-ppc64/smp.h b/include/asm-ppc64/smp.h index 0f42fcc1900b..46c04046952d 100644 --- a/include/asm-ppc64/smp.h +++ b/include/asm-ppc64/smp.h | |||
@@ -85,14 +85,6 @@ extern void smp_generic_take_timebase(void); | |||
85 | 85 | ||
86 | extern struct smp_ops_t *smp_ops; | 86 | extern struct smp_ops_t *smp_ops; |
87 | 87 | ||
88 | #ifdef CONFIG_PPC_PSERIES | ||
89 | void vpa_init(int cpu); | ||
90 | #else | ||
91 | static inline void vpa_init(int cpu) | ||
92 | { | ||
93 | } | ||
94 | #endif /* CONFIG_PPC_PSERIES */ | ||
95 | |||
96 | #endif /* __ASSEMBLY__ */ | 88 | #endif /* __ASSEMBLY__ */ |
97 | 89 | ||
98 | #endif /* !(_PPC64_SMP_H) */ | 90 | #endif /* !(_PPC64_SMP_H) */ |