task: reorder task structure

Reorders task structure in order to gain better padding
and don't waste any space.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
Tomasz Lauda 2019-08-05 11:55:28 +02:00 committed by Liam Girdwood
parent f4c6d35761
commit 8920419137
1 changed files with 3 additions and 3 deletions

View File

@ -37,12 +37,12 @@ enum task_state {
};
struct task {
uint16_t type;
uint64_t start;
uint16_t type;
uint16_t priority;
enum task_state state;
uint16_t core;
uint32_t flags;
uint16_t flags;
enum task_state state;
void *data;
uint64_t (*func)(void *data);
struct list_item list;