pa2.2: add ftrace
This commit is contained in:
parent
0f7c6fd508
commit
9229e4318e
8 changed files with 190 additions and 5 deletions
|
@ -92,6 +92,8 @@
|
|||
|
||||
#define PG_ALIGN __attribute((aligned(4096)))
|
||||
|
||||
#define FAILED_GOTO(tag, exp) do {if((exp)) goto tag;} while(0)
|
||||
|
||||
#if !defined(likely)
|
||||
#define likely(cond) __builtin_expect(cond, 1)
|
||||
#define unlikely(cond) __builtin_expect(cond, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue