[buddy] improve initialization of bddnode
* src/kernel.c, src/kernel.h: Here.
This commit is contained in:
parent
278b41f4bb
commit
5a862295d3
2 changed files with 24 additions and 14 deletions
|
|
@ -99,6 +99,15 @@ typedef struct s_BddNode /* Node table entry */
|
|||
int next;
|
||||
} BddNode;
|
||||
|
||||
// This structure is used during initialization of the above
|
||||
// structure, to help gcc vectorize the initializing loop.
|
||||
typedef struct s_BddNodeInit
|
||||
{
|
||||
int z;
|
||||
int low;
|
||||
int high;
|
||||
int next;
|
||||
} BddNodeInit;
|
||||
|
||||
/*=== KERNEL VARIABLES =================================================*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue