Changes in kernel/generic/include/macros.h [b0c2075:83dab11] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/macros.h
rb0c2075 r83dab11 38 38 #ifndef __ASM__ 39 39 40 #include < typedefs.h>40 #include <stdint.h> 41 41 #include <trace.h> 42 42 … … 157 157 }) 158 158 159 160 #ifndef member_to_inst 161 #define member_to_inst(ptr_member, type, member_identif) \ 162 ((type*) (((void*)(ptr_member)) - ((void*)&(((type*)0)->member_identif)))) 163 #endif 164 165 159 166 #endif 160 167
Note:
See TracChangeset
for help on using the changeset viewer.