spelling fixes: arch/i386/
Spelling fixes in arch/i386/. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Adrian Bunk <bunk@kernel.org>
This commit is contained in:

committato da
Adrian Bunk

parent
5e71c60515
commit
27b46d7661
@@ -99,7 +99,7 @@ static u64 acpi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE;
|
||||
|
||||
/*
|
||||
* The default interrupt routing model is PIC (8259). This gets
|
||||
* overriden if IOAPICs are enumerated (below).
|
||||
* overridden if IOAPICs are enumerated (below).
|
||||
*/
|
||||
enum acpi_irq_model_id acpi_irq_model = ACPI_IRQ_MODEL_PIC;
|
||||
|
||||
@@ -414,8 +414,8 @@ acpi_parse_nmi_src(struct acpi_subtable_header * header, const unsigned long end
|
||||
*
|
||||
* Port 0x4d0-4d1 are ECLR1 and ECLR2, the Edge/Level Control Registers
|
||||
* for the 8259 PIC. bit[n] = 1 means irq[n] is Level, otherwise Edge.
|
||||
* ECLR1 is IRQ's 0-7 (IRQ 0, 1, 2 must be 0)
|
||||
* ECLR2 is IRQ's 8-15 (IRQ 8, 13 must be 0)
|
||||
* ECLR1 is IRQs 0-7 (IRQ 0, 1, 2 must be 0)
|
||||
* ECLR2 is IRQs 8-15 (IRQ 8, 13 must be 0)
|
||||
*/
|
||||
|
||||
void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger)
|
||||
@@ -427,7 +427,7 @@ void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger)
|
||||
old = inb(0x4d0) | (inb(0x4d1) << 8);
|
||||
|
||||
/*
|
||||
* If we use ACPI to set PCI irq's, then we should clear ELCR
|
||||
* If we use ACPI to set PCI IRQs, then we should clear ELCR
|
||||
* since we will set it correctly as we enable the PCI irq
|
||||
* routing.
|
||||
*/
|
||||
|
@@ -947,7 +947,7 @@ void __devinit setup_local_APIC(void)
|
||||
* Set up LVT0, LVT1:
|
||||
*
|
||||
* set up through-local-APIC on the BP's LINT0. This is not
|
||||
* strictly necessery in pure symmetric-IO mode, but sometimes
|
||||
* strictly necessary in pure symmetric-IO mode, but sometimes
|
||||
* we delegate interrupts to the 8259A.
|
||||
*/
|
||||
/*
|
||||
@@ -998,7 +998,7 @@ void __devinit setup_local_APIC(void)
|
||||
} else {
|
||||
if (esr_disable)
|
||||
/*
|
||||
* Something untraceble is creating bad interrupts on
|
||||
* Something untraceable is creating bad interrupts on
|
||||
* secondary quads ... for the moment, just leave the
|
||||
* ESR disabled - we can't do anything useful with the
|
||||
* errors anyway - mbligh
|
||||
|
@@ -57,7 +57,7 @@
|
||||
* screen-blanking and gpm (Stephen Rothwell); Linux 1.99.4
|
||||
* 1.2a:Simple change to stop mysterious bug reports with SMP also added
|
||||
* levels to the printk calls. APM is not defined for SMP machines.
|
||||
* The new replacment for it is, but Linux doesn't yet support this.
|
||||
* The new replacement for it is, but Linux doesn't yet support this.
|
||||
* Alan Cox Linux 2.1.55
|
||||
* 1.3: Set up a valid data descriptor 0x40 for buggy BIOS's
|
||||
* 1.4: Upgraded to support APM 1.2. Integrated ThinkPad suspend patch by
|
||||
|
@@ -266,7 +266,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
|
||||
#ifdef CONFIG_X86_HT
|
||||
/*
|
||||
* On a AMD multi core setup the lower bits of the APIC id
|
||||
* distingush the cores.
|
||||
* distinguish the cores.
|
||||
*/
|
||||
if (c->x86_max_cores > 1) {
|
||||
int cpu = smp_processor_id();
|
||||
|
@@ -53,7 +53,7 @@ static u32 __cpuinit ramtop(void) /* 16388 */
|
||||
continue;
|
||||
/*
|
||||
* Don't MCR over reserved space. Ignore the ISA hole
|
||||
* we frob around that catastrophy already
|
||||
* we frob around that catastrophe already
|
||||
*/
|
||||
|
||||
if (e820.map[i].type == E820_RESERVED)
|
||||
@@ -287,7 +287,7 @@ static void __cpuinit init_c3(struct cpuinfo_x86 *c)
|
||||
c->x86_capability[5] = cpuid_edx(0xC0000001);
|
||||
}
|
||||
|
||||
/* Cyrix III family needs CX8 & PGE explicity enabled. */
|
||||
/* Cyrix III family needs CX8 & PGE explicitly enabled. */
|
||||
if (c->x86_model >=6 && c->x86_model <= 9) {
|
||||
rdmsr (MSR_VIA_FCR, lo, hi);
|
||||
lo |= (1<<1 | 1<<7);
|
||||
|
@@ -207,7 +207,7 @@ static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c, int early)
|
||||
|
||||
static int __init x86_fxsr_setup(char * s)
|
||||
{
|
||||
/* Tell all the other CPU's to not use it... */
|
||||
/* Tell all the other CPUs to not use it... */
|
||||
disable_x86_fxsr = 1;
|
||||
|
||||
/*
|
||||
|
@@ -260,7 +260,7 @@ static int nforce2_target(struct cpufreq_policy *policy,
|
||||
|
||||
freqs.old = nforce2_get(policy->cpu);
|
||||
freqs.new = target_fsb * fid * 100;
|
||||
freqs.cpu = 0; /* Only one CPU on nForce2 plattforms */
|
||||
freqs.cpu = 0; /* Only one CPU on nForce2 platforms */
|
||||
|
||||
if (freqs.old == freqs.new)
|
||||
return 0;
|
||||
|
@@ -12,12 +12,12 @@
|
||||
* of any nature resulting due to the use of this software. This
|
||||
* software is provided AS-IS with no warranties.
|
||||
*
|
||||
* Theoritical note:
|
||||
* Theoretical note:
|
||||
*
|
||||
* (see Geode(tm) CS5530 manual (rev.4.1) page.56)
|
||||
*
|
||||
* CPU frequency control on NatSemi Geode GX1/GXLV processor and CS55x0
|
||||
* are based on Suspend Moduration.
|
||||
* are based on Suspend Modulation.
|
||||
*
|
||||
* Suspend Modulation works by asserting and de-asserting the SUSP# pin
|
||||
* to CPU(GX1/GXLV) for configurable durations. When asserting SUSP#
|
||||
@@ -101,11 +101,11 @@
|
||||
|
||||
/* SUSCFG bits */
|
||||
#define SUSMOD (1<<0) /* enable/disable suspend modulation */
|
||||
/* the belows support only with cs5530 (after rev.1.2)/cs5530A */
|
||||
/* the below is supported only with cs5530 (after rev.1.2)/cs5530A */
|
||||
#define SMISPDUP (1<<1) /* select how SMI re-enable suspend modulation: */
|
||||
/* IRQTC timer or read SMI speedup disable reg.(F1BAR[08-09h]) */
|
||||
#define SUSCFG (1<<2) /* enable powering down a GXLV processor. "Special 3Volt Suspend" mode */
|
||||
/* the belows support only with cs5530A */
|
||||
/* the below is supported only with cs5530A */
|
||||
#define PWRSVE_ISA (1<<3) /* stop ISA clock */
|
||||
#define PWRSVE (1<<4) /* active idle */
|
||||
|
||||
|
@@ -168,7 +168,7 @@ static void count_off_irt(struct powernow_k8_data *data)
|
||||
return;
|
||||
}
|
||||
|
||||
/* the voltage stabalization time */
|
||||
/* the voltage stabilization time */
|
||||
static void count_off_vst(struct powernow_k8_data *data)
|
||||
{
|
||||
udelay(data->vstable * VST_UNITS_20US);
|
||||
|
@@ -148,10 +148,10 @@ struct powernow_k8_data {
|
||||
#define PLL_LOCK_CONVERSION (1000/5) /* ms to ns, then divide by clock period */
|
||||
|
||||
#define MAXIMUM_VID_STEPS 1 /* Current cpus only allow a single step of 25mV */
|
||||
#define VST_UNITS_20US 20 /* Voltage Stabalization Time is in units of 20us */
|
||||
#define VST_UNITS_20US 20 /* Voltage Stabilization Time is in units of 20us */
|
||||
|
||||
/*
|
||||
* Most values of interest are enocoded in a single field of the _PSS
|
||||
* Most values of interest are encoded in a single field of the _PSS
|
||||
* entries: the "control" value.
|
||||
*/
|
||||
|
||||
|
@@ -256,7 +256,7 @@ static void __cpuinit init_cyrix(struct cpuinfo_x86 *c)
|
||||
u32 vendor, device;
|
||||
/* It isn't really a PCI quirk directly, but the cure is the
|
||||
same. The MediaGX has deep magic SMM stuff that handles the
|
||||
SB emulation. It thows away the fifo on disable_dma() which
|
||||
SB emulation. It throws away the fifo on disable_dma() which
|
||||
is wrong and ruins the audio.
|
||||
|
||||
Bug2: VSA1 has a wrap bug so that using maximum sized DMA
|
||||
|
@@ -147,10 +147,10 @@ static void prepare_set(void)
|
||||
write_cr0(cr0);
|
||||
wbinvd();
|
||||
|
||||
/* Cyrix ARRs - everything else were excluded at the top */
|
||||
/* Cyrix ARRs - everything else was excluded at the top */
|
||||
ccr3 = getCx86(CX86_CCR3);
|
||||
|
||||
/* Cyrix ARRs - everything else were excluded at the top */
|
||||
/* Cyrix ARRs - everything else was excluded at the top */
|
||||
setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10);
|
||||
|
||||
}
|
||||
|
@@ -182,7 +182,7 @@ static inline void k8_enable_fixed_iorrs(void)
|
||||
|
||||
/**
|
||||
* Checks and updates an fixed-range MTRR if it differs from the value it
|
||||
* should have. If K8 extenstions are wanted, update the K8 SYSCFG MSR also.
|
||||
* should have. If K8 extentions are wanted, update the K8 SYSCFG MSR also.
|
||||
* see AMD publication no. 24593, chapter 7.8.1, page 233 for more information
|
||||
* \param msr MSR address of the MTTR which should be checked and updated
|
||||
* \param changed pointer which indicates whether the MTRR needed to be changed
|
||||
|
@@ -748,7 +748,7 @@ static int __init mtrr_init_finialize(void)
|
||||
if (use_intel())
|
||||
mtrr_state_warn();
|
||||
else {
|
||||
/* The CPUs haven't MTRR and seemes not support SMP. They have
|
||||
/* The CPUs haven't MTRR and seem to not support SMP. They have
|
||||
* specific drivers, we use a tricky method to support
|
||||
* suspend/resume for them.
|
||||
* TBD: is there any system with such CPU which supports
|
||||
|
@@ -706,7 +706,7 @@ void __init e820_register_memory(void)
|
||||
int i;
|
||||
|
||||
/*
|
||||
* Search for the bigest gap in the low 32 bits of the e820
|
||||
* Search for the biggest gap in the low 32 bits of the e820
|
||||
* memory space.
|
||||
*/
|
||||
last = 0x100000000ull;
|
||||
|
@@ -350,7 +350,7 @@ static int hpet_clocksource_register(void)
|
||||
*
|
||||
* hpet period is in femto seconds per cycle
|
||||
* so we need to convert this to ns/cyc units
|
||||
* aproximated by mult/2^shift
|
||||
* approximated by mult/2^shift
|
||||
*
|
||||
* fsec/cyc * 1nsec/1000000fsec = nsec/cyc = mult/2^shift
|
||||
* fsec/cyc * 1ns/1000000fsec * 2^shift = mult
|
||||
|
@@ -86,7 +86,7 @@ static int pit_next_event(unsigned long delta, struct clock_event_device *evt)
|
||||
* On UP the PIT can serve all of the possible timer functions. On SMP systems
|
||||
* it can be solely used for the global tick.
|
||||
*
|
||||
* The profiling and update capabilites are switched off once the local apic is
|
||||
* The profiling and update capabilities are switched off once the local apic is
|
||||
* registered. This mechanism replaces the previous #ifdef LOCAL_APIC -
|
||||
* !using_apic_timer decisions in do_timer_interrupt_hook()
|
||||
*/
|
||||
|
@@ -584,7 +584,7 @@ tryanotherirq:
|
||||
|
||||
imbalance = move_this_load;
|
||||
|
||||
/* For physical_balance case, we accumlated both load
|
||||
/* For physical_balance case, we accumulated both load
|
||||
* values in the one of the siblings cpu_irq[],
|
||||
* to use the same code for physical and logical processors
|
||||
* as much as possible.
|
||||
@@ -2472,7 +2472,7 @@ void destroy_irq(unsigned int irq)
|
||||
}
|
||||
|
||||
/*
|
||||
* MSI mesage composition
|
||||
* MSI message composition
|
||||
*/
|
||||
#ifdef CONFIG_PCI_MSI
|
||||
static int msi_compose_msg(struct pci_dev *pdev, unsigned int irq, struct msi_msg *msg)
|
||||
|
@@ -1001,7 +1001,7 @@ void __init mp_config_acpi_legacy_irqs (void)
|
||||
|
||||
/*
|
||||
* Use the default configuration for the IRQs 0-15. Unless
|
||||
* overriden by (MADT) interrupt source override entries.
|
||||
* overridden by (MADT) interrupt source override entries.
|
||||
*/
|
||||
for (i = 0; i < 16; i++) {
|
||||
int idx;
|
||||
|
@@ -632,7 +632,7 @@ void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code)
|
||||
/* User-mode eip? */
|
||||
info.si_addr = user_mode_vm(regs) ? (void __user *) regs->eip : NULL;
|
||||
|
||||
/* Send us the fakey SIGTRAP */
|
||||
/* Send us the fake SIGTRAP */
|
||||
force_sig_info(SIGTRAP, &info, tsk);
|
||||
}
|
||||
|
||||
|
@@ -624,7 +624,7 @@ void __init setup_arch(char **cmdline_p)
|
||||
/*
|
||||
* NOTE: before this point _nobody_ is allowed to allocate
|
||||
* any memory using the bootmem allocator. Although the
|
||||
* alloctor is now initialised only the first 8Mb of the kernel
|
||||
* allocator is now initialised only the first 8Mb of the kernel
|
||||
* virtual address space has been mapped. All allocations before
|
||||
* paging_init() has completed must use the alloc_bootmem_low_pages()
|
||||
* variant (which allocates DMA'able memory) and care must be taken
|
||||
|
@@ -594,7 +594,7 @@ static void fastcall do_signal(struct pt_regs *regs)
|
||||
|
||||
signr = get_signal_to_deliver(&info, &ka, regs, NULL);
|
||||
if (signr > 0) {
|
||||
/* Reenable any watchpoints before delivering the
|
||||
/* Re-enable any watchpoints before delivering the
|
||||
* signal to user space. The processor register will
|
||||
* have been cleared if the watchpoint triggered
|
||||
* inside the kernel.
|
||||
|
@@ -69,7 +69,7 @@
|
||||
*
|
||||
* B stepping CPUs may hang. There are hardware work arounds
|
||||
* for this. We warn about it in case your board doesn't have the work
|
||||
* arounds. Basically thats so I can tell anyone with a B stepping
|
||||
* arounds. Basically that's so I can tell anyone with a B stepping
|
||||
* CPU and SMP problems "tough".
|
||||
*
|
||||
* Specific items [From Pentium Processor Specification Update]
|
||||
@@ -273,7 +273,7 @@ void leave_mm(unsigned long cpu)
|
||||
* 1a1) cpu_clear(cpu, old_mm->cpu_vm_mask);
|
||||
* Stop ipi delivery for the old mm. This is not synchronized with
|
||||
* the other cpus, but smp_invalidate_interrupt ignore flush ipis
|
||||
* for the wrong mm, and in the worst case we perform a superflous
|
||||
* for the wrong mm, and in the worst case we perform a superfluous
|
||||
* tlb flush.
|
||||
* 1a2) set cpu_tlbstate to TLBSTATE_OK
|
||||
* Now the smp_invalidate_interrupt won't call leave_mm if cpu0
|
||||
|
@@ -412,7 +412,7 @@ static void __cpuinit start_secondary(void *unused)
|
||||
/*
|
||||
* We need to hold call_lock, so there is no inconsistency
|
||||
* between the time smp_call_function() determines number of
|
||||
* IPI receipients, and the time when the determination is made
|
||||
* IPI recipients, and the time when the determination is made
|
||||
* for which cpus receive the IPI. Holding this
|
||||
* lock helps us to not include this cpu in a currently in progress
|
||||
* smp_call_function().
|
||||
|
@@ -64,7 +64,7 @@ static int __init setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus)
|
||||
|
||||
switch (rio_devs[wpeg_num]->type){
|
||||
case CompatWPEG:
|
||||
/* The Compatability Winnipeg controls the 2 legacy buses,
|
||||
/* The Compatibility Winnipeg controls the 2 legacy buses,
|
||||
* the 66MHz PCI bus [2 slots] and the 2 "extra" buses in case
|
||||
* a PCI-PCI bridge card is used in either slot: total 5 buses.
|
||||
*/
|
||||
|
@@ -59,7 +59,7 @@ int check_tsc_unstable(void)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(check_tsc_unstable);
|
||||
|
||||
/* Accellerators for sched_clock()
|
||||
/* Accelerators for sched_clock()
|
||||
* convert from cycles(64bits) => nanoseconds (64bits)
|
||||
* basic equation:
|
||||
* ns = cycles / (freq / ns_per_sec)
|
||||
|
Fai riferimento in un nuovo problema
Block a user