diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-06-10 18:16:01 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-10 18:16:01 -0700 |
| commit | f5417dc2bb0e9900838c3b7779a77bef7ddba6c1 (patch) | |
| tree | 16484c777022609404257d476f6de685bb8d76fd /include/linux/node.h | |
| parent | 1bca238aef3ab918efefa329aba3f4d1ed93b50a (diff) | |
[driver model] Compile fixes for NUMA
Diffstat (limited to 'include/linux/node.h')
| -rw-r--r-- | include/linux/node.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/node.h b/include/linux/node.h index 90543a94b86e..d1c28e6a0b18 100644 --- a/include/linux/node.h +++ b/include/linux/node.h @@ -28,7 +28,6 @@ struct node { extern int register_node(struct node *, int, struct node *); -#define to_node(_root) container_of(_root, struct node, sysroot) -#define to_root(_dev) container_of(_dev, struct sys_root, dev) +#define to_node(sys_device) container_of(sys_device, struct node, sysdev) #endif /* _LINUX_NODE_H_ */ |
