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