1. 07 May, 2003 11 commits
    • Andrew Morton's avatar
      [PATCH] Fix .altinstructions linking failures · 00b31e9a
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      Some configs didn't link anymore because they got references from
      .altinstructions to __exit functions.  Fixing it at the linker level is not
      easily possible.  This patch just discards .text.exit at runtime instead of
      link time to avoid this.
      
      It will also fix a related problem with .eh_frame in modern gcc (so far only
      observed on x86-64, but could happen on i386 too)
      00b31e9a
    • Andrew Morton's avatar
      [PATCH] generic subarchitecture for ia32 · 441d6fd9
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      This patch adds an generic x86 subarchitecture. It is intended to provide
      an dynamic interface for APIC drivers. There are already three subarchitectures
      (bigsmp, summit, default) that only differ in how they drive the local APIC.
      A fourth - Unisys ES7000 - is scheduled to be merged soon.
      
      The subarchitecture concept separated this nicely, but it has the big
      drawback that they are compile time options. A Linux vendor cannot
      ship own binary kernel rpms for all of these machines. Runtime probing
      is needed instead.
      
      This patch adds a new "generic" subarchitecture that just acts as a
      dynamic switching layer for APIC drivers. It only tries to virtualize
      the APICs, no attempt is made to cover further incompatiblities.
      This means machines like the Visual Workstation, pc9800 or
      Voyager are not covered; but these are unlikely to be supported by
      binary distributions anyways.
      
      The generic arch reuses the existing interface in mach_ipi / mach_mpparse.h /
      mach_apic.h and just pulls it using some macros into an "struct genapic"
      object. The main APIC code does not recognize it, it is all hidden
      in the mach-generic include files.
      
      Auto detection of APIC types is supported in the usual way used by
      existing ports like Summit - checking ACPI or mptables for specific
      signatures - or it can be specified by the user using a new "apic="
      boot option. I also moved the DMI scan to before the generic
      subarchitecture probe, so DMI could be used in future too to probe
      specific machines.
      
      Some minor hacks were needed to avoid circular declaration of a few
      symbols, but overall it's fairly clean.
      
      The patch has been tested on a Summit machine, an generic 4 virtual CPUs
      Xeon and on an ES7000.
      441d6fd9
    • Linus Torvalds's avatar
      Support a "checking" mode for kernel builds, that runs a · 8c2b313a
      Linus Torvalds authored
      user-supplied source checker on all C files before compiling
      them.
      
      I'll release the actual checker once I've cleaned it up a
      bit more (yay, all the copyright paperwork completed!)
      8c2b313a
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      Use "__attribute__" consistently. · 3ee965cc
      Linus Torvalds authored
      3ee965cc
    • Linus Torvalds's avatar
      Avoid using undefined preprocessor symbols: check CONFIG_MK7 with · e6a3e9a3
      Linus Torvalds authored
      "defined()" rather than using it as a value.
      e6a3e9a3
    • Linus Torvalds's avatar
      Make lib/inflate.c look remotely like ANSI C, so that it can be · 0eec8ef1
      Linus Torvalds authored
      properly checked with the rest of the kernel.
      0eec8ef1
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.5 · 50441791
      Linus Torvalds authored
      into penguin.transmeta.com:/home/torvalds/v2.5/linux
      50441791
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleed-2.5 · 66731c77
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/gregkh-2.5
      66731c77
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · 6bd4301a
      Linus Torvalds authored
      into penguin.transmeta.com:/home/torvalds/v2.5/linux
      6bd4301a
    • Linus Torvalds's avatar
      Whee. Fix ancient mailing address. · 7c97c222
      Linus Torvalds authored
      7c97c222
  2. 06 May, 2003 29 commits