[lkml]   [2001]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: How should nano_sleep be fixed (was: ptrace(), fork(), sleep(), exit(), SIGCHLD)
On Thu, Aug 16, 2001 at 12:17:46PM +0200, christophe barbé wrote:
> > asmlinkage long sys_nanosleep(struct timespec *rqtp, struct timespec
> > *rmtp)
> > {
> > struct timespec t;
> > unsigned long expire;
> > + struct pt_regs * regs = (struct pt_regs *) &rqtp;

Note also that this is bogus as an architecture invariant.

On ARM, we have to pass a pt_regs pointer into any function that requires

Russell King ( The developer of ARM Linux

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [from the cache]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site