Messages in this thread |  | | Date | Sat, 11 Nov 2000 22:23:48 -0500 (EST) | From | Alexander Viro <> | Subject | Re: [PATCH] show_task() and thread_saved_pc() fix for x86 |
| |
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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |