1. 15 Mar, 2002 40 commits
    • Linus Torvalds's avatar
      Trivial compile fix · 98f0db7a
      Linus Torvalds authored
      98f0db7a
    • Christoph Rohland's avatar
      [PATCH] sync shmem.c in 2.5 to 2.4 · 099445b4
      Christoph Rohland authored
      The appended patch brings the fixes applied in 2.4 to shmem.c to 2.5.
      
      In Detail:
      - Add needed checks for shmem_file_write and shmem_symlink
      - Add Documentation/filesystems/tmpfs.txt and adjust Config.help
      - Add uid and gid mount options
      - Make the error messages more user friendly
      099445b4
    • David Mosberger's avatar
      [PATCH] binfmt_elf.c: do SET_PERSONALITY() for static binaries · d6806799
      David Mosberger authored
      Pick up binfmt_elf.c SET_PERSONALITY() fix from 2.4.18.
      d6806799
    • Linus Torvalds's avatar
      Fix overenthusiastic ia64 merge. · 920f3d58
      Linus Torvalds authored
      That preempt_count really is supposed to be unconditional,
      architectures please take note and add to your thread info.
      920f3d58
    • Linus Torvalds's avatar
      Merge bk://lia64.bkbits.net/to-linus-2.5/ · 93234a6b
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      93234a6b
    • Andy Grover's avatar
      [PATCH] ACPI patch 9/9 · b4f305dd
      Andy Grover authored
      If you could only review one of the 9 patches, this would be the one.
      
      - removes acpitable.c vestiges
      - adds ACPI IRQ routing support to PCI (disableable via pci=noacpi option)
      - adds code to get a <1MB page for sleep, and ACPI boot to setup.c
      - allocates another page in the fixmap for ACPI
      - changes driverfs a little to work better with ACPI.
      b4f305dd
    • Andy Grover's avatar
      [PATCH] ACPI patch 8/9 · f03ccc72
      Andy Grover authored
      This patch removes arch/i386/kernel/acpitable.c. As mentioned previously,
      the new ACPI code integrates this, so it's no longer needed.
      f03ccc72
    • Andy Grover's avatar
      [PATCH] ACPI patch 7/9 · eb4908de
      Andy Grover authored
      This updates the Configure.help, both in arch/i386, and in drivers/acpi.
      eb4908de
    • Andy Grover's avatar
      [PATCH] ACPI patch 6/9 · 412743bb
      Andy Grover authored
      This removes the old OSPM code. It lived under drivers/acpi/ospm/*, but
      the new code just lives in drivers/acpi, and removes some unnecessary
      abstraction that this old code had.
      412743bb
    • Andy Grover's avatar
      [PATCH] ACPI patch 5/9 · 90679878
      Andy Grover authored
      This is the update to the core interpreter code.
      90679878
    • Andy Grover's avatar
      [PATCH] ACPI patch 4/9 · 3177bcb8
      Andy Grover authored
      This is the config.in and makefile changes for the latest code. The most
      (only) interesting thing probably is ACPI is no longer flagged experimental.
      3177bcb8
    • Andy Grover's avatar
      [PATCH] ACPI patch 3/9 · 7107bb3b
      Andy Grover authored
      This patch updates the acpi IA32 arch-specific files. Part of this is
      taking what was acpitable.c and implementing it with better integration
      with the rest of the ACPI code.
      7107bb3b
    • Andy Grover's avatar
      [PATCH] ACPI patch 2/9 · 40c05507
      Andy Grover authored
      This patch adds in the new drivers.
      
      - Support for driverfs
      - File/code layout more in the Linux style
      - improvements to battery, processor, and thermal support
      40c05507
    • Andy Grover's avatar
      [PATCH] ACPI patch 1/9 · 62c7aea9
      Andy Grover authored
      This is the first of 9 patches. We did a complete rewrite of the
      Linux-specific code, so we wait for things to stabilize before submitting.
      There will be more updates, but *much* smaller.
      
      #1 - this updates the header file.
      62c7aea9
    • Mikael Pettersson's avatar
      [PATCH] boot_cpu_data corruption on SMP x86 · 1ae90c54
      Mikael Pettersson authored
      The patch below eliminates a case of boot_cpu_data corruption
      on SMP x86 machines. This was first observed on SMP Athlons,
      but it also affects SMP Intel boxes in a less serious way.
      
      When the secondary processors boot and execute head.S:checkCPUtype,
      the code performs a 32-bit write of a small constant to the
      byte-sized variable boot_cpu_data.x86 (X86 in head.S). Since the
      write is 32-bit, it also writes zeros to the following 3 bytes,
      which clobbers the x86_vendor, x86_model, and x86_mask fields
      previously set up by check_bugs()'s call to identify_cpu().
      Thus, after smp_init(), boot_cpu_data will _always_ identify
      the CPU as an Intel (X86_VENDOR_INTEL == 0 in processor.h) with
      model 0 and stepping 0.
      
      The effect in standard kernels is not catastrophic, since:
      (a) most SMP x86 boxes are Intel
      (b) most uses of x86_vendor occur before smp_init() or reference
          the SMP cpu_data[] array
      (c) most post-boot references to boot_cpu_data occur in the
          cpu_has_XXX macros which only read the x86_capability[] array
      However, third-party extensions (like my x86 performance-monitoring
      conters driver) can get seriously confused by this mis-identification.
      1ae90c54
    • Linus Torvalds's avatar
      Automerge · 27b350ef
      Linus Torvalds authored
      27b350ef
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - msdos/vfat · 2e8a9bc4
      Brian Gerst authored
      Don't print out FAT superblock warnings if the IO failed.
      2e8a9bc4
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - qnx4 · c4da2aea
      Brian Gerst authored
      Seperates qnx4_sb_info from struct super_block.
      c4da2aea
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - smbfs · 88774498
      Brian Gerst authored
      Seperates smb_sb_info from struct super_block.
      88774498
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - msdos/vfat · 2191d229
      Brian Gerst authored
      Seperates msdos_sb_info from struct super_block for msdos and vfat.
      Umsdos is terminally broken and is not included.
      2191d229
    • Brian Gerst's avatar
      [PATCH] Fix NR_IRQS when no IO apic · be5fc736
      Brian Gerst authored
      NR_IRQS should be 16 when the IO apic is not configured, as the 8259 PIC
      cannot generate any more interrupts.  It also fixes a bug where the IDT
      gets populated with random addresses, since only 16 entry stubs are
      created. 
      be5fc736
    • Brian Gerst's avatar
      [PATCH] Cleanup F00F bug code · a0816e18
      Brian Gerst authored
      This changes the F00F bug workaround code to use the fixmap facilities
      instead of touching the page tables directly.  It also removes the
      assumption that only 686's don't have the bug.  I have confirmation that
      the patch works on buggy pentiums. 
      a0816e18
    • Linus Torvalds's avatar
      779f1643
    • Alexander Viro's avatar
      [PATCH] nfsd-as-fs NULL ptr fix · 1b387f80
      Alexander Viro authored
      It needs the following patch
      1b387f80
    • Alexander Viro's avatar
      [PATCH] proc_pid_make_inode() fix · 11aec25f
      Alexander Viro authored
      	In case if proc_pid_make_inode() steps on exiting task we do
      iput() and return NULL.  Unfortunately, in that case inode->i_ino
      doesn't look like inumber of a per-process inode and we take the
      wrong path in proc_delete_inode().  I.e. do dput(PDE(inode)).  Which
      is left uninitialized...
      
      	We used to get out with that almost by accident - that code
      worked only because we had zeroed out one field of union and that
      guaranteed that another field would be NULL.  It worked, but broke
      at the first occasion.
      11aec25f
    • Alexander Viro's avatar
      [PATCH] nfsd as filesystem · 063b009f
      Alexander Viro authored
      * introduces a new filesystem - nfsd.  No, it's not a typo.  It's a small
        tree with fixed topology defined by nfsd and IO on its files does what
        we used to do by hand in nfsctl.c.
      * turns sys_nfsservctl() into a sequence of open()/write()/read()/close()
        It works as it used to - we don't need nfsd to be mounted anywhere, etc.
      * nfsd_linkage ugliness is gone.
      * getfs and getfh demonstrate (rather trivial) example of "descriptor as
        transaction descriptor" behaviour.
      * we are fairly close to the situation when driver-defined filesystems can
        be done with practically zero code overhead.  We are still not there, but
        it's a matter of adding a couple of helpers for populating the tree.
      
      	One thing we get immediately is a cleanup of sys_nfsservctl() -
      it got _much_ better.  Moreover, we get an alternative interface that
      uses normal file IO and can be used without magic syscalls.
      063b009f
    • Alexander Viro's avatar
      [PATCH] fix for leaks in nfsd · edb1bea5
      Alexander Viro authored
      Several exits in exp_export() forget to call path_release().  Fixed.
      edb1bea5
    • Alexander Viro's avatar
      [PATCH] fs/libfs.c · 5e689743
      Alexander Viro authored
      	Linus, I've taken a bunch of common methods into fs/libfs.c and
      killed the (duplicated) instances in filesystems.  There will be more -
      ideally I'd like to get a library that would make writing small filesystems
      trivial.
      5e689743
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · 4ce937cb
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      4ce937cb
    • Russell King's avatar
      [PATCH] 2.4 and 2.5: fix /proc/kcore · 80d504c8
      Russell King authored
      As mentioned on May 11 on LKML, here is a patch to fix /proc/kcore for
      architectures which do not have RAM located at physical address 0.
      80d504c8
    • Russell King's avatar
      [PATCH] 2.4 and 2.5: remove Alt-Sysrq-L · f9deb9e6
      Russell King authored
      The following patch removes Alt-Sysrq-L and its associated hack to kill
      of PID1, the init process.  This is a mis-feature.
      
      If PID1 is killed, the kernel immediately enters an infinite loop in the
      depths of do_exit() with interrupts disabled, completely locking the
      machine.  Obviously you can only reach for the reset button or power
      switch after this, leaving you with dirty filesystems.
      f9deb9e6
    • Russell King's avatar
      [PATCH] 2.5 and 2.4: fix PCI IO BAR flags · be4808e0
      Russell King authored
      There is a problem where the resource flags sometimes contain bits from
      the address part of the PCI BAR, especially when you have the low address
      bit set for an IO BAR.
      
      (bit 3 of a PCI IO BAR is an address bit, and (bar & 0xf) propagates this
      to res->flags).
      
      This exists in Ivan Kokshaysky PCI patches, and so far hasn't made it into
      the kernel.  It's required for IDE on certain ARM machines to even work.
      be4808e0
    • David Howells's avatar
      [PATCH] wait4() WIFSTOPPED starvation fix #2/2 · cd424f97
      David Howells authored
      This patch actually fixes the starvation bug in sys_wait4() by moving any
      process which is serviced for stoppage to the end of the child list.
      cd424f97
    • Linus Torvalds's avatar
      Cleanup: use list macros for task list · 4b035e53
      Linus Torvalds authored
      4b035e53
    • David Howells's avatar
      [PATCH] wait4() WIFSTOPPED starvation fix #1/2 · 3154d91d
      David Howells authored
      This patch (#1) just converts the task_struct to use struct list_head rather
      than direct pointers for maintaining the children list.
      3154d91d
    • Kai Germaschewski's avatar
      Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make · 5d043fec
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      5d043fec
    • Kai Germaschewski's avatar
    • Kai Germaschewski's avatar
      Improve Rules.make to automatically generate link rules for composite · 9f1021aa
      Kai Germaschewski authored
      objects.
      
      Current behavior is not changed at all, but see the next cset for what
      it's good for.
      9f1021aa
    • Kai Germaschewski's avatar
      Fix drivers/pnp/Makefile to correctly list multi-part · 139d39f9
      Kai Germaschewski authored
      objects in $(list-multi), instead of $(multi-objs)
      139d39f9
    • Junichi Nomura's avatar
      [PATCH] Fix IA-32 Intercept code. · 33169a92
      Junichi Nomura authored
      (ia32_intercept): The code for Locked data reference fault is 4, not 3.
      33169a92