1. 07 Mar, 2003 12 commits
  2. 06 Mar, 2003 28 commits
    • Ingo Molnar's avatar
      [PATCH] NUMA scheduler breakage · b684b67a
      Ingo Molnar authored
      __activate_task() and wake_up_forked_process() should call
      nr_running_inc(rq) rather than doing a rq->nr_running++.
      
      Noted by Rick Lindsley
      b684b67a
    • Marc Zyngier's avatar
      [PATCH] Fix arch/alpha/vmlinux.lds.S typos. · 72cc0b8a
      Marc Zyngier authored
      The console initcall patch that went in contains a typo that prevents
      alpha from building.
      72cc0b8a
    • Marc Zyngier's avatar
      [PATCH] Fix fs/binfmt_elf.c build · 33ed54bf
      Marc Zyngier authored
      The stack reducing patch that recently went in prevent alpha from
      building (missing some ELF_CORE_COPY_XFPREGS ifdefs). The excluded
      patch fixes it.
      33ed54bf
    • Zwane Mwaikambo's avatar
      [PATCH] noirqbalance still doesn't do anything · 9fb0f568
      Zwane Mwaikambo authored
      This one simply sets TARGET_CPUS to cpu_callout_map instead of
      cpu_online_map so that when we finally do boot we actually use the other
      cpus for servicing interrupts.
      9fb0f568
    • Martin J. Bligh's avatar
      [PATCH] revert pfn_to_nid change. · b917a164
      Martin J. Bligh authored
      This change was wrong. pfn_to_nid is a macro.
      b917a164
    • Martin J. Bligh's avatar
      [PATCH] Fix NUMA scheduler problem after interactivity merge · 674e9496
      Martin J. Bligh authored
      NODE_THRESHOLD got accidentally dropped in the interactive scheduler
      changes merge. This puts it back.
      674e9496
    • David Gibson's avatar
      [PATCH] Squash warning in ohci-pci.c on PowerBooks · f2704626
      David Gibson authored
      Apple PowerBooks want <asm/prom.h> in ohci-pci.c for the prototype of
      pci_device_to_OF_node().  This patch adds it to the already present
      list of PowerBook specific #includes:
      f2704626
    • David Gibson's avatar
      [PATCH] Squash warnings in usb-serial.c · 535c170a
      David Gibson authored
      This squashes (gcc-3.2) "label and end of compound statement
      deprecated" warnings in usb-serial.c.
      535c170a
    • Linus Torvalds's avatar
      Merge http://lia64.bkbits.net/to-linus-2.5 · e6f46861
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e6f46861
    • Linus Torvalds's avatar
      Merge bk://ldm.bkbits.net/linux-2.5-core · 15dd3f72
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      15dd3f72
    • Patrick Mochel's avatar
      Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin · 6af705cb
      Patrick Mochel authored
      into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
      6af705cb
    • Bjorn Helgaas's avatar
      [PATCH] ia64: IA32 support without sysctl doesn't work · 96fd6d6a
      Bjorn Helgaas authored
      Make CONFIG_SYSCTL control sys32_sysctl as well.  Based on a patch from Peter Chubb.
      96fd6d6a
    • David Mosberger's avatar
    • Patrick Mochel's avatar
      sysfs: Fix binary file handling. · f81ab470
      Patrick Mochel authored
      From Rusty Lynch:
      
      * makes sysfs cleanup the buffer->data allocated by the attribute write
      functions
      * fixes a bug that causes the kernel to oops when somebody attempts to
      write to the file.
      f81ab470
    • Patrick Mochel's avatar
      sysfs: fix up directory removal, once and for all. · 1cdccc69
      Patrick Mochel authored
      This patch was previously integrated, but dropped erroneously by a bk 
      merge. 
      
      This fixes file cleanup during a sysfs directory removal by deleting files
      from ->d_subdirs as they're iterated over, then checking if we can get a
      reference on them.
      1cdccc69
    • Jesse Barnes's avatar
      [PATCH] ia64: ACPI fix for no PCI · 633b3e60
      Jesse Barnes authored
      Andy Grover told me this should be posted here.  It allows ACPI to
      compile even with PCI turned off.  Patch against 2.5.60.
      633b3e60
    • Stephen Rothwell's avatar
      [PATCH] ia64: compat_sys_futex() support · 24064ffb
      Stephen Rothwell authored
      ia 64 part of the patch.  This gives you a 32 bit version of sys_futex (hopefully).
      24064ffb
    • Linus Torvalds's avatar
      Fix a very theoretical race between the new RCU lookup and · fd7eaee2
      Linus Torvalds authored
      concurrent renames in another directory.
      
      I doubt this can be triggered in practice, and the fix is
      a bit heavy-handed, but let's see if numbers can show that
      the simple fix doesn't show any real lock contention.
      fd7eaee2
    • Linus Torvalds's avatar
    • Anton Blanchard's avatar
      [PATCH] missing include · 717da745
      Anton Blanchard authored
      list.h must now include stddef since it uses NULL.
      717da745
    • David Mosberger's avatar
    • H. Peter Anvin's avatar
      [PATCH] bootsect removal · 72574bb3
      H. Peter Anvin authored
      This is the "boot sector removal" patch for i386 updated for Linux
      2.5.63-bk7.  The only change against the 2.5.59 version is that the
      FDOPTS Makefile variable, which lets one create a floppy image with
      arbitrary kernel options, has been merged from the x86-64 version, and
      the comments have been updated.
      
      The patch removes the in-kernel boot sector, which these days rarely
      work correctly (it only supports up to 1 MB kernels, and only work on
      legacy floppies -- not on IDE or USB devices, nor on any kind of
      emulated devices like El Torito), replaces it with a placeholder stub,
      and sets up the Makefile targets to create floppies or floppy images
      using SYSLINUX.  The FDOPTS Makefile variable can be used to set
      kernel command line options (thanks to a suggestion by Andi Kleen.)
      
      Note that the same change has already been applied to the x86-64
      architecture.  The last hunk of the patch corrects a comment in that
      architecture.
      72574bb3
    • Russell King's avatar
      [PATCH] Fix up pci_scan_bridge and friends · 7deaf3b8
      Russell King authored
        Now we tackle pci_add_new_bus and pci_scan_bridge.  The hotplug code
        currently uses this, but I'd like it to die off; pci_scan_bridge()
        should be used to scan behind bridges.  This may mean hotplug needs
        some changes to pci_scan_bridge - if so, we need to find out what
        changes are required and fix it.
      
        pci_alloc_child_bus() does what pci_add_new_bus() did, except it
        doesn't attach the new bus to the parents list of child buses.  The
        only way this bus can be reached from the parent bus is by scanning
        the parents devices list, and locating a device with a non-NULL
        subordinate bus.  The only code which should be doing this is the
        PCI code.
      
        Since the new bus will have an empty list head for bus->node, we can
        detect unattached buses prety easily.  (see pci-3.diff.)
      
        pci_scan_bridge() changes slightly - we use our new pci_scan_child_bus()
        function from pci-3.diff, which doesn't attach devices to the global
        tree.  This means callers of pci_scan_child_bus() and pci_scan_bridge()
        (ie, hotplug) will need to call pci_bus_add_devices().
      7deaf3b8
    • Russell King's avatar
      [PATCH] Convert setup-bus resource allocation to use bus->devices · 5819c31c
      Russell King authored
      - Convert setup-bus.c resource allocation to scan bus->devices rather
        than bus->children.  As noted previously, newly discovered child
        buses will not be on the parents list of children buses, so when
        we're trying to assign resources, we need to scan the bus for
        devices with subordinate buses rather than using the list of children
        buses.
      5819c31c
    • Russell King's avatar
      [PATCH] Only add devices to bus->devices while scanning... · 64964f5b
      Russell King authored
        The pci_find* functions search using the following lists:
              bus->children   (for subordinate buses)
              pci_root_buses  (for all root buses)
              pci_devices     (for devices)
      
        This leaves one list which we can add devices to without any drivers
        finding the new devices before we've finished with them.
      
      - initialise bus->node list head.
      
      - pci_scan_slot will scan the specified slot, and add the discovered
        devices to the bus->devices list only.  These devices will not
        appear on the global device list, and do not show in sysfs, procfs.
        pci_scan_slot returns the number of functions found.  If you want
        to find the devices, you have to scan bus->devices and look for
        devices where list_empty(&dev->global_list) is true.
      
      - new function "pci_bus_add_devices" adds newly discovered devices
        to the global device lists, and handles the sysfs and procfs
        stuff, making the devices available to drivers.  All our buses
        which have an empty list head are treated as "new" (since they
        are not attached to the parent buses list of children) and are
        also added.  Currently, no buses will be in this state when this
        function is called.
      
      - new function "pci_scan_child_bus" scans a complete bus, building
        a list of devices on bus->devices only, performing bus fixups
        via pcibios_fixup_bus() and scanning behind bridges.  It does
        make devices externally visible.
      
      - pci_do_scan_bus retains its original behaviour - ie, it scans
        and makes devices available immediately.
      64964f5b
    • Russell King's avatar
      [PATCH] Eliminate stack allocation of struct pci_dev... · 7c3db3a8
      Russell King authored
      - Eliminate the stack allocation of a struct pci_dev, and make
        pci_scan_slot() take a bus and a devfn argument.
      - Add "dev->multifunction" to indicate whether this is a multifunction
        device.
      - Run header fixups before inserting the new pci device into any
        device lists or announcing it to the drivers.
      - Convert some more stuff to use the list_for_each* macro(s).
      7c3db3a8
    • Russell King's avatar
      [PATCH] Separate out pci bus resource allocator · f2820e1d
      Russell King authored
      - Separate out bus resource allocator (pci_bus_alloc_resource)
      - Provide pci_enable_bridges to setup command register for all
        pci bridges.
      f2820e1d
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/alan · aadabe8b
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      aadabe8b