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/

Reply via email to