Changeset 128


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

Create stub for signal_pending

Location:
GPL/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/core/hwdep.c

    r118 r128  
    128128        schedule();
    129129        down(&hw->open_mutex);
    130 #ifndef TARGET_OS2
    131 /* MKG quiet OW:
    132    see include/linux/signal.h
    133    #define signal_pending(p) 0
    134    Never returns true */
    135130        if (signal_pending(current)) {
    136131            err = -ERESTARTSYS;
    137132            break;
    138133        }
    139 #endif /* TARGET_OS2 */
    140134    }
    141135    remove_wait_queue(&hw->open_wait, &wait);
  • 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__
  • GPL/trunk/lib32/debug.c

    r127 r128  
    549549{
    550550   int len;
     551#ifdef DEBUG
     552   int i;
     553#endif /* DEBUG */
    551554   
    552555   len= _strnlen( DbgStr, 1024 );
     
    556559      */
    557560#ifdef DEBUG
    558    int i;
    559561   for( i= 0; i < len; i++ )
    560562      CharOut( DbgStr[i] );
Note: See TracChangeset for help on using the changeset viewer.