Ignore:
Timestamp:
Mar 24, 2008, 2:43:42 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to ALSA 1.0.16 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud-2.0/lib32/misc.c

    r73 r305  
    120120//******************************************************************************
    121121//******************************************************************************
     122#if 0
    122123mem_map_t *virt_to_page(int x)
    123124{
     
    125126    return ↦
    126127}
     128#endif
    127129//******************************************************************************
    128130//******************************************************************************
     
    134136{
    135137    struct proc_dir_entry *proc;
    136 
    137138    proc = (struct proc_dir_entry *)kmalloc(sizeof(struct proc_dir_entry), 0);
    138139    memset(proc, 0, sizeof(struct proc_dir_entry));
     
    218219//******************************************************************************
    219220//******************************************************************************
    220 void *snd_compat_kcalloc(size_t n, size_t size, int flags)
    221 {
    222         void *ret = NULL;
    223 
    224         if (n != 0 && size > INT_MAX / n)
    225                 return ret;
    226 
    227         ret = kmalloc(n * size, flags);
    228         if (ret)
    229                 memset(ret, 0, n * size);
    230         return ret;
    231 }
    232 
Note: See TracChangeset for help on using the changeset viewer.