1. 22 Feb, 2004 40 commits
    • Andrew Morton's avatar
      [PATCH] runtime PM deadlock fix · 34ea1ab2
      Andrew Morton authored
      From: Alexander Atanasov <alex@ssi.bg>
      
      dpm_runtime_suspend holds dpm_sem and calls dpm_runtime_resume which
      deadlocks.  Directly call runtime_resume instead.
      34ea1ab2
    • Andrew Morton's avatar
      [PATCH] Require GNU Make version 3.79.1 or later · ffaf2ab6
      Andrew Morton authored
      From: Adrian Bunk <bunk@fs.tum.de>
      
      GNU make 3.78 reproducible segfaults when building kernel 2.6.
      
      See http://marc.theaimsgroup.com/?l=linux-kernel&m=107333742902438&w=2
      
      Therefore, the minimum requirement for GNU make has to be raised in
      Documentation/Changes.
      
      GNU make 3.79.1 works.
      ffaf2ab6
    • Andrew Morton's avatar
      [PATCH] powernow-k8 frequency handling fix · e152aa13
      Andrew Morton authored
      From: Pavel Machek <pavel@ucw.cz>
      
      In 2.6.3, cleanups arrived, and they got test for invalid frequencies
      wrong.
      
      Only first frequency is allowed to be < FID_TABLE_BOTTOM, but due to
      bug it cleanups it allowed no frequencies < FID_TABLE_BOTTOM. This
      fixes it.
      e152aa13
    • Andrew Morton's avatar
      [PATCH] Fix fs/partitions/efi.c printk warnings · 24048086
      Andrew Morton authored
      Lots of these:
      
      fs/partitions/efi.c:387: warning: long unsigned int format, u64 arg (arg 2)
      fs/partitions/efi.c:387: warning: long unsigned int format, u64 arg (arg 3)
      fs/partitions/efi.c:387: warning: long unsigned int format, u64 arg (arg 2)
      fs/partitions/efi.c:387: warning: long unsigned int format, u64 arg (arg 3)
      fs/partitions/efi.c:395: warning: long unsigned int format, u64 arg (arg 2)
      fs/partitions/efi.c:395: warning: long unsigned int format, u64 arg (arg 3)
      
      because it is assuming that you can print a u64 with %ld on 64-bit machines.
      24048086
    • Andrew Morton's avatar
      [PATCH] Fix ISDN v.110. · 0579fac9
      Andrew Morton authored
      From: David Woodhouse <dwmw2@infradead.org>
      
      Now that we coalesce ACKs for outgoing packets, the v.110 code needs to
      look at the size it's given rather than assuming it'll get precisely one
      callback for each packet sent...
      0579fac9
    • Andrew Morton's avatar
      [PATCH] telephony: use kernel min/max · f532bdf6
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      From: Michael Veeck <michael.veeck@gmx.net>
      
      Removes unnecessary min/max macros and use kernel.h macros instead.
      f532bdf6
    • Andrew Morton's avatar
      [PATCH] janitor: media: use kernel min/max · da5f761d
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      From: Michael Veeck <michael.veeck@gmx.net>
      
      Remove unnecessary min/max macros and changes calls to use kernel.h macros
      instead.
      da5f761d
    • Andrew Morton's avatar
      [PATCH] From: "Randy.Dunlap" <rddunlap@osdl.org> · a30bfc8e
      Andrew Morton authored
      From: <WHarms@bfs.de>(Walter Harms)
      
      Hi list,
      while checking 2.6.1 for missing checks(). fs/jffs/inode-v23.c
      got overlooked somehow.
      
      This patch fixes:
      2 unguarded kmem_cache_create
      1 unguarded proc_mkdir
      a30bfc8e
    • Andrew Morton's avatar
      [PATCH] security oops fix · 8a65e057
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      Looking at d_splice_alias, it appears that the security_d_instantiate call
      in the first case (where it ends up moving an entry in place of the given
      dentry) should be passing 'new' rather than 'dentry' to ensure that the
      passed dentry is associated with the inode.  This patch should fix the
      problem.
      
      (Addresses bugzilla #2153)
      8a65e057
    • Andrew Morton's avatar
      [PATCH] ext3: fix scheduling-in-spinlock bug · e84f0355
      Andrew Morton authored
      ext3_error() sleeps, so don't call it with the lock held.
      e84f0355
    • Andrew Morton's avatar
      [PATCH] Another x86-64 fix for problems from the recent merge · e4c77679
      Andrew Morton authored
      From: Andi Kleen <ak@suse.de>,
            From Suresh.B.Siddha
      
      Fix another bug caused by the recent IA32e merge.  The full L1 cache size
      padding of the GDT didn't work with smaller cache line sizes.  Just revert
      that.
      
      I must admit I still don't understand why it didn't work, but it's better
      to have a working system for now.
      e4c77679
    • Andrew Morton's avatar
      [PATCH] Fixes to CodingStyle · 5f029549
      Andrew Morton authored
      From: Xose Vazquez Perez <xose@wanadoo.es>
      
      Even master's books bring errors :-).  URL has the errata and more
      information about the books
      5f029549
    • Andrew Morton's avatar
      [PATCH] mtrr: init section usage · 66c7f95a
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      This patch tries to clean up init section usage in
      arch/i386/kernel/cpu/mtrr/*.c.
      66c7f95a
    • Andrew Morton's avatar
      [PATCH] IPMI warning fixes · db9a7868
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      When compiling the IPMI drivers on m68k, I needed a few more includes:
      
        - <asm/irq.h> (for disable_irq_nosync() and enable_irq())
      
        - <linux/types.h> (for size_t)
      
        - <asm/system.h> (for printk())
      db9a7868
    • Andrew Morton's avatar
      [PATCH] cleanup condsyscall for sysv ipc · ae0ecb66
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Attached is a patch that replaces the #ifndef CONFIG_SYSV syscall stubs
      with cond_syscall stubs.
      ae0ecb66
    • Andrew Morton's avatar
      [PATCH] nbd: remove PARANOIA and other cleanups · 4d273aae
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      This patch removes the PARANOIA define (it was always defined anyway).  It
      also removes the requests_in/out counters (which weren't always accurate,
      and are superfluous anyway, since the block layer keeps its own in_flight
      counter).  Also some minor cleanup of comments.
      4d273aae
    • Andrew Morton's avatar
      [PATCH] nbd: fix set_capacity call · 07172aea
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      This patch fixes the initial set_capacity call so that it matches nbd's
      internal device size (nbd_device->bytesize).
      07172aea
    • Andrew Morton's avatar
      [PATCH] Kconfig help: dm-crypto && cryptoloop · 902415ed
      Andrew Morton authored
      From: bert hubert <ahu@ds9a.nl>
      
      Current bitkeeper features a cryptoloop which is not safe for journaled
      file systems and also a Device Mapper target which is.  The patch below
      updates Kconfig to that effect.
      902415ed
    • Andrew Morton's avatar
      [PATCH] add range checking to sys_sysctl() · df84e5eb
      Andrew Morton authored
      If you pass a huge nlen value into sys_sysctl() it will loop for hours
      printing billions of question marks, so range-check the arguments.
      
      Also, remove the code which informs the user that the sysctl is obsolete: it
      allows unprivileged users to spam the logs.
      df84e5eb
    • Andrew Morton's avatar
      [PATCH] m68k: M68k core spelling · 93d11872
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k core spelling fix (from Michael Hayes)
      93d11872
    • Andrew Morton's avatar
      [PATCH] m68k: Dummy dma mapping · cb74ba0d
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Add a dummy <asm-generic/dma-mapping-broken.h> for systems that don't support
      the new DMA API, and make m68k use it if !CONFIG_PCI
      cb74ba0d
    • Andrew Morton's avatar
      [PATCH] m68k: Mac IOP spelling · 297b5efb
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Mac IOP spelling fix (from Matthias Urlichs)
      297b5efb
    • Andrew Morton's avatar
      [PATCH] m68k: M68k FPU emu broken link · 8d7693f8
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k FPU emu: Remove reference to non-existing website
      8d7693f8
    • Andrew Morton's avatar
      [PATCH] m68k: M68k cmpxchg · 83e6a186
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Add missing implementation of cmpxchg() (from Andreas Schwab, Roman
      Zippel and me)
      83e6a186
    • Andrew Morton's avatar
      [PATCH] m68k: M68k call trace output · 8c6184f6
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Improve formatting of call trace output (from Matthias Urlichs)
      8c6184f6
    • Andrew Morton's avatar
      [PATCH] m68k: M68k module loader · eeaf3b6b
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Add missing relocation support to module loader (from Matthias Urlichs)
      eeaf3b6b
    • Andrew Morton's avatar
      [PATCH] m68k: arch/m68k/mm/Makefile cleanup · 1f768a03
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Clean up arch/m68k/mm/Makefile logic
      1f768a03
    • Andrew Morton's avatar
      [PATCH] m68k: M68k configuration · cc62c4f7
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Update M68k configuration logic:
        - Introduce CONFIG_MMU_MOTOROLA and CONFIG_MMU_SUN3
        - Move Sun-3 config selection to the top since all other platforms conflict
          with it
        - Sun-3 implies MMU_SUN3
        - All other platforms imply MMU_MOTOROLA
        - Sun-3 implies M68020
        - Sun-3x implies M68030
        - Sun-3 kernels cannot support 68030, 68040, or 68060
      cc62c4f7
    • Andrew Morton's avatar
      [PATCH] m68k: Amifb modedb bug · 21afbe0d
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Amifb: Fix bugs in the video mode database:
        - ntsc-lace lacks the yres value
        - a2024-15 is 15 Hz, not 10
      21afbe0d
    • Andrew Morton's avatar
      [PATCH] m68k: M68k uses drivers/Kconfig · 2732e425
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Use drivers/Kconfig and fix up some remaining dependencies:
        - M68k no longer uses rtc.c
        - M68k never has AGP
        - CONFIG_ZORRO depends on CONFIG_AMIGS
      2732e425
    • Andrew Morton's avatar
      [PATCH] m68k: M68k MCA cleanup · c697f655
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Remove obsolete MCA definition
      c697f655
    • Andrew Morton's avatar
      [PATCH] m68k: Atari name clashes · 9b714116
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Atari Falcon: Prepend falcon_ to some Atari Falcon definitions to solve name
      clashes in some drivers.
      9b714116
    • Andrew Morton's avatar
      [PATCH] m68k: Sun-3 missing sbus_readl() · 79db2b5f
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Sun-3 sbus: Add missing definition of sbus_readl() (from Sam Creasey)
      79db2b5f
    • Andrew Morton's avatar
      [PATCH] m68k: Sun-3 console fix · 92ddcd90
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Sun-3: Use dummycon if CONFIG_DUMMY_CONSOLE is defined only (from Sam
      Creasey)
      92ddcd90
    • Andrew Morton's avatar
      [PATCH] m68k: mm init warning · 26c80c9f
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k mm: Kill warning (from Sam Creasey)
      26c80c9f
    • Andrew Morton's avatar
      [PATCH] m68k: offsets.h generation · 4a123187
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k offsets.h: Move arch/m68k/kernel/m68k_defs.h to include/asm/offsets.h
      and use gen-asm-offsets framework (from Andreas Schwab and Ray Knight)
      4a123187
    • Andrew Morton's avatar
      [PATCH] NBD rmmod oops fix · 086a0782
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      Fix a module unload oops, as well as fix some return codes (so nbd-client
      can exit with the proper error code, rather than 0, when an error occurs).
      086a0782
    • Andrew Morton's avatar
      [PATCH] dynamic pty allocation · 562123b5
      Andrew Morton authored
      From: "H. Peter Anvin" <hpa@transmeta.com>
      
      Remove the limit of 2048 pty's - allocate them on demand up to the 12:20
      dev_t limit: a million.
      562123b5
    • Andrew Morton's avatar
      [PATCH] fix shmat · d6ca3890
      Andrew Morton authored
      From: Nick Piggin <piggin@cyberone.com.au>
      
      sys_shmat() need to be declared asmlinkage.  This causes breakage when we
      actually get the proper prototypes into caller's scope.
      d6ca3890
    • Andrew Morton's avatar
      [PATCH] Intel i830 AGP fix · 7f22b58a
      Andrew Morton authored
      From: Terence Ripperda <tripperda@nvidia.com>
      
      When coming out of standby, some chipsets lose their configuration in pci
      config space.  this includes not just the agp master register being lost, but
      chipset-specific information, such as the physical address of the gatt table
      and other settings.  Calling this configure routine again restores those
      settings.
      
      Dave said he was adding chipsets to this list on an "as needed and tested"
      basis.  I ran across this problem I believe on a Dell Inspiron 4100 with
      nv11.  (there had been some similar problems with specific nv11 systems when
      doing apm with the 2.4 kernel, I suspect, but haven't been able to verify,
      it's the same problem).
      7f22b58a