Squash a couple of "pointer from integer" warnings recently introduced.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
unsigned long childregs = (unsigned long)current->thread_info +
THREAD_SIZE;
childregs -= sizeof(struct pt_regs);
- current->thread.regs = childregs;
+ current->thread.regs = (struct pt_regs *)childregs;
}
regs->nip = entry;
unsigned long childregs = (unsigned long)current->thread_info +
THREAD_SIZE;
childregs -= sizeof(struct pt_regs);
- current->thread.regs = childregs;
+ current->thread.regs = (struct pt_regs *)childregs;
}
/*