Ignore:
Timestamp:
Jun 12, 2007, 7:22:43 AM (18 years ago)
Author:
Brendan Oakley
Message:

Create stub for signal_pending

Location:
GPL/trunk/include/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/include/linux/sched.h

    r34 r128  
    5454extern signed long schedule_timeout(signed long timeout);
    5555
    56 #endif
     56static inline int signal_pending(struct task_struct *p)
     57{
     58#ifdef DEBUG
     59        dprintf(("signal_pending always returns 0"));
     60#endif /* DEBUG */
     61        return 0;
     62}
     63
     64#endif /* _LINUX_SCHED_H */
  • GPL/trunk/include/linux/signal.h

    r32 r128  
    55
    66#include <asm/signal.h>
    7 
    8 #define signal_pending(p) 0
    97
    108#ifdef __KERNEL__
Note: See TracChangeset for help on using the changeset viewer.