X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fnode.h;fp=include%2Flinux%2Fnode.h;h=254dc3de650b81e5cce4821f8101dad72005f996;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=bc001bc225c3748c01b13cedd42fa59de88b49a3;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/linux/node.h b/include/linux/node.h index bc001bc22..254dc3de6 100644 --- a/include/linux/node.h +++ b/include/linux/node.h @@ -26,33 +26,8 @@ struct node { struct sys_device sysdev; }; -extern struct node node_devices[]; - extern int register_node(struct node *, int, struct node *); extern void unregister_node(struct node *node); -#ifdef CONFIG_NUMA -extern int register_one_node(int nid); -extern void unregister_one_node(int nid); -extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); -extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); -#else -static inline int register_one_node(int nid) -{ - return 0; -} -static inline int unregister_one_node(int nid) -{ - return 0; -} -static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) -{ - return 0; -} -static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) -{ - return 0; -} -#endif #define to_node(sys_device) container_of(sys_device, struct node, sysdev)