]> err.no Git - linux-2.6/blobdiff - include/linux/memory_hotplug.h
[S390] xpram off by one error.
[linux-2.6] / include / linux / memory_hotplug.h
index 569b1f6c27d17acbaee4e01812818546d9e6670a..218501cfaeb9255ed62ca9fbf2a197cbb6993f53 100644 (file)
@@ -84,16 +84,9 @@ static inline int memory_add_physaddr_to_nid(u64 start)
  * Now, arch_free_nodedata() is just defined for error path of node_hot_add.
  *
  */
-static inline pg_data_t *arch_alloc_nodedata(int nid)
-{
-       return NULL;
-}
-static inline void arch_free_nodedata(pg_data_t *pgdat)
-{
-}
-static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat)
-{
-}
+extern pg_data_t *arch_alloc_nodedata(int nid);
+extern void arch_free_nodedata(pg_data_t *pgdat);
+extern void arch_refresh_nodedata(int nid, pg_data_t *pgdat);
 
 #else /* CONFIG_HAVE_ARCH_NODEDATA_EXTENSION */