1. 01 10月, 2006 1 次提交
    • O
      [PATCH] update legacy io handling for pmac · 30cbc222
      Olaf Hering 提交于
      ppc can boot one single binary on prep, chrp and pmac boards.  ppc64 can
      boot one single binary on pseries and G5 boards.  pmac has no legacy io,
      probing for PC style legacy hardware (or accessing the legacy io area
      regulary) may lead to a hard crash:
      
      * add check for parport_pc, exit on pmac.  32bit chrp has no
        ->check_legacy_ioport, the probe is always called.  64bit chrp has
        check_legacy_ioport, check for a "parallel" node
      
      * add check for isapnp, only PReP boards may have real ISA slots.  32bit
        PReP will have no ->check_legacy_ioport, the probe is always called.
      
      * update code in i8042_platform_init.  Run ->check_legacy_ioport first,
        always call request_region.  No functional change.  Remove whitespace
        before i8042_reset init.
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Adam Belay <ambx1@neo.rr.com>
      Cc: Dmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      30cbc222
  2. 01 8月, 2006 1 次提交
    • O
      [PATCH] Fix swsusp with PNP BIOS · 3ae19208
      Ondrej Zary 提交于
      swsusp is unable to suspend my machine (DTK FortisPro TOP-5A notebook) with
      kernel 2.6.17.5 because it's unable to suspend PNP device 00:16 (mouse).
      
      The problem is in PNP BIOS.  pnp_bus_suspend() calls pnp_stop_dev() for the
      device if the device can be disabled according to pnp_can_disable().  The
      problem is that pnpbios_disable_resources() returns -EPERM if the device is
      not dynamic (!pnpbios_is_dynamic()) but insert_device() happily sets
      PNP_DISABLE capability/flag even if the device is not dynamic.  So we try
      to disable non-dynamic devices which will fail.  This patch prevents
      insert_device() from setting PNP_DISABLE if the device is not dynamic and
      fixes suspend on my system.
      Signed-off-by: NOndrej Zary <linux@rainbow-software.org>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3ae19208
  3. 05 1月, 2006 1 次提交
  4. 08 9月, 2005 1 次提交
  5. 26 6月, 2005 1 次提交
    • C
      [PATCH] Cleanup patch for process freezing · 3e1d1d28
      Christoph Lameter 提交于
      1. Establish a simple API for process freezing defined in linux/include/sched.h:
      
         frozen(process)		Check for frozen process
         freezing(process)		Check if a process is being frozen
         freeze(process)		Tell a process to freeze (go to refrigerator)
         thaw_process(process)	Restart process
         frozen_process(process)	Process is frozen now
      
      2. Remove all references to PF_FREEZE and PF_FROZEN from all
         kernel sources except sched.h
      
      3. Fix numerous locations where try_to_freeze is manually done by a driver
      
      4. Remove the argument that is no longer necessary from two function calls.
      
      5. Some whitespace cleanup
      
      6. Clear potential race in refrigerator (provides an open window of PF_FREEZE
         cleared before setting PF_FROZEN, recalc_sigpending does not check
         PF_FROZEN).
      
      This patch does not address the problem of freeze_processes() violating the rule
      that a task may only modify its own flags by setting PF_FREEZE. This is not clean
      in an SMP environment. freeze(process) is therefore not SMP safe!
      Signed-off-by: NChristoph Lameter <christoph@lameter.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e1d1d28
  6. 17 4月, 2005 2 次提交
    • M
      [PATCH] pnpbios: eliminate bad section references · ffbe5523
      maximilian attems 提交于
      one of the last buildcheck errors on i386, thanks Randy again for double
      checking.
      
      Fix pnpbios section references:
      make dmi_system_id pnpbios_dmi_table __initdata
      
      Error: ./drivers/pnp/pnpbios/core.o .data refers to 00000100 R_386_32
      .init.text
      Error: ./drivers/pnp/pnpbios/core.o .data refers to 0000012c R_386_32
      .init.text
      Signed-off-by: Nmaximilian attems <janitor@sternwelten.at>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ffbe5523
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4