1. 08 6月, 2005 1 次提交
  2. 07 6月, 2005 3 次提交
  3. 05 6月, 2005 1 次提交
    • B
      [PATCH] s390: uml ptrace fixes · c5c3a6d8
      Bodo Stroesser 提交于
      To make UML build and run on s390, I needed to do these two little
      changes:
      
      1) UML includes some of the subarch's (s390) headers. I had to
         change one of them with the following one-liner, to make this
         compile. AFAICS, this change doesn't break compilation of s390
         itself.
      
      2) UML needs to intercept syscalls via ptrace to invalidate the syscall,
         read syscall's parameters and write the result with the result of
         UML's syscall processing. Also, UML needs to make sure, that the host
         does no syscall restart processing. On i386 for example, this can be
         done by writing -1 to orig_eax on the 2nd syscall interception
         (orig_eax is the syscall number, which after the interception is used
         as a "interrupt was a syscall" flag only.
         Unfortunately, s390 holds syscall number and syscall result in gpr2 and
         its "interrupt was a syscall" flag (trap) is unreachable via ptrace.
         So I changed the host to set trap to -1, if the syscall number is changed
         to an invalid value on the first syscall interception.
      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>
      c5c3a6d8
  4. 03 6月, 2005 6 次提交
  5. 01 6月, 2005 5 次提交
  6. 30 5月, 2005 6 次提交
  7. 29 5月, 2005 7 次提交
  8. 28 5月, 2005 1 次提交
    • A
      Input: · 668d1e60
      Adrian Bunk 提交于
      This patch adds dummy gameport_register_port, gameport_unregister_port
      and gameport_set_phys functions to gameport.h for the case when a driver
      can't use gameport.
      
      This fixes the compilation of some OSS drivers with GAMEPORT=n without
      the need to #if inside every single driver.
      
      This patch also removes the non-working and now obsolete SOUND_GAMEPORT.
      
      This patch is also an alternative solution for ALSA drivers with similar
      problems (but #if's inside the drivers might have the advantage of
      saving some more bytes of gameport is not available).
      
      The only user-visible change is that for GAMEPORT=m the affected OSS
      drivers are now allowed to be built statically (but they won't have
      gameport support).
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NVojtech Pavlik <vojtech@suse.cz>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      668d1e60
  9. 27 5月, 2005 7 次提交
  10. 26 5月, 2005 3 次提交
    • B
      [PATCH] convert IDE device drivers to driver-model · 8604affd
      Bartlomiej Zolnierkiewicz 提交于
      * add ide_bus_match() and export ide_bus_type
      * split ide_remove_driver_from_hwgroup() out of ide_unregister()
      * move device cleanup from ide_unregister() to drive_release_dev()
      * convert ide_driver_t->name to driver->name
      * convert ide_driver_t->{attach,cleanup} to driver->{probe,remove}
      * remove ide_driver_t->busy as ide_bus_type->subsys.rwsem
        protects against concurrent ->{probe,remove} calls
      * make ide_{un}register_driver() void as it cannot fail now
      * use driver_{un}register() directly, remove ide_{un}register_driver()
      * use device_register() instead of ata_attach(), remove ata_attach()
      * add proc_print_driver() and ide_drivers_show(), remove ide_drivers_op
      * fix ide_replace_subdriver() and move it to ide-proc.c
      * remove ide_driver_t->drives, ide_drives and drives_lock
      * remove ide_driver_t->drivers, drivers and drivers_lock
      * remove ide_drive_t->driver and DRIVER() macro
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
      8604affd
    • A
      [PATCH] x86_64: CONFIG_BUG=n fixes · 4f60fdf6
      Alexander Nyberg 提交于
      Fixes some !CONFIG_BUG warnings:
      include/asm/mmu_context.h: I funktion `switch_mm':
      include/asm/mmu_context.h:57: varning: implicit declaration of function `out_of_line_bug'
      Signed-off-by: NAlexander Nyberg <alexn@telia.com>
      Cc: Andi Kleen <ak@muc.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4f60fdf6
    • S
      [PATCH] ppc64 iSeries: fix boot time setting · d0e8e291
      Stephen Rothwell 提交于
      For quite a while, there has existed a hypervisor bug on legacy iSeries
      which means that we do not get the boot time set in the kernel.  This
      patch works around that bug.  This was most noticable when the root
      partition needed to be checked at every boot as the kernel thought it
      was some time in 1905 until user mode reset the time correctly.
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d0e8e291