diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-13 15:00:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-13 15:00:02 -0500 |
commit | a2013a13e68354e0c8f3696b69701803e13fb737 (patch) | |
tree | a7e1da6bfad1aa2afd83f401874d606269ce90b4 /arch | |
parent | dadfab4873256d2145640c0ce468fcbfb48977fe (diff) | |
parent | 106f9d9337f65bd428c0c79f650e3489e458d771 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial branch from Jiri Kosina:
"Usual stuff -- comment/printk typo fixes, documentation updates, dead
code elimination."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
HOWTO: fix double words typo
x86 mtrr: fix comment typo in mtrr_bp_init
propagate name change to comments in kernel source
doc: Update the name of profiling based on sysfs
treewide: Fix typos in various drivers
treewide: Fix typos in various Kconfig
wireless: mwifiex: Fix typo in wireless/mwifiex driver
messages: i2o: Fix typo in messages/i2o
scripts/kernel-doc: check that non-void fcts describe their return value
Kernel-doc: Convention: Use a "Return" section to describe return values
radeon: Fix typo and copy/paste error in comments
doc: Remove unnecessary declarations from Documentation/accounting/getdelays.c
various: Fix spelling of "asynchronous" in comments.
Fix misspellings of "whether" in comments.
eisa: Fix spelling of "asynchronous".
various: Fix spelling of "registered" in comments.
doc: fix quite a few typos within Documentation
target: iscsi: fix comment typos in target/iscsi drivers
treewide: fix typo of "suport" in various comments and Kconfig
treewide: fix typo of "suppport" in various comments
...
Diffstat (limited to 'arch')
35 files changed, 40 insertions, 45 deletions
diff --git a/arch/alpha/include/asm/mmzone.h b/arch/alpha/include/asm/mmzone.h index 445dc42e0334..c5b5d6bac9ed 100644 --- a/arch/alpha/include/asm/mmzone.h +++ b/arch/alpha/include/asm/mmzone.h | |||
@@ -66,7 +66,7 @@ PLAT_NODE_DATA_LOCALNR(unsigned long p, int n) | |||
66 | ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \ | 66 | ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \ |
67 | << PAGE_SHIFT)) | 67 | << PAGE_SHIFT)) |
68 | 68 | ||
69 | /* XXX: FIXME -- wli */ | 69 | /* XXX: FIXME -- nyc */ |
70 | #define kern_addr_valid(kaddr) (0) | 70 | #define kern_addr_valid(kaddr) (0) |
71 | 71 | ||
72 | #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) | 72 | #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) |
diff --git a/arch/alpha/kernel/pci_iommu.c b/arch/alpha/kernel/pci_iommu.c index 3f844d26d2c7..a21d0ab3b19e 100644 --- a/arch/alpha/kernel/pci_iommu.c +++ b/arch/alpha/kernel/pci_iommu.c | |||
@@ -354,8 +354,7 @@ static dma_addr_t alpha_pci_map_page(struct device *dev, struct page *page, | |||
354 | struct pci_dev *pdev = alpha_gendev_to_pci(dev); | 354 | struct pci_dev *pdev = alpha_gendev_to_pci(dev); |
355 | int dac_allowed; | 355 | int dac_allowed; |
356 | 356 | ||
357 | if (dir == PCI_DMA_NONE) | 357 | BUG_ON(dir == PCI_DMA_NONE); |
358 | BUG(); | ||
359 | 358 | ||
360 | dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; | 359 | dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; |
361 | return pci_map_single_1(pdev, (char *)page_address(page) + offset, | 360 | return pci_map_single_1(pdev, (char *)page_address(page) + offset, |
@@ -378,8 +377,7 @@ static void alpha_pci_unmap_page(struct device *dev, dma_addr_t dma_addr, | |||
378 | struct pci_iommu_arena *arena; | 377 | struct pci_iommu_arena *arena; |
379 | long dma_ofs, npages; | 378 | long dma_ofs, npages; |
380 | 379 | ||
381 | if (dir == PCI_DMA_NONE) | 380 | BUG_ON(dir == PCI_DMA_NONE); |
382 | BUG(); | ||
383 | 381 | ||
384 | if (dma_addr >= __direct_map_base | 382 | if (dma_addr >= __direct_map_base |
385 | && dma_addr < __direct_map_base + __direct_map_size) { | 383 | && dma_addr < __direct_map_base + __direct_map_size) { |
@@ -662,8 +660,7 @@ static int alpha_pci_map_sg(struct device *dev, struct scatterlist *sg, | |||
662 | dma_addr_t max_dma; | 660 | dma_addr_t max_dma; |
663 | int dac_allowed; | 661 | int dac_allowed; |
664 | 662 | ||
665 | if (dir == PCI_DMA_NONE) | 663 | BUG_ON(dir == PCI_DMA_NONE); |
666 | BUG(); | ||
667 | 664 | ||
668 | dac_allowed = dev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; | 665 | dac_allowed = dev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; |
669 | 666 | ||
@@ -742,8 +739,7 @@ static void alpha_pci_unmap_sg(struct device *dev, struct scatterlist *sg, | |||
742 | dma_addr_t max_dma; | 739 | dma_addr_t max_dma; |
743 | dma_addr_t fbeg, fend; | 740 | dma_addr_t fbeg, fend; |
744 | 741 | ||
745 | if (dir == PCI_DMA_NONE) | 742 | BUG_ON(dir == PCI_DMA_NONE); |
746 | BUG(); | ||
747 | 743 | ||
748 | if (! alpha_mv.mv_pci_tbi) | 744 | if (! alpha_mv.mv_pci_tbi) |
749 | return; | 745 | return; |
diff --git a/arch/arm/kernel/kprobes-test.c b/arch/arm/kernel/kprobes-test.c index 1862d8f2fd44..0cd63d080c7b 100644 --- a/arch/arm/kernel/kprobes-test.c +++ b/arch/arm/kernel/kprobes-test.c | |||
@@ -1598,7 +1598,7 @@ static int __init run_all_tests(void) | |||
1598 | { | 1598 | { |
1599 | int ret = 0; | 1599 | int ret = 0; |
1600 | 1600 | ||
1601 | pr_info("Begining kprobe tests...\n"); | 1601 | pr_info("Beginning kprobe tests...\n"); |
1602 | 1602 | ||
1603 | #ifndef CONFIG_THUMB2_KERNEL | 1603 | #ifndef CONFIG_THUMB2_KERNEL |
1604 | 1604 | ||
diff --git a/arch/arm/mach-netx/xc.c b/arch/arm/mach-netx/xc.c index e4cfb7e5361d..f1c972d87bac 100644 --- a/arch/arm/mach-netx/xc.c +++ b/arch/arm/mach-netx/xc.c | |||
@@ -136,7 +136,7 @@ int xc_request_firmware(struct xc *x) | |||
136 | if (head->magic != 0x4e657458) { | 136 | if (head->magic != 0x4e657458) { |
137 | if (head->magic == 0x5874654e) { | 137 | if (head->magic == 0x5874654e) { |
138 | dev_err(x->dev, | 138 | dev_err(x->dev, |
139 | "firmware magic is 'XteN'. Endianess problems?\n"); | 139 | "firmware magic is 'XteN'. Endianness problems?\n"); |
140 | ret = -ENODEV; | 140 | ret = -ENODEV; |
141 | goto exit_release_firmware; | 141 | goto exit_release_firmware; |
142 | } | 142 | } |
diff --git a/arch/arm/mach-s3c24xx/include/mach/bast-map.h b/arch/arm/mach-s3c24xx/include/mach/bast-map.h index 6e7dc9d0cf0e..eecea2a50f8f 100644 --- a/arch/arm/mach-s3c24xx/include/mach/bast-map.h +++ b/arch/arm/mach-s3c24xx/include/mach/bast-map.h | |||
@@ -74,7 +74,7 @@ | |||
74 | 74 | ||
75 | 75 | ||
76 | /* 0xE0000000 contains the IO space that is split by speed and | 76 | /* 0xE0000000 contains the IO space that is split by speed and |
77 | * wether the access is for 8 or 16bit IO... this ensures that | 77 | * whether the access is for 8 or 16bit IO... this ensures that |
78 | * the correct access is made | 78 | * the correct access is made |
79 | * | 79 | * |
80 | * 0x10000000 of space, partitioned as so: | 80 | * 0x10000000 of space, partitioned as so: |
diff --git a/arch/arm/mach-s3c24xx/include/mach/dma.h b/arch/arm/mach-s3c24xx/include/mach/dma.h index ee99fd56c043..6b72d5a4b377 100644 --- a/arch/arm/mach-s3c24xx/include/mach/dma.h +++ b/arch/arm/mach-s3c24xx/include/mach/dma.h | |||
@@ -88,7 +88,7 @@ enum s3c2410_dma_state { | |||
88 | * | 88 | * |
89 | * This represents the state of the DMA engine, wrt to the loaded / running | 89 | * This represents the state of the DMA engine, wrt to the loaded / running |
90 | * transfers. Since we don't have any way of knowing exactly the state of | 90 | * transfers. Since we don't have any way of knowing exactly the state of |
91 | * the DMA transfers, we need to know the state to make decisions on wether | 91 | * the DMA transfers, we need to know the state to make decisions on whether |
92 | * we can | 92 | * we can |
93 | * | 93 | * |
94 | * S3C2410_DMA_NONE | 94 | * S3C2410_DMA_NONE |
diff --git a/arch/arm/mach-s3c24xx/include/mach/vr1000-map.h b/arch/arm/mach-s3c24xx/include/mach/vr1000-map.h index 99612fcc4eb2..28376e56dd3b 100644 --- a/arch/arm/mach-s3c24xx/include/mach/vr1000-map.h +++ b/arch/arm/mach-s3c24xx/include/mach/vr1000-map.h | |||
@@ -51,7 +51,7 @@ | |||
51 | #define VR1000_VA_PC104_IRQMASK VR1000_IOADDR(0x00600000) | 51 | #define VR1000_VA_PC104_IRQMASK VR1000_IOADDR(0x00600000) |
52 | 52 | ||
53 | /* 0xE0000000 contains the IO space that is split by speed and | 53 | /* 0xE0000000 contains the IO space that is split by speed and |
54 | * wether the access is for 8 or 16bit IO... this ensures that | 54 | * whether the access is for 8 or 16bit IO... this ensures that |
55 | * the correct access is made | 55 | * the correct access is made |
56 | * | 56 | * |
57 | * 0x10000000 of space, partitioned as so: | 57 | * 0x10000000 of space, partitioned as so: |
diff --git a/arch/arm/mach-s3c24xx/pm.c b/arch/arm/mach-s3c24xx/pm.c index 60627e63a254..724755f0b0f5 100644 --- a/arch/arm/mach-s3c24xx/pm.c +++ b/arch/arm/mach-s3c24xx/pm.c | |||
@@ -121,7 +121,7 @@ void s3c_pm_configure_extint(void) | |||
121 | int pin; | 121 | int pin; |
122 | 122 | ||
123 | /* for each of the external interrupts (EINT0..EINT15) we | 123 | /* for each of the external interrupts (EINT0..EINT15) we |
124 | * need to check wether it is an external interrupt source, | 124 | * need to check whether it is an external interrupt source, |
125 | * and then configure it as an input if it is not | 125 | * and then configure it as an input if it is not |
126 | */ | 126 | */ |
127 | 127 | ||
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index e426d1b7747e..b442f15fd01a 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig | |||
@@ -55,7 +55,7 @@ config TEGRA_AHB | |||
55 | help | 55 | help |
56 | Adds AHB configuration functionality for NVIDIA Tegra SoCs, | 56 | Adds AHB configuration functionality for NVIDIA Tegra SoCs, |
57 | which controls AHB bus master arbitration and some | 57 | which controls AHB bus master arbitration and some |
58 | perfomance parameters(priority, prefech size). | 58 | performance parameters(priority, prefech size). |
59 | 59 | ||
60 | config TEGRA_EMC_SCALING_ENABLE | 60 | config TEGRA_EMC_SCALING_ENABLE |
61 | bool "Enable scaling the memory frequency" | 61 | bool "Enable scaling the memory frequency" |
diff --git a/arch/arm/plat-s3c24xx/dma.c b/arch/arm/plat-s3c24xx/dma.c index 0abd1c469887..ba3e76c95504 100644 --- a/arch/arm/plat-s3c24xx/dma.c +++ b/arch/arm/plat-s3c24xx/dma.c | |||
@@ -325,7 +325,7 @@ static int s3c2410_dma_start(struct s3c2410_dma_chan *chan) | |||
325 | 325 | ||
326 | chan->state = S3C2410_DMA_RUNNING; | 326 | chan->state = S3C2410_DMA_RUNNING; |
327 | 327 | ||
328 | /* check wether there is anything to load, and if not, see | 328 | /* check whether there is anything to load, and if not, see |
329 | * if we can find anything to load | 329 | * if we can find anything to load |
330 | */ | 330 | */ |
331 | 331 | ||
diff --git a/arch/blackfin/mach-bf609/Kconfig b/arch/blackfin/mach-bf609/Kconfig index 101b33ee9bba..95a4f1b676ce 100644 --- a/arch/blackfin/mach-bf609/Kconfig +++ b/arch/blackfin/mach-bf609/Kconfig | |||
@@ -56,7 +56,7 @@ config SEC_IRQ_PRIORITY_LEVELS | |||
56 | default 7 | 56 | default 7 |
57 | range 0 7 | 57 | range 0 7 |
58 | help | 58 | help |
59 | Devide the total number of interrupt priority levels into sub-levels. | 59 | Divide the total number of interrupt priority levels into sub-levels. |
60 | There is 2 ^ (SEC_IRQ_PRIORITY_LEVELS + 1) different levels. | 60 | There is 2 ^ (SEC_IRQ_PRIORITY_LEVELS + 1) different levels. |
61 | 61 | ||
62 | endmenu | 62 | endmenu |
diff --git a/arch/blackfin/mm/sram-alloc.c b/arch/blackfin/mm/sram-alloc.c index 342e378da1ec..1f3b3ef3e103 100644 --- a/arch/blackfin/mm/sram-alloc.c +++ b/arch/blackfin/mm/sram-alloc.c | |||
@@ -191,7 +191,7 @@ static irqreturn_t l2_ecc_err(int irq, void *dev_id) | |||
191 | { | 191 | { |
192 | int status; | 192 | int status; |
193 | 193 | ||
194 | printk(KERN_ERR "L2 ecc error happend\n"); | 194 | printk(KERN_ERR "L2 ecc error happened\n"); |
195 | status = bfin_read32(L2CTL0_STAT); | 195 | status = bfin_read32(L2CTL0_STAT); |
196 | if (status & 0x1) | 196 | if (status & 0x1) |
197 | printk(KERN_ERR "Core channel error type:0x%x, addr:0x%x\n", | 197 | printk(KERN_ERR "Core channel error type:0x%x, addr:0x%x\n", |
diff --git a/arch/cris/include/arch-v10/arch/irq.h b/arch/cris/include/arch-v10/arch/irq.h index 7d345947b3ee..ca2675ae08ed 100644 --- a/arch/cris/include/arch-v10/arch/irq.h +++ b/arch/cris/include/arch-v10/arch/irq.h | |||
@@ -142,7 +142,7 @@ __asm__ ( \ | |||
142 | * it here, we would not get the multiple_irq at all. | 142 | * it here, we would not get the multiple_irq at all. |
143 | * | 143 | * |
144 | * The non-blocking here is based on the knowledge that the timer interrupt is | 144 | * The non-blocking here is based on the knowledge that the timer interrupt is |
145 | * registred as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not | 145 | * registered as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not |
146 | * be an sti() before the timer irq handler is run to acknowledge the interrupt. | 146 | * be an sti() before the timer irq handler is run to acknowledge the interrupt. |
147 | */ | 147 | */ |
148 | 148 | ||
diff --git a/arch/cris/include/arch-v32/arch/irq.h b/arch/cris/include/arch-v32/arch/irq.h index b31e9984f849..fe3cdd22bed4 100644 --- a/arch/cris/include/arch-v32/arch/irq.h +++ b/arch/cris/include/arch-v32/arch/irq.h | |||
@@ -103,7 +103,7 @@ __asm__ ( \ | |||
103 | * if we had BLOCK'edit here, we would not get the multiple_irq at all. | 103 | * if we had BLOCK'edit here, we would not get the multiple_irq at all. |
104 | * | 104 | * |
105 | * The non-blocking here is based on the knowledge that the timer interrupt is | 105 | * The non-blocking here is based on the knowledge that the timer interrupt is |
106 | * registred as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not | 106 | * registered as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not |
107 | * be an sti() before the timer irq handler is run to acknowledge the interrupt. | 107 | * be an sti() before the timer irq handler is run to acknowledge the interrupt. |
108 | */ | 108 | */ |
109 | #define BUILD_TIMER_IRQ(nr, mask) \ | 109 | #define BUILD_TIMER_IRQ(nr, mask) \ |
diff --git a/arch/frv/mm/pgalloc.c b/arch/frv/mm/pgalloc.c index 4fb63a36bd52..f6084bc524e8 100644 --- a/arch/frv/mm/pgalloc.c +++ b/arch/frv/mm/pgalloc.c | |||
@@ -77,7 +77,7 @@ void __set_pmd(pmd_t *pmdptr, unsigned long pmd) | |||
77 | * checks at dup_mmap(), exec(), and other mmlist addition points | 77 | * checks at dup_mmap(), exec(), and other mmlist addition points |
78 | * could be used. The locking scheme was chosen on the basis of | 78 | * could be used. The locking scheme was chosen on the basis of |
79 | * manfred's recommendations and having no core impact whatsoever. | 79 | * manfred's recommendations and having no core impact whatsoever. |
80 | * -- wli | 80 | * -- nyc |
81 | */ | 81 | */ |
82 | DEFINE_SPINLOCK(pgd_lock); | 82 | DEFINE_SPINLOCK(pgd_lock); |
83 | struct page *pgd_list; | 83 | struct page *pgd_list; |
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index 8b3a9c0e771d..0a88cb5d316d 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * kvm_ia64.c: Basic KVM suppport On Itanium series processors | 2 | * kvm_ia64.c: Basic KVM support On Itanium series processors |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Copyright (C) 2007, Intel Corporation. | 5 | * Copyright (C) 2007, Intel Corporation. |
diff --git a/arch/m68k/math-emu/fp_log.c b/arch/m68k/math-emu/fp_log.c index 3384a5244fbd..0663067870f2 100644 --- a/arch/m68k/math-emu/fp_log.c +++ b/arch/m68k/math-emu/fp_log.c | |||
@@ -50,7 +50,7 @@ fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) | |||
50 | * sqrt(m*2^e) = | 50 | * sqrt(m*2^e) = |
51 | * sqrt(2*m) * 2^(p) , if e = 2*p + 1 | 51 | * sqrt(2*m) * 2^(p) , if e = 2*p + 1 |
52 | * | 52 | * |
53 | * So we use the last bit of the exponent to decide wether to | 53 | * So we use the last bit of the exponent to decide whether to |
54 | * use the m or 2*m. | 54 | * use the m or 2*m. |
55 | * | 55 | * |
56 | * Since only the fractional part of the mantissa is stored and | 56 | * Since only the fractional part of the mantissa is stored and |
diff --git a/arch/mips/txx9/generic/pci.c b/arch/mips/txx9/generic/pci.c index 4efd9185f294..b14ee53581a9 100644 --- a/arch/mips/txx9/generic/pci.c +++ b/arch/mips/txx9/generic/pci.c | |||
@@ -341,7 +341,7 @@ static void __devinit quirk_slc90e66_ide(struct pci_dev *dev) | |||
341 | 341 | ||
342 | static void __devinit tc35815_fixup(struct pci_dev *dev) | 342 | static void __devinit tc35815_fixup(struct pci_dev *dev) |
343 | { | 343 | { |
344 | /* This device may have PM registers but not they are not suported. */ | 344 | /* This device may have PM registers but not they are not supported. */ |
345 | if (dev->pm_cap) { | 345 | if (dev->pm_cap) { |
346 | dev_info(&dev->dev, "PM disabled\n"); | 346 | dev_info(&dev->dev, "PM disabled\n"); |
347 | dev->pm_cap = 0; | 347 | dev->pm_cap = 0; |
diff --git a/arch/mn10300/mm/pgtable.c b/arch/mn10300/mm/pgtable.c index 4ebf117c3285..bd9ada693f95 100644 --- a/arch/mn10300/mm/pgtable.c +++ b/arch/mn10300/mm/pgtable.c | |||
@@ -95,7 +95,7 @@ struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address) | |||
95 | * checks at dup_mmap(), exec(), and other mmlist addition points | 95 | * checks at dup_mmap(), exec(), and other mmlist addition points |
96 | * could be used. The locking scheme was chosen on the basis of | 96 | * could be used. The locking scheme was chosen on the basis of |
97 | * manfred's recommendations and having no core impact whatsoever. | 97 | * manfred's recommendations and having no core impact whatsoever. |
98 | * -- wli | 98 | * -- nyc |
99 | */ | 99 | */ |
100 | DEFINE_SPINLOCK(pgd_lock); | 100 | DEFINE_SPINLOCK(pgd_lock); |
101 | struct page *pgd_list; | 101 | struct page *pgd_list; |
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index e7f1a2993f78..ec37e185d20d 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig | |||
@@ -146,7 +146,7 @@ config DEBUG_STACKOVERFLOW | |||
146 | help | 146 | help |
147 | Make extra checks for space available on stack in some | 147 | Make extra checks for space available on stack in some |
148 | critical functions. This will cause kernel to run a bit slower, | 148 | critical functions. This will cause kernel to run a bit slower, |
149 | but will catch most of kernel stack overruns and exit gracefuly. | 149 | but will catch most of kernel stack overruns and exit gracefully. |
150 | 150 | ||
151 | Say Y if you are unsure. | 151 | Say Y if you are unsure. |
152 | 152 | ||
diff --git a/arch/powerpc/include/asm/oprofile_impl.h b/arch/powerpc/include/asm/oprofile_impl.h index 639dc96077ab..d697b08994c9 100644 --- a/arch/powerpc/include/asm/oprofile_impl.h +++ b/arch/powerpc/include/asm/oprofile_impl.h | |||
@@ -34,7 +34,7 @@ struct op_system_config { | |||
34 | unsigned long mmcra; | 34 | unsigned long mmcra; |
35 | #ifdef CONFIG_OPROFILE_CELL | 35 | #ifdef CONFIG_OPROFILE_CELL |
36 | /* Register for oprofile user tool to check cell kernel profiling | 36 | /* Register for oprofile user tool to check cell kernel profiling |
37 | * suport. | 37 | * support. |
38 | */ | 38 | */ |
39 | unsigned long cell_support; | 39 | unsigned long cell_support; |
40 | #endif | 40 | #endif |
diff --git a/arch/powerpc/include/asm/pte-hash64-64k.h b/arch/powerpc/include/asm/pte-hash64-64k.h index eedf427c9124..3e13e23e4fdf 100644 --- a/arch/powerpc/include/asm/pte-hash64-64k.h +++ b/arch/powerpc/include/asm/pte-hash64-64k.h | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | /* Note the full page bits must be in the same location as for normal | 24 | /* Note the full page bits must be in the same location as for normal |
25 | * 4k pages as the same assembly will be used to insert 64K pages | 25 | * 4k pages as the same assembly will be used to insert 64K pages |
26 | * wether the kernel has CONFIG_PPC_64K_PAGES or not | 26 | * whether the kernel has CONFIG_PPC_64K_PAGES or not |
27 | */ | 27 | */ |
28 | #define _PAGE_F_SECOND 0x00008000 /* full page: hidx bits */ | 28 | #define _PAGE_F_SECOND 0x00008000 /* full page: hidx bits */ |
29 | #define _PAGE_F_GIX 0x00007000 /* full page: hidx bits */ | 29 | #define _PAGE_F_GIX 0x00007000 /* full page: hidx bits */ |
diff --git a/arch/powerpc/include/asm/smu.h b/arch/powerpc/include/asm/smu.h index ae20ce1af4c7..6e909f3e6a46 100644 --- a/arch/powerpc/include/asm/smu.h +++ b/arch/powerpc/include/asm/smu.h | |||
@@ -132,7 +132,7 @@ | |||
132 | * | 132 | * |
133 | * At this point, the OF driver seems to have a limitation on transfer | 133 | * At this point, the OF driver seems to have a limitation on transfer |
134 | * sizes of 0xd bytes on reads and 0x5 bytes on writes. I do not know | 134 | * sizes of 0xd bytes on reads and 0x5 bytes on writes. I do not know |
135 | * wether this is just an OF limit due to some temporary buffer size | 135 | * whether this is just an OF limit due to some temporary buffer size |
136 | * or if this is an SMU imposed limit. This driver has the same limitation | 136 | * or if this is an SMU imposed limit. This driver has the same limitation |
137 | * for now as I use a 0x10 bytes temporary buffer as well | 137 | * for now as I use a 0x10 bytes temporary buffer as well |
138 | * | 138 | * |
@@ -236,7 +236,7 @@ | |||
236 | * 3 (optional): enable nmi? [0x00 or 0x01] | 236 | * 3 (optional): enable nmi? [0x00 or 0x01] |
237 | * | 237 | * |
238 | * Returns: | 238 | * Returns: |
239 | * If parameter 2 is 0x00 and parameter 3 is not specified, returns wether | 239 | * If parameter 2 is 0x00 and parameter 3 is not specified, returns whether |
240 | * NMI is enabled. Otherwise unknown. | 240 | * NMI is enabled. Otherwise unknown. |
241 | */ | 241 | */ |
242 | #define SMU_CMD_MISC_df_NMI_OPTION 0x04 | 242 | #define SMU_CMD_MISC_df_NMI_OPTION 0x04 |
diff --git a/arch/powerpc/kernel/legacy_serial.c b/arch/powerpc/kernel/legacy_serial.c index bedd12e1cfbc..0733b05eb856 100644 --- a/arch/powerpc/kernel/legacy_serial.c +++ b/arch/powerpc/kernel/legacy_serial.c | |||
@@ -387,7 +387,7 @@ void __init find_legacy_serial_ports(void) | |||
387 | of_node_put(parent); | 387 | of_node_put(parent); |
388 | continue; | 388 | continue; |
389 | } | 389 | } |
390 | /* Check for known pciclass, and also check wether we have | 390 | /* Check for known pciclass, and also check whether we have |
391 | * a device with child nodes for ports or not | 391 | * a device with child nodes for ports or not |
392 | */ | 392 | */ |
393 | if (of_device_is_compatible(np, "pciclass,0700") || | 393 | if (of_device_is_compatible(np, "pciclass,0700") || |
diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c index 2049f2d00ffe..9db8ec07ec94 100644 --- a/arch/powerpc/kernel/of_platform.c +++ b/arch/powerpc/kernel/of_platform.c | |||
@@ -82,7 +82,7 @@ static int __devinit of_pci_phb_probe(struct platform_device *dev) | |||
82 | return -ENXIO; | 82 | return -ENXIO; |
83 | 83 | ||
84 | /* Claim resources. This might need some rework as well depending | 84 | /* Claim resources. This might need some rework as well depending |
85 | * wether we are doing probe-only or not, like assigning unassigned | 85 | * whether we are doing probe-only or not, like assigning unassigned |
86 | * resources etc... | 86 | * resources etc... |
87 | */ | 87 | */ |
88 | pcibios_claim_one_bus(phb->bus); | 88 | pcibios_claim_one_bus(phb->bus); |
diff --git a/arch/powerpc/kernel/signal_64.c b/arch/powerpc/kernel/signal_64.c index d183f8719a50..1ca045d44324 100644 --- a/arch/powerpc/kernel/signal_64.c +++ b/arch/powerpc/kernel/signal_64.c | |||
@@ -83,7 +83,7 @@ static long setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, | |||
83 | * the context). This is very important because we must ensure we | 83 | * the context). This is very important because we must ensure we |
84 | * don't lose the VRSAVE content that may have been set prior to | 84 | * don't lose the VRSAVE content that may have been set prior to |
85 | * the process doing its first vector operation | 85 | * the process doing its first vector operation |
86 | * Userland shall check AT_HWCAP to know wether it can rely on the | 86 | * Userland shall check AT_HWCAP to know whether it can rely on the |
87 | * v_regs pointer or not | 87 | * v_regs pointer or not |
88 | */ | 88 | */ |
89 | #ifdef CONFIG_ALTIVEC | 89 | #ifdef CONFIG_ALTIVEC |
diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c index 5829d2a950d4..cf9dada734b6 100644 --- a/arch/powerpc/mm/slice.c +++ b/arch/powerpc/mm/slice.c | |||
@@ -722,7 +722,7 @@ void slice_set_range_psize(struct mm_struct *mm, unsigned long start, | |||
722 | } | 722 | } |
723 | 723 | ||
724 | /* | 724 | /* |
725 | * is_hugepage_only_range() is used by generic code to verify wether | 725 | * is_hugepage_only_range() is used by generic code to verify whether |
726 | * a normal mmap mapping (non hugetlbfs) is valid on a given area. | 726 | * a normal mmap mapping (non hugetlbfs) is valid on a given area. |
727 | * | 727 | * |
728 | * until the generic code provides a more generic hook and/or starts | 728 | * until the generic code provides a more generic hook and/or starts |
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_gpt.c b/arch/powerpc/platforms/52xx/mpc52xx_gpt.c index 028470b95886..a51cb07bd663 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_gpt.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_gpt.c | |||
@@ -526,7 +526,7 @@ EXPORT_SYMBOL(mpc52xx_gpt_timer_period); | |||
526 | 526 | ||
527 | #define WDT_IDENTITY "mpc52xx watchdog on GPT0" | 527 | #define WDT_IDENTITY "mpc52xx watchdog on GPT0" |
528 | 528 | ||
529 | /* wdt_is_active stores wether or not the /dev/watchdog device is opened */ | 529 | /* wdt_is_active stores whether or not the /dev/watchdog device is opened */ |
530 | static unsigned long wdt_is_active; | 530 | static unsigned long wdt_is_active; |
531 | 531 | ||
532 | /* wdt-capable gpt */ | 532 | /* wdt-capable gpt */ |
diff --git a/arch/powerpc/platforms/cell/iommu.c b/arch/powerpc/platforms/cell/iommu.c index dca213666747..e56bb651da1a 100644 --- a/arch/powerpc/platforms/cell/iommu.c +++ b/arch/powerpc/platforms/cell/iommu.c | |||
@@ -728,7 +728,7 @@ static struct cbe_iommu * __init cell_iommu_alloc(struct device_node *np) | |||
728 | nid, np->full_name); | 728 | nid, np->full_name); |
729 | 729 | ||
730 | /* XXX todo: If we can have multiple windows on the same IOMMU, which | 730 | /* XXX todo: If we can have multiple windows on the same IOMMU, which |
731 | * isn't the case today, we probably want here to check wether the | 731 | * isn't the case today, we probably want here to check whether the |
732 | * iommu for that node is already setup. | 732 | * iommu for that node is already setup. |
733 | * However, there might be issue with getting the size right so let's | 733 | * However, there might be issue with getting the size right so let's |
734 | * ignore that for now. We might want to completely get rid of the | 734 | * ignore that for now. We might want to completely get rid of the |
diff --git a/arch/powerpc/platforms/cell/spider-pic.c b/arch/powerpc/platforms/cell/spider-pic.c index d8b7cc8a66ca..8e299447127e 100644 --- a/arch/powerpc/platforms/cell/spider-pic.c +++ b/arch/powerpc/platforms/cell/spider-pic.c | |||
@@ -148,7 +148,7 @@ static int spider_set_irq_type(struct irq_data *d, unsigned int type) | |||
148 | 148 | ||
149 | /* Configure the source. One gross hack that was there before and | 149 | /* Configure the source. One gross hack that was there before and |
150 | * that I've kept around is the priority to the BE which I set to | 150 | * that I've kept around is the priority to the BE which I set to |
151 | * be the same as the interrupt source number. I don't know wether | 151 | * be the same as the interrupt source number. I don't know whether |
152 | * that's supposed to make any kind of sense however, we'll have to | 152 | * that's supposed to make any kind of sense however, we'll have to |
153 | * decide that, but for now, I'm not changing the behaviour. | 153 | * decide that, but for now, I'm not changing the behaviour. |
154 | */ | 154 | */ |
@@ -220,7 +220,7 @@ static void spider_irq_cascade(unsigned int irq, struct irq_desc *desc) | |||
220 | /* For hooking up the cascace we have a problem. Our device-tree is | 220 | /* For hooking up the cascace we have a problem. Our device-tree is |
221 | * crap and we don't know on which BE iic interrupt we are hooked on at | 221 | * crap and we don't know on which BE iic interrupt we are hooked on at |
222 | * least not the "standard" way. We can reconstitute it based on two | 222 | * least not the "standard" way. We can reconstitute it based on two |
223 | * informations though: which BE node we are connected to and wether | 223 | * informations though: which BE node we are connected to and whether |
224 | * we are connected to IOIF0 or IOIF1. Right now, we really only care | 224 | * we are connected to IOIF0 or IOIF1. Right now, we really only care |
225 | * about the IBM cell blade and we know that its firmware gives us an | 225 | * about the IBM cell blade and we know that its firmware gives us an |
226 | * interrupt-map property which is pretty strange. | 226 | * interrupt-map property which is pretty strange. |
@@ -232,7 +232,7 @@ static unsigned int __init spider_find_cascade_and_node(struct spider_pic *pic) | |||
232 | int imaplen, intsize, unit; | 232 | int imaplen, intsize, unit; |
233 | struct device_node *iic; | 233 | struct device_node *iic; |
234 | 234 | ||
235 | /* First, we check wether we have a real "interrupts" in the device | 235 | /* First, we check whether we have a real "interrupts" in the device |
236 | * tree in case the device-tree is ever fixed | 236 | * tree in case the device-tree is ever fixed |
237 | */ | 237 | */ |
238 | struct of_irq oirq; | 238 | struct of_irq oirq; |
diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c index c4e630576ff2..31036b56670e 100644 --- a/arch/powerpc/platforms/powermac/pic.c +++ b/arch/powerpc/platforms/powermac/pic.c | |||
@@ -529,7 +529,7 @@ static int __init pmac_pic_probe_mpic(void) | |||
529 | void __init pmac_pic_init(void) | 529 | void __init pmac_pic_init(void) |
530 | { | 530 | { |
531 | /* We configure the OF parsing based on our oldworld vs. newworld | 531 | /* We configure the OF parsing based on our oldworld vs. newworld |
532 | * platform type and wether we were booted by BootX. | 532 | * platform type and whether we were booted by BootX. |
533 | */ | 533 | */ |
534 | #ifdef CONFIG_PPC32 | 534 | #ifdef CONFIG_PPC32 |
535 | if (!pmac_newworld) | 535 | if (!pmac_newworld) |
diff --git a/arch/sh/boards/board-espt.c b/arch/sh/boards/board-espt.c index 6cba0a7068bc..d71a0bcf8145 100644 --- a/arch/sh/boards/board-espt.c +++ b/arch/sh/boards/board-espt.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Data Technology Inc. ESPT-GIGA board suport | 2 | * Data Technology Inc. ESPT-GIGA board support |
3 | * | 3 | * |
4 | * Copyright (C) 2008, 2009 Renesas Solutions Corp. | 4 | * Copyright (C) 2008, 2009 Renesas Solutions Corp. |
5 | * Copyright (C) 2008, 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | 5 | * Copyright (C) 2008, 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
diff --git a/arch/x86/boot/.gitignore b/arch/x86/boot/.gitignore index 851fe936d242..e3cf9f682be5 100644 --- a/arch/x86/boot/.gitignore +++ b/arch/x86/boot/.gitignore | |||
@@ -2,7 +2,6 @@ bootsect | |||
2 | bzImage | 2 | bzImage |
3 | cpustr.h | 3 | cpustr.h |
4 | mkcpustr | 4 | mkcpustr |
5 | offsets.h | ||
6 | voffset.h | 5 | voffset.h |
7 | zoffset.h | 6 | zoffset.h |
8 | setup | 7 | setup |
diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index e4c1a4184531..726bf963c227 100644 --- a/arch/x86/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c | |||
@@ -606,7 +606,7 @@ void __init mtrr_bp_init(void) | |||
606 | 606 | ||
607 | /* | 607 | /* |
608 | * This is an AMD specific MSR, but we assume(hope?) that | 608 | * This is an AMD specific MSR, but we assume(hope?) that |
609 | * Intel will implement it to when they extend the address | 609 | * Intel will implement it too when they extend the address |
610 | * bus of the Xeon. | 610 | * bus of the Xeon. |
611 | */ | 611 | */ |
612 | if (cpuid_eax(0x80000000) >= 0x80000008) { | 612 | if (cpuid_eax(0x80000000) >= 0x80000008) { |
diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c index 8573b83a63d0..217eb705fac0 100644 --- a/arch/x86/mm/pgtable.c +++ b/arch/x86/mm/pgtable.c | |||
@@ -137,7 +137,7 @@ static void pgd_dtor(pgd_t *pgd) | |||
137 | * against pageattr.c; it is the unique case in which a valid change | 137 | * against pageattr.c; it is the unique case in which a valid change |
138 | * of kernel pagetables can't be lazily synchronized by vmalloc faults. | 138 | * of kernel pagetables can't be lazily synchronized by vmalloc faults. |
139 | * vmalloc faults work because attached pagetables are never freed. | 139 | * vmalloc faults work because attached pagetables are never freed. |
140 | * -- wli | 140 | * -- nyc |
141 | */ | 141 | */ |
142 | 142 | ||
143 | #ifdef CONFIG_X86_PAE | 143 | #ifdef CONFIG_X86_PAE |