Thread (21 messages) flat view 21 messages, 6 authors, 2008-03-04

Re: [PATCH 3/3] ppc64-specific memory notifier support

From: Nathan Lynch <hidden>
Date: 2008-02-28 17:20:44

Badari Pulavarty wrote:
+static struct notifier_block pseries_smp_nb = {
Rename this to pseries_mem_nb?
+	.notifier_call = pseries_memory_notifier,
+};
+
+static int __init pseries_memory_hotplug_init(void)
+{
+	if (firmware_has_feature(FW_FEATURE_LPAR))
+		pSeries_reconfig_notifier_register(&pseries_smp_nb);
+
+	return 0;
+}
+arch_initcall(pseries_memory_hotplug_init);
arch_initcall doesn't seem appropriate.  __initcall should be fine.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help