Skip to contentSkip to conversation

: sparc64: Refactor MDESC cpu scanning code using an iterator.

PATCH In review David Miller 1 participant 1 message Apr 9, 2009 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 6/12 : sparc64: Refactor MDESC cpu scanning code using an iterator.

---
 arch/sparc/include/asm/mdesc.h |    1 +
 arch/sparc/kernel/mdesc.c      |  146 ++++++++++++++++++++++++----------------
 2 files changed, 90 insertions(+), 57 deletions(-)
arch/sparc/include/asm/mdesc.h +1 -0
index 1acc727..8f8a520 100644
@@ -72,6 +72,7 @@ struct mdesc_notifier_client {
 extern void mdesc_register_notifier(struct mdesc_notifier_client *client);
 
 extern void mdesc_fill_in_cpu_data(cpumask_t mask);
+extern void mdesc_populate_present_mask(cpumask_t *mask);
 
 extern void sun4v_mdesc_init(void);
 
arch/sparc/kernel/mdesc.c +89 -57

232 lines not on this page · raw message

Signature · 1 line
1.6.2.2