Ignore:
Timestamp:
Jan 16, 2021, 10:44:28 PM (5 years ago)
Author:
Paul Smedley
Message:

Move remaining functions from compat_22.h into appropriate linux header and remove legacy header; remove unused adriver.h

Location:
GPL/branches/uniaud32-next/include/linux
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/completion.h

    r629 r646  
    33
    44#include <linux/wait.h>
    5 #include <sound/compat_22.h>
     5
    66/*
    77 * struct completion - structure used to maintain state for a "completion"
  • GPL/branches/uniaud32-next/include/linux/rwsem.h

    r615 r646  
    33#ifndef _LINUX_RWSEM_H
    44#define _LINUX_RWSEM_H
     5/* rw_semaphore - replaced with mutex */
     6#define rw_semaphore semaphore
     7#define init_rwsem(x) init_MUTEX(x)
     8#define DECLARE_RWSEM(x) DECLARE_MUTEX(x)
     9#define down_read(x) down(x)
     10#define down_write(x) down(x)
     11#define up_read(x) up(x)
     12#define up_write(x) up(x)
     13
    514static inline int down_write_trylock(struct rw_semaphore *sem) {return 0;}
    6 #define init_rwsem(x) init_MUTEX(x)
    715#endif /* _LINUX_RWSEM_H */
  • GPL/branches/uniaud32-next/include/linux/types.h

    r629 r646  
    149149typedef u32 phys_addr_t;
    150150typedef s64                     int64_t;
     151
     152#define DECLARE_BITMAP(name,bits) \
     153        unsigned long name[((bits)+BITS_PER_LONG-1)/BITS_PER_LONG]
     154
    151155#endif /* _LINUX_TYPES_H */
  • GPL/branches/uniaud32-next/include/linux/workqueue.h

    r615 r646  
    33
    44#include <linux/timer.h>
    5 #include <sound/compat_22.h>
    65#include <linux/completion.h>
    76
Note: See TracChangeset for help on using the changeset viewer.