Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
authorLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 20:33:14 +0000 (13:33 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 20:33:14 +0000 (13:33 -0700)
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
  typo fixes
  Clean up 'inline is not at beginning' warnings for usb storage
  Storage class should be first
  i386: Trivial typo fixes
  ixj: make ixj_set_tone_off() static
  spelling fixes
  fix paniced->panicked typos
  Spelling fixes for Documentation/atomic_ops.txt
  move acknowledgment for Mark Adler to CREDITS
  remove the bouncing email address of David Campbell

1  2 
arch/i386/Kconfig
arch/i386/kernel/crash.c
arch/x86_64/kernel/crash.c
arch/x86_64/kernel/i8259.c
arch/x86_64/kernel/smp.c
drivers/char/ipmi/ipmi_msghandler.c
drivers/ide/ide-io.c

diff --combined arch/i386/Kconfig
@@@ -14,10 -14,6 +14,10 @@@ config X86_3
          486, 586, Pentiums, and various instruction-set-compatible chips by
          AMD, Cyrix, and others.
  
 +config GENERIC_TIME
 +      bool
 +      default y
 +
  config SEMAPHORE_SLEEPERS
        bool
        default y
@@@ -328,15 -324,6 +328,15 @@@ config X86_MCE_P4THERMA
          Enabling this feature will cause a message to be printed when the P4
          enters thermal throttling.
  
 +config VM86
 +      default y
 +      bool "Enable VM86 support" if EMBEDDED
 +      help
 +          This option is required by programs like DOSEMU to run 16-bit legacy
 +        code on X86 processors. It also may be needed by software like
 +          XFree86 to initialize some video cards via BIOS. Disabling this
 +          option saves about 6k.
 +
  config TOSHIBA
        tristate "Toshiba Laptop support"
        ---help---
@@@ -734,7 -721,7 +734,7 @@@ config KEXE
        help
          kexec is a system call that implements the ability to shutdown your
          current kernel, and to start another kernel.  It is like a reboot
-         but it is indepedent of the system firmware.   And like a reboot
+         but it is independent of the system firmware.   And like a reboot
          you can start any kernel with it, not just Linux.
  
          The name comes from the similiarity to the exec system call.
@@@ -1059,27 -1046,13 +1059,27 @@@ config SCx20
        tristate "NatSemi SCx200 support"
        depends on !X86_VOYAGER
        help
 -        This provides basic support for the National Semiconductor SCx200
 -        processor.  Right now this is just a driver for the GPIO pins.
 +        This provides basic support for National Semiconductor's
 +        (now AMD's) Geode processors.  The driver probes for the
 +        PCI-IDs of several on-chip devices, so its a good dependency
 +        for other scx200_* drivers.
  
 -        If you don't know what to do here, say N.
 +        If compiled as a module, the driver is named scx200.
  
 -        This support is also available as a module.  If compiled as a
 -        module, it will be called scx200.
 +config SCx200HR_TIMER
 +      tristate "NatSemi SCx200 27MHz High-Resolution Timer Support"
 +      depends on SCx200 && GENERIC_TIME
 +      default y
 +      help
 +        This driver provides a clocksource built upon the on-chip
 +        27MHz high-resolution timer.  Its also a workaround for
 +        NSC Geode SC-1100's buggy TSC, which loses time when the
 +        processor goes idle (as is done by the scheduler).  The
 +        other workaround is idle=poll boot option.
 +
 +config K8_NB
 +      def_bool y
 +      depends on AGP_AMD64
  
  source "drivers/pcmcia/Kconfig"
  
diff --combined arch/i386/kernel/crash.c
@@@ -120,9 -120,14 +120,9 @@@ static int crash_nmi_callback(struct pt
        return 1;
  }
  
 -/*
 - * By using the NMI code instead of a vector we just sneak thru the
 - * word generator coming out with just what we want.  AND it does
 - * not matter if clustered_apic_mode is set or not.
 - */
  static void smp_send_nmi_allbutself(void)
  {
 -      send_IPI_allbutself(APIC_DM_NMI);
 +      send_IPI_allbutself(NMI_VECTOR);
  }
  
  static void nmi_shootdown_cpus(void)
@@@ -158,7 -163,7 +158,7 @@@ static void nmi_shootdown_cpus(void
  void machine_crash_shutdown(struct pt_regs *regs)
  {
        /* This function is only called after the system
-        * has paniced or is otherwise in a critical state.
+        * has panicked or is otherwise in a critical state.
         * The minimum amount of code to allow a kexec'd kernel
         * to run successfully needs to happen here.
         *
@@@ -111,14 -111,14 +111,14 @@@ static int crash_nmi_callback(struct pt
        atomic_dec(&waiting_for_crash_ipi);
        /* Assume hlt works */
        for(;;)
 -              asm("hlt");
 +              halt();
  
        return 1;
  }
  
  static void smp_send_nmi_allbutself(void)
  {
 -      send_IPI_allbutself(APIC_DM_NMI);
 +      send_IPI_allbutself(NMI_VECTOR);
  }
  
  /*
@@@ -161,7 -161,7 +161,7 @@@ void machine_crash_shutdown(struct pt_r
  {
        /*
         * This function is only called after the system
-        * has paniced or is otherwise in a critical state.
+        * has panicked or is otherwise in a critical state.
         * The minimum amount of code to allow a kexec'd kernel
         * to run successfully needs to happen here.
         *
        BI(x,8) BI(x,9) BI(x,a) BI(x,b) \
        BI(x,c) BI(x,d) BI(x,e) BI(x,f)
  
 -#define BUILD_14_IRQS(x) \
 +#define BUILD_15_IRQS(x) \
        BI(x,0) BI(x,1) BI(x,2) BI(x,3) \
        BI(x,4) BI(x,5) BI(x,6) BI(x,7) \
        BI(x,8) BI(x,9) BI(x,a) BI(x,b) \
 -      BI(x,c) BI(x,d)
 +      BI(x,c) BI(x,d) BI(x,e)
  
  /*
   * ISA PIC or low IO-APIC triggered (INTA-cycle or APIC) interrupts:
@@@ -73,13 -73,13 +73,13 @@@ BUILD_16_IRQS(0x8) BUILD_16_IRQS(0x9) B
  BUILD_16_IRQS(0xc) BUILD_16_IRQS(0xd)
  
  #ifdef CONFIG_PCI_MSI
 -      BUILD_14_IRQS(0xe)
 +      BUILD_15_IRQS(0xe)
  #endif
  
  #endif
  
  #undef BUILD_16_IRQS
 -#undef BUILD_14_IRQS
 +#undef BUILD_15_IRQS
  #undef BI
  
  
        IRQ(x,8), IRQ(x,9), IRQ(x,a), IRQ(x,b), \
        IRQ(x,c), IRQ(x,d), IRQ(x,e), IRQ(x,f)
  
 -#define IRQLIST_14(x) \
 +#define IRQLIST_15(x) \
        IRQ(x,0), IRQ(x,1), IRQ(x,2), IRQ(x,3), \
        IRQ(x,4), IRQ(x,5), IRQ(x,6), IRQ(x,7), \
        IRQ(x,8), IRQ(x,9), IRQ(x,a), IRQ(x,b), \
 -      IRQ(x,c), IRQ(x,d)
 +      IRQ(x,c), IRQ(x,d), IRQ(x,e)
  
  void (*interrupt[NR_IRQS])(void) = {
        IRQLIST_16(0x0),
        IRQLIST_16(0xc), IRQLIST_16(0xd)
  
  #ifdef CONFIG_PCI_MSI
 -      , IRQLIST_14(0xe)
 +      , IRQLIST_15(0xe)
  #endif
  
  #endif
@@@ -278,7 -278,7 +278,7 @@@ static void mask_and_ack_8259A(unsigne
         * Lightweight spurious IRQ detection. We do not want
         * to overdo spurious IRQ handling - it's usually a sign
         * of hardware problems, so we only do the checks we can
-        * do without slowing down good hardware unnecesserily.
+        * do without slowing down good hardware unnecessarily.
         *
         * Note that IRQ7 and IRQ15 (the two spurious IRQs
         * usually resulting from the 8259A-1|2 PICs) occur
diff --combined arch/x86_64/kernel/smp.c
@@@ -224,7 -224,6 +224,7 @@@ void flush_tlb_current_task(void
                flush_tlb_others(cpu_mask, mm, FLUSH_ALL);
        preempt_enable();
  }
 +EXPORT_SYMBOL(flush_tlb_current_task);
  
  void flush_tlb_mm (struct mm_struct * mm)
  {
  
        preempt_enable();
  }
 +EXPORT_SYMBOL(flush_tlb_mm);
  
  void flush_tlb_page(struct vm_area_struct * vma, unsigned long va)
  {
  
        preempt_enable();
  }
 +EXPORT_SYMBOL(flush_tlb_page);
  
  static void do_flush_tlb_all(void* info)
  {
@@@ -446,7 -443,6 +446,7 @@@ int smp_call_function (void (*func) (vo
        spin_unlock(&call_lock);
        return 0;
  }
 +EXPORT_SYMBOL(smp_call_function);
  
  void smp_stop_cpu(void)
  {
@@@ -464,7 -460,7 +464,7 @@@ static void smp_really_stop_cpu(void *d
  {
        smp_stop_cpu(); 
        for (;;) 
 -              asm("hlt"); 
 +              halt();
  } 
  
  void smp_send_stop(void)
                return;
        /* Don't deadlock on the call lock in panic */
        if (!spin_trylock(&call_lock)) {
-               /* ignore locking because we have paniced anyways */
+               /* ignore locking because we have panicked anyways */
                nolock = 1;
        }
        __smp_call_function(smp_really_stop_cpu, NULL, 0, 0);
@@@ -524,13 -520,13 +524,13 @@@ asmlinkage void smp_call_function_inter
  
  int safe_smp_processor_id(void)
  {
 -      int apicid, i;
 +      unsigned apicid, i;
  
        if (disable_apic)
                return 0;
  
        apicid = hard_smp_processor_id();
 -      if (x86_cpu_to_apicid[apicid] == apicid)
 +      if (apicid < NR_CPUS && x86_cpu_to_apicid[apicid] == apicid)
                return apicid;
  
        for (i = 0; i < NR_CPUS; ++i) {
@@@ -936,8 -936,11 +936,8 @@@ int ipmi_set_gets_events(ipmi_user_t us
  
        if (val) {
                /* Deliver any queued events. */
 -              list_for_each_entry_safe(msg, msg2, &intf->waiting_events,
 -                                       link) {
 -                      list_del(&msg->link);
 -                      list_add_tail(&msg->link, &msgs);
 -              }
 +              list_for_each_entry_safe(msg, msg2, &intf->waiting_events, link)
 +                      list_move_tail(&msg->link, &msgs);
                intf->waiting_events_count = 0;
        }
  
@@@ -3674,7 -3677,7 +3674,7 @@@ static void send_panic_events(char *str
  }
  #endif /* CONFIG_IPMI_PANIC_EVENT */
  
- static int has_paniced = 0;
+ static int has_panicked = 0;
  
  static int panic_event(struct notifier_block *this,
                       unsigned long         event,
        int        i;
        ipmi_smi_t intf;
  
-       if (has_paniced)
+       if (has_panicked)
                return NOTIFY_DONE;
-       has_paniced = 1;
+       has_panicked = 1;
  
        /* For every registered interface, set it to run to completion. */
        for (i = 0; i < MAX_IPMI_INTERFACES; i++) {
diff --combined drivers/ide/ide-io.c
@@@ -959,7 -959,7 +959,7 @@@ static void ide_check_pm_state(ide_driv
                        printk(KERN_WARNING "%s: bus not ready on wakeup\n", drive->name);
                SELECT_DRIVE(drive);
                HWIF(drive)->OUTB(8, HWIF(drive)->io_ports[IDE_CONTROL_OFFSET]);
 -              rc = ide_wait_not_busy(HWIF(drive), 10000);
 +              rc = ide_wait_not_busy(HWIF(drive), 100000);
                if (rc)
                        printk(KERN_WARNING "%s: drive not ready on wakeup\n", drive->name);
        }
@@@ -1665,7 -1665,7 +1665,7 @@@ irqreturn_t ide_intr (int irq, void *de
   *    Initialize a request before we fill it in and send it down to
   *    ide_do_drive_cmd. Commands must be set up by this function. Right
   *    now it doesn't do a lot, but if that changes abusers will have a
-  *    nasty suprise.
+  *    nasty surprise.
   */
  
  void ide_init_drive_cmd (struct request *rq)