From aed099fbcb530f7afa603cade11aea241bf9e27e Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Mon, 19 Feb 2018 11:11:49 +0900 Subject: [PATCH] kmalloc_header: use signed integer for target CPU id Cherry-pick of bdb2d4d8fa94f9c0268cdfdb21af1a2a5c2bcae5 --- kernel/include/cls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/include/cls.h b/kernel/include/cls.h index d778407c..909c4db6 100644 --- a/kernel/include/cls.h +++ b/kernel/include/cls.h @@ -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;