triage: fix fp by providing a macro definition
This commit is contained in:
parent
34b9387727
commit
3404bc9ab0
|
@ -10,6 +10,8 @@
|
||||||
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
||||||
(type *)( (char *)__mptr - offsetof(type,member) );})
|
(type *)( (char *)__mptr - offsetof(type,member) );})
|
||||||
|
|
||||||
|
#define __get_user(x, ptr) ((x) = somevalue + sizeof(*ptr))
|
||||||
|
|
||||||
void panic(const char *fmt, ...) __attribute__((noreturn));
|
void panic(const char *fmt, ...) __attribute__((noreturn));
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue