Ignore:
Timestamp:
Jun 8, 2009, 11:51:32 AM (16 years ago)
Author:
Paul Smedley
Message:

More code tidyups, remove some unnecessary #ifndef TARGET_OS2 by adding some more stub functions

Location:
GPL/trunk/alsa-kernel/pci
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/bt87x.c

    r410 r445  
    2222 */
    2323
    24 #ifdef TARGET_OS2
    25 #include <asm/bitops.h>
    26 #endif
    2724#include <linux/init.h>
    2825#include <linux/interrupt.h>
  • GPL/trunk/alsa-kernel/pci/hda/hda_intel.c

    r434 r445  
    19381938                printk(KERN_ERR "hda-intel: unable to grab IRQ %d, "
    19391939                       "disabling device\n", chip->pci->irq);
    1940 #ifndef TARGEt_OS2
     1940#ifndef TARGET_OS2
    19411941                if (do_disconnect)
    19421942                        snd_card_disconnect(chip->card);
  • GPL/trunk/alsa-kernel/pci/hda/makefile.os2

    r433 r445  
    1616FILE2    = patch_realtek.obj patch_cmedia.obj patch_analog.obj patch_sigmatel.obj
    1717FILE3    = patch_si3054.obj patch_atihdmi.obj patch_conexant.obj patch_via.obj
    18 FILE4    =
     18FILE4    = 
    1919FILE5    =
    2020FILE6    =
  • GPL/trunk/alsa-kernel/pci/intel8x0.c

    r426 r445  
    4141/* for 440MX workaround */
    4242#include <asm/pgtable.h>
    43 #ifndef TARGET_OS2
    4443#include <asm/cacheflush.h>
    45 #endif
    4644
    4745MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
  • GPL/trunk/alsa-kernel/pci/ymfpci/ymfpci_main.c

    r426 r445  
    8585                if ((snd_ymfpci_readw(chip, reg) & 0x8000) == 0)
    8686                        return 0;
    87 #ifndef TARGET_OS2
    8887                schedule_timeout_uninterruptible(1);
    89 #else
    90                 set_current_state(TASK_UNINTERRUPTIBLE);
    91                 schedule_timeout(1);
    92 #endif
    9388        } while (time_before(jiffies, end_time));
    9489        snd_printk(KERN_ERR "codec_ready: codec %i is not ready [0x%x]\n", secondary, snd_ymfpci_readw(chip, reg));
     
    794789                add_wait_queue(&chip->interrupt_sleep, &wait);
    795790                atomic_inc(&chip->interrupt_sleep_count);
    796 #ifndef TARGET_OS2
    797791                schedule_timeout_uninterruptible(msecs_to_jiffies(50));
    798 #else
    799                 set_current_state(TASK_UNINTERRUPTIBLE);
    800                 schedule_timeout(msecs_to_jiffies(50));
    801 #endif
    802 
    803792                remove_wait_queue(&chip->interrupt_sleep, &wait);
    804793        }
Note: See TracChangeset for help on using the changeset viewer.