From: Russell King Date: Tue, 16 May 2006 10:33:15 +0000 (+0100) Subject: [ARM] arch/arm/kernel/process.c: Fix warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d494ccb9ca297f80dc61a0d6357e88c86f44e92;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [ARM] arch/arm/kernel/process.c: Fix warning arch/arm/kernel/process.c:314: warning: assignment makes integer from pointer without a cast Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 1a1539e3a94..7df6e1aaa32 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -311,7 +311,7 @@ void free_thread_info(struct thread_info *thread) struct thread_info_list *th = &get_cpu_var(thread_info_list); if (th->nr < EXTRA_TASK_STRUCT) { unsigned long *p = (unsigned long *)thread; - p[0] = th->head; + p[0] = (unsigned long)th->head; th->head = p; th->nr += 1; put_cpu_var(thread_info_list);