1. 24 5月, 2006 12 次提交
  2. 23 5月, 2006 7 次提交
  3. 22 5月, 2006 21 次提交
    • D
      [SPARC]: Add robust futex syscall entries. · 353b28ba
      David S. Miller 提交于
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      353b28ba
    • A
      [SUNSU]: Fix license. · 9a2a9bb2
      Andrew Morton 提交于
      FATAL: modpost: GPL-incompatible module sunsu uses the GPL-only symbol tty_insert_flip_string_flags
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9a2a9bb2
    • L
      Revert "[PATCH] sched: fix interactive task starvation" · f1adad78
      Linus Torvalds 提交于
      This reverts commit 5ce74abe (and its
      dependent commit 8a5bc075), because of
      audio underruns.
      
      Reported by Rene Herman <rene.herman@keyaccess.nl>, who also pinpointed
      the exact cause of the underruns:
      
        "Audio underruns galore, with only ogg123 and firefox (browsing the
         GIT tree online is also a nice trigger by the way).
      
         If I back it out, everything is fine for me again."
      
      Cc: Rene Herman <rene.herman@keyaccess.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      Acked-by: NCon Kolivas <kernel@kolivas.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f1adad78
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb · c9d20af6
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (33 commits)
        V4L/DVB (3965): Fix CONFIG_VIDEO_VIVI=y build bug
        V4L/DVB (3964): Bt8xx/bttv-cards.c: fix off-by-one errors
        V4L/DVB (3914): Vivi build fix
        V4L/DVB (3912): Sparc32 vivi fix
        V4L/DVB (3832): Get_dvb_firmware: download nxt2002 firmware from new driver location
        V4L/DVB (3829): Fix frequency values in the ranges structures of the LG TDVS H06xF tuners
        V4L/DVB (3826): Saa7134: Missing 'break' in Terratec Cinergy 400 TV initialization
        V4L/DVB (3825): Remove broken 'fast firmware load' from cx25840.
        V4L/DVB (3819): Cxusb-bluebird: bug-fix: power down corrupts frontend
        V4L/DVB (3813): Add support for TCL M2523_5N_E tuner.
        V4L/DVB (3804): Tweak bandselect setup fox cx24123
        V4L/DVB (3803): Various correctness fixes to tuning.
        V4L/DVB (3797): Always wait for diseqc queue to become ready before transmitting a diseqc message
        V4L/DVB (3796): Add several debug messages to cx24123 code
        V4L/DVB (3795): Fix for CX24123 & low symbol rates
        V4L/DVB (3792): Kbuild: DVB_BT8XX must select DVB_ZL10353
        V4L/DVB (3790): Use after free in drivers/media/video/em28xx/em28xx-video.c
        V4L/DVB (3788): Fix compilation with V4L1_COMPAT
        V4L/DVB (3782): Removed uneeded stuff from pwc Makefile
        V4L/DVB (3775): Add VIVI Kconfig stuff
        ...
      c9d20af6
    • A
      [PATCH] ad1848 section fix · b307e854
      Andrew Morton 提交于
      WARNING: sound/oss/ad1848.o - Section mismatch: reference to .init.data:ad1848_isapnp_list from .text between 'ad1848_init_generic' (at offset 0x46f0) and 'kmalloc'
      WARNING: sound/oss/ad1848.o - Section mismatch: reference to .init.data:ad1848_isapnp_list from .text between 'ad1848_init_generic' (at offset 0x46f8) and 'kmalloc'
      WARNING: sound/oss/ad1848.o - Section mismatch: reference to .init.data:ad1848_isapnp_list from .text between 'ad1848_init_generic' (at offset 0x4818) and 'kmalloc'
      
      Also,
      
      sound/oss/ad1848.c: In function `ad1848_init':
      sound/oss/ad1848.c:2029: warning: cast to pointer from integer of different size
      sound/oss/ad1848.c: In function `ad1848_unload':
      sound/oss/ad1848.c:2178: warning: cast to pointer from integer of different size
      sound/oss/ad1848.c: In function `adintr':
      sound/oss/ad1848.c:2207: warning: cast from pointer to integer of different size
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b307e854
    • A
      [PATCH] nm256_audio section fix · db314194
      Andrew Morton 提交于
      WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text:nm256_peek_for_sig from .text between 'nm256_install' (at offset 0x3ba4) and 'nm256_probe'                                                                         WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text:nm256_peek_for_sig from .text between 'nm256_install' (at offset 0x3bac) and 'nm256_probe'                                                                         WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text: from .text between 'nm256_install' (at offset 0x3dcc) and 'nm256_probe'           WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text: from .text between 'nm256_install' (at offset 0x3dd0) and 'nm256_probe'
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      db314194
    • A
      [PATCH] es18xx build fix · 1caef6aa
      Andrew Morton 提交于
      sound/isa/es18xx.c: In function `snd_es18xx_identify':
      sound/isa/es18xx.c:1606: warning: implicit declaration of function `udelay'
      
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1caef6aa
    • A
      [PATCH] mpu401 section fix · fad43488
      Andrew Morton 提交于
      WARNING: sound/drivers/mpu401/snd-mpu401.o - Section mismatch: reference to .init.text: from .text between 'snd_mpu401_pnp_probe' (at offset 0x1f7) and 'snd_mpu401_pnp_remove'
      
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      fad43488
    • A
      [PATCH] i810 section fix · 9e8a3d22
      Andrew Morton 提交于
      WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1b88) and 'i810_alloc_agp_mem'
      WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1b8f) and 'i810_alloc_agp_mem'
      WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1ba3) and 'i810_alloc_agp_mem'
      WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1bb5) and 'i810_alloc_agp_mem'
      WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1bc6) and 'i810_alloc_agp_mem'
      WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_init_defaults' (at offset 0x1dd8) and 'i810_init_device'
      WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_init_defaults' (at offset 0x1dfb) and 'i810_init_device'
      
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9e8a3d22
    • A
      [PATCH] pd6729 section fix · 9781b8b0
      Andrew Morton 提交于
      WARNING: drivers/pcmcia/pd6729.o - Section mismatch: reference to .init.text: from .text between 'pd6729_pci_probe' (at offset 0x9a8) and 'pd6729_pci_remove'
      
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9781b8b0
    • B
      [PATCH] Align the node_mem_map endpoints to a MAX_ORDER boundary · e984bb43
      Bob Picco 提交于
      Andy added code to buddy allocator which does not require the zone's
      endpoints to be aligned to MAX_ORDER.  An issue is that the buddy allocator
      requires the node_mem_map's endpoints to be MAX_ORDER aligned.  Otherwise
      __page_find_buddy could compute a buddy not in node_mem_map for partial
      MAX_ORDER regions at zone's endpoints.  page_is_buddy will detect that
      these pages at endpoints are not PG_buddy (they were zeroed out by bootmem
      allocator and not part of zone).  Of course the negative here is we could
      waste a little memory but the positive is eliminating all the old checks
      for zone boundary conditions.
      
      SPARSEMEM won't encounter this issue because of MAX_ORDER size constraint
      when SPARSEMEM is configured.  ia64 VIRTUAL_MEM_MAP doesn't need the logic
      either because the holes and endpoints are handled differently.  This
      leaves checking alloc_remap and other arches which privately allocate for
      node_mem_map.
      Signed-off-by: NBob Picco <bob.picco@hp.com>
      Acked-by: NMel Gorman <mel@csn.ul.ie>
      Cc: Dave Hansen <haveblue@us.ibm.com>
      Cc: Andy Whitcroft <apw@shadowen.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e984bb43
    • G
      [PATCH] kobject: quiet errors in kobject_add · ae57a856
      Greg Kroah-Hartman 提交于
      People don't like released kernels yelling at them, no matter how real the
      error might be.  So only report it if CONFIG_KOBJECT_DEBUG is enabled.
      
      Sent on request of Andrew Morton.
      
      (akpm: should bring this back post-2.6.17)
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ae57a856
    • A
      [PATCH] rtc subsystem: use ENOIOCTLCMD and ENOTTY where appropriate · b3969e58
      Alessandro Zummo 提交于
      Appropriately use -ENOIOCTLCMD and -ENOTTY when the ioctl is not
      implemented by a driver.
      
      (akpm: we're not allowed to return -ENOIOCTLCMD to userspace.  This patch does
      the right thing).
      Signed-off-by: NAlessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b3969e58
    • A
      [PATCH] kbuild: fix modpost segfault for 64bit mipsel kernel · eae07ac6
      Atsushi Nemoto 提交于
      Here is an updated r_info layout fix.  Please apply "check SHT_REL
      sections" patch before this.
      
      64bit mips has different r_info layout.  This patch fixes modpost
      segfault for 64bit little endian mips kernel.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      eae07ac6
    • A
      [PATCH] kbuild: check SHT_REL sections · 2c1a51f3
      Atsushi Nemoto 提交于
      I found that modpost can not detect section mismatch on mips and i386.  On
      mips64, the modpost (with r_info layout fix) can detect it.  The current
      modpst only checks SHT_RELA section but I suppose SHT_REL section should be
      checked also.  This patch does not contain r_info layout fix.  I'll post an
      updated r_info layout fix on next mail.
      
      Check SHT_REL sections as like as SHT_RELA sections to detect section
      mismatch.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2c1a51f3
    • M
      [PATCH] s390: next_timer_interrupt overflow in stop_hz_timer · 92f63cd0
      Martin Schwidefsky 提交于
      The 32 bit unsigned substraction (next - jiffies) in stop_hz_timer can
      overflow if jiffies gets advanced between next_timer_interrupt and the read
      under the xtime lock.  The cast to a u64 then results in a large value
      which causes the cpu to wait too long.  Fix this by casting next and
      jiffies independently to u64 before subtracting them.
      
      (Spotted by Zachary Amsden <zach@vmware.com>)
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      92f63cd0
    • Z
      [PATCH] Fix a NO_IDLE_HZ timer bug · 0662b713
      Zachary Amsden 提交于
      Under certain timing conditions, a race during boot occurs where timer
      ticks are being processed on remote CPUs.  The remote timer ticks can
      increment jiffies, and if this happens during a window when a timeout is
      very close to expiring but a local tick has not yet been delivered, you can
      end up with
      
      1) No softirq pending
      2) A local timer wheel which is not synced to jiffies
      3) No high resolution timer active
      4) A local timer which is supposed to fire before the current jiffies value.
      
      In this circumstance, the comparison in next_timer_interrupt overflows,
      because the base of the comparison for high resolution timers is jiffies,
      but for the softirq timer wheel, it is relative the the current base of the
      wheel (jiffies_base).
      Signed-off-by: NZachary Amsden <zach@vmware.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Oleg Nesterov <oleg@tv-sign.ru>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0662b713
    • R
      [PATCH] missing newline in scsi/st.c · 8b1ea24c
      Rene Herman 提交于
      st: Version 20050830, fixed bufsize 32768, s/g segs 256
      st 0:0:6:0: Attached scsi tape st0<4>st0: try direct i/o: yes (alignment 512 B)
      
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      8b1ea24c
    • S
      [PATCH] kprobes: bad manipulation of 2 byte opcode on x86_64 · dc49e344
      Satoshi Oshima 提交于
      Problem:
      
      If we put a probe onto a callq instruction and the probe is executed,
      kernel panic of Bad RIP value occurs.
      
      Root cause:
      
      If resume_execution() found 0xff at first byte of p->ainsn.insn, it must
      check the _second_ byte.  But current resume_execution check _first_ byte
      again.
      
      I changed it checks second byte of p->ainsn.insn.
      
      Kprobes on i386 don't have this problem, because the implementation is a
      little bit different from x86_64.
      
      Cc: Andi Kleen <ak@muc.de>
      Signed-off-by: NSatoshi Oshima <soshima@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      dc49e344
    • V
      [PATCH] i386 kdump boot cpu physical apicid fix · be0d03f1
      Vivek Goyal 提交于
      o Kdump second kernel boot fails after a system crash if second kernel
        is UP and acpi=off and if crash occurred on a non-boot cpu.
      
      o Issue here is that MP tables report boot cpu lapic id as 0 but second
        kernel is booting on a different processor and MP table data is stale
        in this context. Hence apic_id_registered() check fails in setup_local_APIC()
        when called from APIC_init_uniprocessor().
      
      o Problem is not seen if ACPI is enabled as in that case
        boot_cpu_physical_apicid is read from the LAPIC.
      
      o Problem is not seen with SMP kernels as well because in this case also
        boot_cpu_physical_apicid is read from LAPIC. (smp_boot_cpus()).
      
      o The problem is fixed by reading boot_cpu_physical_apicid from LAPIC
        if it is a UP kernel and CRASH_DUMP is enabled.
      Signed-off-by: NVivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      be0d03f1
    • S
      [PATCH] pxa2xx-spi update · 5daa3ba0
      Stephen Street 提交于
      Fix some outstanding issues with the pxa2xx_spi driver when running on a
      PXA270:
      
      - Wrong timeout calculation in the setup function due to different
        peripheral clock rates in the PXAxxx family.
      
      - Bad handling of SSSR_TFS interrupts in interrupt_transfer function.
      
      - Added locking to interface between the pump_messages workqueue and the
        pump_transfers tasklet.
      
      Much thanks to Juergen Beisert for the extensive testing on the PXA270.
      Signed-off-by: NStephen Street <stephen@streetfiresound.com>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5daa3ba0