The Android Open Source Project | a27d2ba | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _LINUX_NODE_H_ |
| 13 | #define _LINUX_NODE_H_ |
| 14 | |
| 15 | #include <linux/sysdev.h> |
| 16 | #include <linux/cpumask.h> |
| 17 | |
| 18 | struct node { |
| 19 | struct sys_device sysdev; |
| 20 | }; |
| 21 | |
| 22 | #define to_node(sys_device) container_of(sys_device, struct node, sysdev) |
| 23 | #endif |