1. 06 5月, 2008 15 次提交
  2. 05 5月, 2008 25 次提交
    • E
      Removal of FUTEX_FD · 82af7aca
      Eric Sesterhenn 提交于
      Since FUTEX_FD was scheduled for removal in June 2007 lets remove it.
      
      Google Code search found no users for it and NGPT was abandoned in 2003
      according to IBM.  futex.h is left untouched to make sure the id does
      not get reassigned.  Since queue_me() has no users left it is commented
      out to avoid a warning, i didnt remove it completely since it is part of
      the internal api (matching unqueue_me())
      Signed-off-by: NEric Sesterhenn <snakebyte@gmx.de>
      Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (removed rest)
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      82af7aca
    • J
      kgdb: kconfig fix xconfig/menuconfig element · e024cbd2
      Jan Engelhardt 提交于
      Kconfig.kgdb: fix menuconfig element
      Signed-off-by: NJan Engelhardt <jengelh@computergmbh.de>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      e024cbd2
    • H
      kgdb: fix signedness mixmatches, add statics, add declaration to header · 688b744d
      Harvey Harrison 提交于
      Noticed by sparse:
      arch/x86/kernel/kgdb.c:556:15: warning: symbol 'kgdb_arch_pc' was not declared. Should it be static?
      kernel/kgdb.c:149:8: warning: symbol 'kgdb_do_roundup' was not declared. Should it be static?
      kernel/kgdb.c:193:22: warning: symbol 'kgdb_arch_pc' was not declared. Should it be static?
      kernel/kgdb.c:712:5: warning: symbol 'remove_all_break' was not declared. Should it be static?
      
      Related to kgdb_hex2long:
      arch/x86/kernel/kgdb.c:371:28: warning: incorrect type in argument 2 (different signedness)
      arch/x86/kernel/kgdb.c:371:28:    expected long *long_val
      arch/x86/kernel/kgdb.c:371:28:    got unsigned long *<noident>
      kernel/kgdb.c:469:27: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:469:27:    expected long *long_val
      kernel/kgdb.c:469:27:    got unsigned long *<noident>
      kernel/kgdb.c:470:27: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:470:27:    expected long *long_val
      kernel/kgdb.c:470:27:    got unsigned long *<noident>
      kernel/kgdb.c:894:27: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:894:27:    expected long *long_val
      kernel/kgdb.c:894:27:    got unsigned long *<noident>
      kernel/kgdb.c:895:27: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:895:27:    expected long *long_val
      kernel/kgdb.c:895:27:    got unsigned long *<noident>
      kernel/kgdb.c:1127:28: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:1127:28:    expected long *long_val
      kernel/kgdb.c:1127:28:    got unsigned long *<noident>
      kernel/kgdb.c:1132:25: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:1132:25:    expected long *long_val
      kernel/kgdb.c:1132:25:    got unsigned long *<noident>
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      688b744d
    • J
      kgdb: 1000 loops for the single step test in kgdbts · 7cfcd985
      Jason Wessel 提交于
      The single step test is not terribly costly and it should be able to
      pass at 1000 loops successfully in under 1 second.  A non-kgdb timing
      regression was found using this test, but it did not occur frequently
      because by default the test was only executed a single time.
      
      This patch changes the default for the single step test to 1000
      iterations and allows for individual configuration of the single step
      test to further exercise the kgdb subsystem when needed.
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      7cfcd985
    • H
      kgdb: trivial sparse fixes in kgdb test-suite · 001fddf5
      Harvey Harrison 提交于
      Shadowed variable and integer as NULL pointer fixes:
      drivers/misc/kgdbts.c:877:6: warning: symbol 'sys_open_test' shadows an earlier one
      drivers/misc/kgdbts.c:537:27: originally declared here
      drivers/misc/kgdbts.c:378:22: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:386:22: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:468:30: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:472:15: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:502:30: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:506:30: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:509:30: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:523:20: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:527:20: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:530:15: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:541:21: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:545:21: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:548:15: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:559:30: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:563:15: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:573:16: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:574:19: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:578:15: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:588:16: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:589:19: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:593:15: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:602:16: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:604:15: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:925:3: warning: Using plain integer as NULL pointer
      drivers/misc/kgdbts.c:938:3: warning: Using plain integer as NULL pointer
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      001fddf5
    • G
      kgdb: minor documentation fixes · f9250937
      grzegorz.chwesewicz@chilan.com 提交于
      Two minor fixes to the kgdb documentation.
      Signed-off-by: NGrzegorz Chwesewicz, Chilan <grzegorz.chwesewicz@chilan.com>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      f9250937
    • D
      [ALSA] soc - fix S3C2410 i2s programming error · 2c36eecf
      Davide Rizzo 提交于
      S3C2410 i2s driver currently manages only i2s protocol (and not left
      justified one) and slave mode.
      With this small patch, other modes are possible.
      Signed-off-by: NDavide Rizzo <davide@elpa.it>
      Acked-by: NLiam Girdwood <lg@opensource.wolfsonmicro.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2c36eecf
    • D
      [ALSA] soc - fix s3c2410 PCM breakage · d6426171
      Davide Rizzo 提交于
      S3C2410 pcm doesn't work.
      s3c2410_dma_request() now returns the channel number and not 0 if OK.
      Signed-off-by: NDavide Rizzo <davide@elpa.it>
      Acked-by: NLiam Girdwood <lg@opensource.wolfsonmicro.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d6426171
    • T
      [ALSA] ac97 - Add a workaround for broken quirk for VT1617A codec · 2e75d050
      Takashi Iwai 提交于
      On boards with VT1617A codec, the sound disappears suddenly.
      This looks like a problem with HPE-bit control that is supposed to be
      set in patch_vt1617a().  However, on such problematic hardwares, the
      bit is actually reset mysteriously.
      
      The patch adds a workaround for the wrong quirk.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2e75d050
    • J
      [ALSA] Revert migration to alc_set_pin_output() in alc861_auto_set_output_and_unmute() · 564c5bea
      Jacek Luczak 提交于
      Change done by:
              commit f6c7e546
              [ALSA] hda-codec - Fix auto-configuration of Realtek codecs
      broke sound on ALC861 Analog.
      Signed-off-by: NJacek Luczak <luczak.jacek@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      564c5bea
    • T
      [ALSA] fm801 - Fix kconfig dependency mess of fm801-tea575x · 20686c24
      Takashi Iwai 提交于
      FM801-tea575x tuner has a reverse selection to V4L1 and this causes
      nasty dependency problems.
      
      The patch simplifies the dependency with a normal
      "depends on VIDEO_V4L1".  This decreases the usability but fixes bugs,
      yeah.  If any better feature like "requires" is introduced to kbuild
      in future, we'll be able to switch it...
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      20686c24
    • T
      [ALSA] hda - Support IDT 92HD206 codec · 7bd3c0f7
      Takashi Iwai 提交于
      Added the support for IDT 92HD206 codec chip.
      It's compatible with STAC927x.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7bd3c0f7
    • J
      [ALSA] pcsp: Fix build with CONFIG_PM=n · 983e0972
      Johann Felix Soden 提交于
      sound/drivers/pcsp/pcsp.c: In function 'pcsp_suspend':
      sound/drivers/pcsp/pcsp.c:201: error: implicit declaration of function 'snd_pcm_suspend_all'
      Signed-off-by: NJohann Felix Soden <johfel@users.sourceforge.net>
      CC: Stas Sergeev <stsp@aknet.ru>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      983e0972
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-inttypes · f74d505b
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-inttypes:
        fix asm-mips/types.h syntax error
        fix asm-alpha/types.h breakage
      f74d505b
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-fixes · 45ea2103
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-fixes:
        x86: fix setup printk format warning
        x86: olpc build fix
        x86: video/fbdev.c: add MODULE_LICENSE
        x86: fix up bootparam.h for userspace inclusion
        x86: relocs ELF handling - use SELFMAG instead of numeric constant
        x86: vdso ELF handling - use SELFMAG instead of numeric constant
        x86: remove dell reboot dmi quirk board name match
        x86: es7000 build fix
        x86: make additional_cpus static
        x86: make start_secondary() static
        kbuild, suspend, x86: fix rebuild of wakeup.bin
        uml: fix gcc problem
        x86: undo visws/numaq build changes
      45ea2103
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes · 10ea18f0
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
        kconfig-language.txt: remove bogus hint
        kconfig: fix MAC OS X warnings in menuconfig
        modpost: i2c aliases need no trailing wildcard
      10ea18f0
    • B
      task_nommu: fix compile failing bug because of spilt file.h · eb28062f
      Bryan Wu 提交于
        CC      fs/proc/task_nommu.o
      fs/proc/task_nommu.c: In function ‘task_mem’:
      fs/proc/task_nommu.c:55: error: dereferencing pointer to incomplete type
      make[2]: *** [fs/proc/task_nommu.o] Error 1
      make[1]: *** [fs/proc] Error 2
      make: *** [fs] Error 2
      Signed-off-by: NBryan Wu <cooloney@kernel.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      eb28062f
    • L
      d0dcd41d
    • L
      Merge branch 'kvm-updates-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm · 8dcf5782
      Linus Torvalds 提交于
      * 'kvm-updates-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
        x86: KVM geust: make setup_secondary_clock definition dependent on local apic
        KVM: MMU: Allow more than PAGES_PER_HPAGE write protections per large page
        KVM: avoid fx_init() schedule in atomic
        KVM: Avoid spurious execeptions after setting registers
        KVM: PIT: support mode 4
        KVM: x86 emulator: disable writeback on lmsw
        KVM: ppc: deliver INTERRUPT_FP_UNAVAIL to the guest
        KVM: ppc: Handle guest idle by emulating MSR[WE] writes
        KVM: x86: task switch: fix wrong bit setting for the busy flag
        KVM: VMX: Enable EPT feature for KVM
        KVM: VMX: Prepare an identity page table for EPT in real mode
        KVM: Export necessary function for EPT
        KVM: MMU: Remove #ifdef CONFIG_X86_64 to support 4 level EPT
        KVM: MMU: Add EPT support
        KVM: Add kvm_x86_ops get_tdp_level()
        KVM: MMU: Move some definitions to a header file
        KVM: VMX: EPT Feature Detection
      8dcf5782
    • I
      sysfs: build fix · e73b65f1
      Ingo Molnar 提交于
      x86.git testing found the following build failure on v2.6.26-rc1:
      
        In file included from include/linux/kobject.h:22,
                         from include/linux/module.h:17,
                         from include/linux/crypto.h:22,
                         from arch/x86/kernel/asm-offsets_32.c:8,
                         from arch/x86/kernel/asm-offsets.c:3:
        include/linux/sysfs.h:201: error: redefinition of 'sysfs_update_group'
        include/linux/sysfs.h:195: error: previous definition of 'sysfs_update_group' was here
        make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
        make: *** [prepare0] Error 2
      
      with the following config:
      
          http://redhat.com/~mingo/misc/config-Sun_May__4_07_09_30_CEST_2008.bad
      
      the reason for the build failure is the duplicate definition of the
      sysfs_update_group() inline function in include/linux/sysfs.h.
      
      The duplication was a merge error: it was added via -mm by commit
      v2.6.25-7262-g2850699c, "sysfs: sysfs_update_group stub for
      CONFIG_SYSFS=n" a day before v2.6.26-rc1, but a day before that the same
      commit was already merged upstream via the sysfs tree, with commit
      v2.6.25-7211-g1cbfb7a5.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e73b65f1
    • L
      Make forced module loading optional · 826e4506
      Linus Torvalds 提交于
      The kernel module loader used to be much too happy to allow loading of
      modules for the wrong kernel version by default.  For example, if you
      had MODVERSIONS enabled, but tried to load a module with no version
      info, it would happily load it and taint the kernel - whether it was
      likely to actually work or not!
      
      Generally, such forced module loading should be considered a really
      really bad idea, so make it conditional on a new config option
      (MODULE_FORCE_LOAD), and make it default to off.
      
      If somebody really wants to force module loads, that's their problem,
      but we should not encourage it.  Especially as it happened to me by
      mistake (ie regular unversioned Fedora modules getting loaded) causing
      lots of strange behavior.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      826e4506
    • A
      fix asm-mips/types.h syntax error · 2961b423
      Adrian Bunk 提交于
      This patch fixes the following compile error caused by
      commit 23cf11dd
      (mips: types: use <asm-generic/int-*.h> for the mips architecture):
      
      <--  snip  -->
      
      ...
        CC      kernel/bounds.s
      In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/types.h:12,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/page-flags.h:8,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/bounds.c:9:
      include2/asm/types.h:56:2: error: #endif without #if
      make[2]: *** [kernel/bounds.s] Error 1
      
      <--  snip  -->
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      2961b423
    • A
      fix asm-alpha/types.h breakage · 36bbfe2f
      Adrian Bunk 提交于
      This patch fixes the following compile error on alpha caused by
      commit 3726c23d
      (alpha: types: use <asm-generic/int-*.h> for the alpha architecture):
      
      <--  snip  -->
      
      ...
        CC      arch/alpha/kernel/asm-offsets.s
      In file included from include2/asm/topology.h:6,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/topology.h:34,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/mmzone.h:683,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/gfp.h:4,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/slab.h:12,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/percpu.h:5,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/rcupdate.h:39,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/pid.h:4,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/sched.h:74,
                       from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/alpha/kernel/asm-offsets.c:9:
      include2/asm/machvec.h:44: error: expected declaration specifiers or '...' before 'dma_addr_t'
      include2/asm/machvec.h:44: error: expected declaration specifiers or '...' before 'dma_addr_t'
      In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/alpha/kernel/asm-offsets.c:12:
      include2/asm/io.h:94: warning: type defaults to 'int' in declaration of 'dma_addr_t'
      include2/asm/io.h:94: warning: variable 'dma_addr_t' declared 'inline'
      include2/asm/io.h:94: error: expected ',' or ';' before 'isa_page_to_bus'
      make[2]: *** [arch/alpha/kernel/asm-offsets.s] Error 1
      
      <--  snip  -->
      
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      36bbfe2f
    • A
      kconfig-language.txt: remove bogus hint · 2cb1e125
      Adrian Bunk 提交于
      For the use case the hint describe a simple dependency is
      enough.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      2cb1e125
    • S
      c4143a83