17 Jun, 2009

1 commit

  • PIT_TICK_RATE is currently defined in four architectures, but in three
    different places. While linux/timex.h is not the perfect place for it, it
    is still a reasonable replacement for those drivers that traditionally use
    asm/timex.h to get CLOCK_TICK_RATE and expect it to be the PIT frequency.

    Note that for Alpha, the actual value changed from 1193182UL to 1193180UL.
    This is unlikely to make a difference, and probably can only improve
    accuracy. There was a discussion on the correct value of CLOCK_TICK_RATE
    a few years ago, after which every existing instance was getting changed
    to 1193182. According to the specification, it should be
    1193181.818181...

    Signed-off-by: Arnd Bergmann
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: Len Brown
    Cc: john stultz
    Cc: Dmitry Torokhov
    Cc: Takashi Iwai
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arnd Bergmann
     

13 Jun, 2009

1 commit


15 May, 2009

1 commit


30 Mar, 2009

1 commit


27 Mar, 2009

3 commits


24 Mar, 2009

1 commit


16 Mar, 2009

1 commit

  • Traditionally, changes to struct file->f_flags have been done under BKL
    protection, or with no protection at all. This patch causes all f_flags
    changes after file open/creation time to be done under protection of
    f_lock. This allows the removal of some BKL usage and fixes a number of
    longstanding (if microscopic) races.

    Reviewed-by: Christoph Hellwig
    Cc: Al Viro
    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     

26 Feb, 2009

2 commits

  • Impact: Move variable to a more inner scope.

    Fix this sparse warning:
    sound/oss/sequencer.c:235:29: warning: symbol 'err' shadows an earlier one
    sound/oss/sequencer.c:215:13: originally declared here

    Signed-off-by: Hannes Eder
    Signed-off-by: Takashi Iwai

    Hannes Eder
     
  • Impact: Change signature of 'set_volume_stereo' and 'set_volume_mono'.

    Fix this sparse warnings:
    sound/oss/pss.c:545:42: warning: incorrect type in argument 2 (different signedness)
    sound/oss/pss.c:546:42: warning: incorrect type in argument 3 (different signedness)
    sound/oss/pss.c:554:59: warning: incorrect type in argument 2 (different signedness)
    sound/oss/pss.c:560:59: warning: incorrect type in argument 2 (different signedness)
    sound/oss/pss.c:566:59: warning: incorrect type in argument 2 (different signedness)

    Signed-off-by: Hannes Eder
    Signed-off-by: Takashi Iwai

    Hannes Eder
     

23 Feb, 2009

1 commit

  • http://kisskb.ellerman.id.au/kisskb/buildresult/72115/:
    | net/mac80211/ieee80211_i.h:327: error: syntax error before 'volatile'
    | net/mac80211/ieee80211_i.h:350: error: syntax error before '}' token
    | net/mac80211/ieee80211_i.h:455: error: field 'sta' has incomplete type
    | distcc[19430] ERROR: compile net/mac80211/main.c on sprygo/32 failed

    This is caused by

    | # define mfp ((*(volatile struct MFP*)MFP_BAS))

    in arch/m68k/include/asm/atarihw.h, which conflicts with the new "mfp" enum in
    net/mac80211/ieee80211_i.h.

    Rename "mfp" to "st_mfp", as it's a way too generic name for a global #define.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

18 Feb, 2009

1 commit


17 Feb, 2009

1 commit


16 Feb, 2009

1 commit


11 Feb, 2009

1 commit


13 Jan, 2009

1 commit


06 Jan, 2009

1 commit


13 Dec, 2008

1 commit


02 Nov, 2008

1 commit

  • We broke O_NONBLOCK handling in OSS dmasound_core in 2.3.11-pre3 - the
    original code copied f_flags to open_mode and then checked for
    O_NONBLOCK in there, but that got changed to copying f_mode and
    O_NONBLOCK has not reached that field in any kernel version.

    Since we do not care for any other bits, the fix is obvious...

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

28 Oct, 2008

2 commits


27 Oct, 2008

1 commit


21 Oct, 2008

1 commit


20 Oct, 2008

1 commit


17 Oct, 2008

1 commit


13 Oct, 2008

1 commit


09 Sep, 2008

1 commit


29 Aug, 2008

1 commit

  • sound/sound_core.c implements soundcore.ko and contains two parts -
    sound_class which is shared by both ALSA and OSS and device
    redirection support for OSS. It's always compiled when any sound
    support is enabled although it's necessary only when OSS (the actual
    one or emulation) is enabled. This is slightly wasteful and as device
    redirection always registers character device region for major 14, it
    prevents alternative implementation.

    This patch introduces a new config SOUND_OSS_CORE which is selected
    iff OSS support is actually necessary and build the OSS core part
    conditionally.

    If OSS is disabled, soundcore merely contains sound_class but leaving
    it that way seems to be the simplest approach as otherwise sound_class
    should be in ALSA core file if OSS is disabled but should be in
    soundcore if OSS is enabled. Also, there's also the user confusion
    factor.

    Signed-off-by: Tejun Heo
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Tejun Heo
     

25 Aug, 2008

1 commit

  • With the restructering of the indy button handling the old OSS HAL2 driver
    got broken. Since there is a new ALSA driver for HAL2, the experimental
    OSS driver is obsolete and will be removed by this patch.

    Signed-off-by: Thomas Bogendoerfer
    Cc: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Thomas Bogendoerfer
     

19 Aug, 2008

1 commit


07 Aug, 2008

2 commits


25 Jul, 2008

2 commits


22 Jul, 2008

1 commit


15 Jul, 2008

1 commit

  • * 'x86/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (821 commits)
    x86: make 64bit hpet_set_mapping to use ioremap too, v2
    x86: get x86_phys_bits early
    x86: max_low_pfn_mapped fix #4
    x86: change _node_to_cpumask_ptr to return const ptr
    x86: I/O APIC: remove an IRQ2-mask hack
    x86: fix numaq_tsc_disable calling
    x86, e820: remove end_user_pfn
    x86: max_low_pfn_mapped fix, #3
    x86: max_low_pfn_mapped fix, #2
    x86: max_low_pfn_mapped fix, #1
    x86_64: fix delayed signals
    x86: remove conflicting nx6325 and nx6125 quirks
    x86: Recover timer_ack lost in the merge of the NMI watchdog
    x86: I/O APIC: Never configure IRQ2
    x86: L-APIC: Always fully configure IRQ0
    x86: L-APIC: Set IRQ0 as edge-triggered
    x86: merge dwarf2 headers
    x86: use AS_CFI instead of UNWIND_INFO
    x86: use ignore macro instead of hash comment
    x86: use matching CFI_ENDPROC
    ...

    Linus Torvalds
     

11 Jul, 2008

1 commit


13 Jun, 2008

1 commit

  • This patch contains the following cleanups:
    - make the following needlessly global functions static:
    - dmasound_core.c: get_afmt_string()
    - dmasound_paula.c: dmasound_paula_init()
    - dmasound_q40.c: dmasound_q40_init()
    - remove the following unused global variable:
    - dmasound_core.c: software_input_volume

    Signed-off-by: Adrian Bunk
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Adrian Bunk
     

30 May, 2008

1 commit