kmalloc_header: use signed integer for target CPU id

Cherry-pick of bdb2d4d8fa94f9c0268cdfdb21af1a2a5c2bcae5
This commit is contained in:
Balazs Gerofi
2018-02-19 11:11:49 +09:00
parent 48515970a0
commit aed099fbcb

View File

@ -21,7 +21,7 @@
struct kmalloc_header {
unsigned int front_magic;
unsigned int cpu_id;
int cpu_id;
struct list_head list;
int size; /* The size of this chunk without the header */
unsigned int end_magic;