summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/process.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-05-16 12:33:15 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-05-16 12:39:32 +0200
commit9d494ccb9ca297f80dc61a0d6357e88c86f44e92 (patch)
treebff2835d78fb8cb3bdbab1cf9e235e52929e5653 /arch/arm/kernel/process.c
parent[ARM] 3526/1: ioremap should use vunmap instead of vfree on ARM (diff)
downloadlinux-9d494ccb9ca297f80dc61a0d6357e88c86f44e92.tar.xz
linux-9d494ccb9ca297f80dc61a0d6357e88c86f44e92.zip
[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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r--arch/arm/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 1a1539e3a946..7df6e1aaa323 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);