On Sat, 11 Nov 2000, Alexander Viro wrote: > I would probably turn it into > unsigned long *ebp = *((unsigned long **)t->esp); ebp++; /* We want return address, not the previous frame pointer */ > /* Bits 0,1 and 13..31 must be shared with the stack base */ > if (((unsigned long)ebp ^ (unsigned long)t) & ~(2*PAGE_SIZE-4)) > return 0; > > return *ebp; Sorry. Cheers, Al - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- [PATCH] show_task() and thread_saved_pc() fix for x86 Alexander Viro
- Re: [PATCH] show_task() and thread_saved_pc() fix f... Ralf Baechle
- Re: [PATCH] show_task() and thread_saved_pc() f... Richard Henderson
- Re: [PATCH] show_task() and thread_saved_pc() fix f... Linus Torvalds
- Re: [PATCH] show_task() and thread_saved_pc() f... Alexander Viro
- Re: [PATCH] show_task() and thread_saved_pc... Alexander Viro
- Re: [PATCH] show_task() and thread_saved_pc... Richard Henderson
- Re: [PATCH] show_task() and thread_save... Jean Wolter
- Re: [PATCH] show_task() and thread... Ralf Baechle