[PARISC] Kill incorrect cast warning in unwinder

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
This commit is contained in:
Kyle McMartin 2007-10-18 00:03:56 -07:00 коммит произвёл Kyle McMartin
Родитель f16484f0e3
Коммит 7819994312
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -209,8 +209,8 @@ static int unwind_init(void)
static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size)
{ {
void handle_interruption(int, struct pt_regs *); extern void handle_interruption(int, struct pt_regs *);
static unsigned long *hi = (unsigned long)&handle_interruption; static unsigned long *hi = (unsigned long *)&handle_interruption;
if (pc == get_func_addr(hi)) { if (pc == get_func_addr(hi)) {
struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN);