aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-10-25 06:11:02 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-25 06:11:02 -0400
commit59e52534172d845ebffb0d7e85fc56fb7b857051 (patch)
tree49552e03f1bdb413cd8b5f7542e91770688d7047 /arch
parent73692d9bb58ecc2fa73f4b2bfcf6eadaa6d49a26 (diff)
parent0d89e54c8249645404283436d952afc261a04e1e (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (59 commits) MAINTAINERS: linux-m32r is moderated for non-subscribers linux@lists.openrisc.net is moderated for non-subscribers Drop default from "DM365 codec select" choice parisc: Kconfig: cleanup Kernel page size default Kconfig: remove redundant CONFIG_ prefix on two symbols cris: remove arch/cris/arch-v32/lib/nand_init.S microblaze: add missing CONFIG_ prefixes h8300: drop puzzling Kconfig dependencies MAINTAINERS: microblaze-uclinux@itee.uq.edu.au is moderated for non-subscribers tty: drop superfluous dependency in Kconfig ARM: mxc: fix Kconfig typo 'i.MX51' Fix file references in Kconfig files aic7xxx: fix Kconfig references to READMEs Fix file references in drivers/ide/ thinkpad_acpi: Fix printk typo 'bluestooth' bcmring: drop commented out line in Kconfig btmrvl_sdio: fix typo 'btmrvl_sdio_sd6888' doc: raw1394: Trivial typo fix CIFS: Don't free volume_info->UNC until we are entirely done with it. treewide: Correct spelling of successfully in comments ...
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/kernel/srm_env.c5
-rw-r--r--arch/arm/Kconfig2
-rw-r--r--arch/arm/include/asm/io.h2
-rw-r--r--arch/arm/mach-bcmring/Kconfig2
-rw-r--r--arch/arm/mach-bcmring/irq.c1
-rw-r--r--arch/arm/mach-bcmring/timer.c1
-rw-r--r--arch/arm/mach-nuc93x/time.c2
-rw-r--r--arch/arm/mach-omap2/smartreflex.c2
-rw-r--r--arch/arm/mach-pxa/xcep.c3
-rw-r--r--arch/arm/mach-w90x900/cpu.c2
-rw-r--r--arch/arm/plat-mxc/Kconfig2
-rw-r--r--arch/cris/Kconfig4
-rw-r--r--arch/cris/arch-v10/Kconfig12
-rw-r--r--arch/cris/arch-v32/lib/nand_init.S178
-rw-r--r--arch/h8300/Kconfig2
-rw-r--r--arch/ia64/hp/common/sba_iommu.c12
-rw-r--r--arch/m68k/q40/README2
-rw-r--r--arch/microblaze/include/asm/dma-mapping.h2
-rw-r--r--arch/microblaze/mm/init.c6
-rw-r--r--arch/mips/include/asm/lasat/lasat.h6
-rw-r--r--arch/mn10300/Kconfig2
-rw-r--r--arch/mn10300/kernel/irq.c1
-rw-r--r--arch/openrisc/Kconfig2
-rw-r--r--arch/openrisc/include/asm/dma-mapping.h2
-rw-r--r--arch/parisc/Kconfig4
-rw-r--r--arch/parisc/include/asm/dma-mapping.h2
-rw-r--r--arch/parisc/kernel/pci-dma.c2
-rw-r--r--arch/powerpc/include/asm/qe.h2
-rw-r--r--arch/powerpc/platforms/85xx/Kconfig2
-rw-r--r--arch/powerpc/platforms/embedded6xx/storcenter.c2
-rw-r--r--arch/powerpc/sysdev/qe_lib/qe.c2
-rw-r--r--arch/s390/hypfs/hypfs_diag.c3
-rw-r--r--arch/unicore32/include/asm/io.h2
-rw-r--r--arch/x86/Kconfig2
-rw-r--r--arch/x86/Kconfig.debug2
-rw-r--r--arch/x86/boot/header.S2
-rw-r--r--arch/x86/include/asm/dma-mapping.h2
-rw-r--r--arch/x86/kernel/amd_gart_64.c2
-rw-r--r--arch/x86/kernel/apm_32.c2
-rw-r--r--arch/x86/kernel/pci-dma.c4
-rw-r--r--arch/x86/kernel/process_32.c2
-rw-r--r--arch/x86/mm/mmio-mod.c1
42 files changed, 51 insertions, 244 deletions
diff --git a/arch/alpha/kernel/srm_env.c b/arch/alpha/kernel/srm_env.c
index f0df3fbd8402..b9fc6c309d2e 100644
--- a/arch/alpha/kernel/srm_env.c
+++ b/arch/alpha/kernel/srm_env.c
@@ -4,9 +4,8 @@
4 * 4 *
5 * (C) 2001,2002,2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de> 5 * (C) 2001,2002,2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de>
6 * 6 *
7 * This driver is at all a modified version of Erik Mouw's 7 * This driver is a modified version of Erik Mouw's example proc
8 * Documentation/DocBook/procfs_example.c, so: thank 8 * interface, so: thank you, Erik! He can be reached via email at
9 * you, Erik! He can be reached via email at
10 * <J.A.K.Mouw@its.tudelft.nl>. It is based on an idea 9 * <J.A.K.Mouw@its.tudelft.nl>. It is based on an idea
11 * provided by DEC^WCompaq^WIntel's "Jumpstart" CD. They 10 * provided by DEC^WCompaq^WIntel's "Jumpstart" CD. They
12 * included a patch like this as well. Thanks for idea! 11 * included a patch like this as well. Thanks for idea!
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 92e695412bd5..7536b9cbb072 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1394,7 +1394,7 @@ config SMP
1394 processor machines. On a single processor machine, the kernel will 1394 processor machines. On a single processor machine, the kernel will
1395 run faster if you say N here. 1395 run faster if you say N here.
1396 1396
1397 See also <file:Documentation/i386/IO-APIC.txt>, 1397 See also <file:Documentation/x86/i386/IO-APIC.txt>,
1398 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at 1398 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
1399 <http://tldp.org/HOWTO/SMP-HOWTO.html>. 1399 <http://tldp.org/HOWTO/SMP-HOWTO.html>.
1400 1400
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 769f65d918ac..065d100fa63e 100644
--- a/arch/arm/include/asm/io.h
+++ b/arch/arm/include/asm/io.h
@@ -260,7 +260,7 @@ extern void _memset_io(volatile void __iomem *, int, size_t);
260 * ioremap and friends. 260 * ioremap and friends.
261 * 261 *
262 * ioremap takes a PCI memory address, as specified in 262 * ioremap takes a PCI memory address, as specified in
263 * Documentation/IO-mapping.txt. 263 * Documentation/io-mapping.txt.
264 * 264 *
265 */ 265 */
266#ifndef __arch_ioremap 266#ifndef __arch_ioremap
diff --git a/arch/arm/mach-bcmring/Kconfig b/arch/arm/mach-bcmring/Kconfig
index 457b4384913e..9170d16dca50 100644
--- a/arch/arm/mach-bcmring/Kconfig
+++ b/arch/arm/mach-bcmring/Kconfig
@@ -17,5 +17,3 @@ config BCM_ZRELADDR
17 hex "Compressed ZREL ADDR" 17 hex "Compressed ZREL ADDR"
18 18
19endmenu 19endmenu
20
21# source "drivers/char/bcmring/Kconfig"
diff --git a/arch/arm/mach-bcmring/irq.c b/arch/arm/mach-bcmring/irq.c
index c48feaf4e8e9..437fa683bcb2 100644
--- a/arch/arm/mach-bcmring/irq.c
+++ b/arch/arm/mach-bcmring/irq.c
@@ -20,7 +20,6 @@
20#include <linux/stddef.h> 20#include <linux/stddef.h>
21#include <linux/list.h> 21#include <linux/list.h>
22#include <linux/timer.h> 22#include <linux/timer.h>
23#include <linux/version.h>
24#include <linux/io.h> 23#include <linux/io.h>
25 24
26#include <mach/hardware.h> 25#include <mach/hardware.h>
diff --git a/arch/arm/mach-bcmring/timer.c b/arch/arm/mach-bcmring/timer.c
index 2d415d2a8e68..af9c3d7e2a0c 100644
--- a/arch/arm/mach-bcmring/timer.c
+++ b/arch/arm/mach-bcmring/timer.c
@@ -12,7 +12,6 @@
12* consent. 12* consent.
13*****************************************************************************/ 13*****************************************************************************/
14 14
15#include <linux/version.h>
16#include <linux/types.h> 15#include <linux/types.h>
17#include <linux/module.h> 16#include <linux/module.h>
18#include <csp/tmrHw.h> 17#include <csp/tmrHw.h>
diff --git a/arch/arm/mach-nuc93x/time.c b/arch/arm/mach-nuc93x/time.c
index 2f90f9dc6e30..f9807c029ec5 100644
--- a/arch/arm/mach-nuc93x/time.c
+++ b/arch/arm/mach-nuc93x/time.c
@@ -82,7 +82,7 @@ static void nuc93x_timer_setup(void)
82 timer0_load = (rate / TICKS_PER_SEC); 82 timer0_load = (rate / TICKS_PER_SEC);
83 __raw_writel(timer0_load, REG_TICR0); 83 __raw_writel(timer0_load, REG_TICR0);
84 84
85 val |= (PERIOD | COUNTEN | INTEN | PRESCALE);; 85 val |= (PERIOD | COUNTEN | INTEN | PRESCALE);
86 __raw_writel(val, REG_TCSR0); 86 __raw_writel(val, REG_TCSR0);
87 87
88} 88}
diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c
index 34c01a7de810..f49804f181d4 100644
--- a/arch/arm/mach-omap2/smartreflex.c
+++ b/arch/arm/mach-omap2/smartreflex.c
@@ -247,7 +247,7 @@ static void sr_stop_vddautocomp(struct omap_sr *sr)
247 * driver register and sr device intializtion API's. Only one call 247 * driver register and sr device intializtion API's. Only one call
248 * will ultimately succeed. 248 * will ultimately succeed.
249 * 249 *
250 * Currently this function registers interrrupt handler for a particular SR 250 * Currently this function registers interrupt handler for a particular SR
251 * if smartreflex class driver is already registered and has 251 * if smartreflex class driver is already registered and has
252 * requested for interrupts and the SR interrupt line in present. 252 * requested for interrupts and the SR interrupt line in present.
253 */ 253 */
diff --git a/arch/arm/mach-pxa/xcep.c b/arch/arm/mach-pxa/xcep.c
index acc600f5e72f..937c42845df9 100644
--- a/arch/arm/mach-pxa/xcep.c
+++ b/arch/arm/mach-pxa/xcep.c
@@ -142,8 +142,7 @@ static struct platform_device *devices[] __initdata = {
142 142
143/* We have to state that there are HWMON devices on the I2C bus on XCEP. 143/* We have to state that there are HWMON devices on the I2C bus on XCEP.
144 * Drivers for HWMON verify capabilities of the adapter when loading and 144 * Drivers for HWMON verify capabilities of the adapter when loading and
145 * refuse to attach if the adapter doesn't support HWMON class of devices. 145 * refuse to attach if the adapter doesn't support HWMON class of devices. */
146 * See also Documentation/i2c/porting-clients. */
147static struct i2c_pxa_platform_data xcep_i2c_platform_data = { 146static struct i2c_pxa_platform_data xcep_i2c_platform_data = {
148 .class = I2C_CLASS_HWMON 147 .class = I2C_CLASS_HWMON
149}; 148};
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
index 83c56324a472..0a235e502330 100644
--- a/arch/arm/mach-w90x900/cpu.c
+++ b/arch/arm/mach-w90x900/cpu.c
@@ -60,7 +60,7 @@ static DEFINE_CLK(emc, 7);
60static DEFINE_SUBCLK(rmii, 2); 60static DEFINE_SUBCLK(rmii, 2);
61static DEFINE_CLK(usbd, 8); 61static DEFINE_CLK(usbd, 8);
62static DEFINE_CLK(usbh, 9); 62static DEFINE_CLK(usbh, 9);
63static DEFINE_CLK(g2d, 10);; 63static DEFINE_CLK(g2d, 10);
64static DEFINE_CLK(pwm, 18); 64static DEFINE_CLK(pwm, 18);
65static DEFINE_CLK(ps2, 24); 65static DEFINE_CLK(ps2, 24);
66static DEFINE_CLK(kpi, 25); 66static DEFINE_CLK(kpi, 25);
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig
index a5353fc0793f..4c8fdbcc9467 100644
--- a/arch/arm/plat-mxc/Kconfig
+++ b/arch/arm/plat-mxc/Kconfig
@@ -39,7 +39,7 @@ config ARCH_MX503
39 select ARCH_MX50_SUPPORTED 39 select ARCH_MX50_SUPPORTED
40 select ARCH_MX53_SUPPORTED 40 select ARCH_MX53_SUPPORTED
41 help 41 help
42 This enables support for machines using Freescale's i.MX50 and i.MX51 42 This enables support for machines using Freescale's i.MX50 and i.MX53
43 processors. 43 processors.
44 44
45config ARCH_MX51 45config ARCH_MX51
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index 17addacb169e..408b055c585f 100644
--- a/arch/cris/Kconfig
+++ b/arch/cris/Kconfig
@@ -282,8 +282,8 @@ config ETRAX_RTC
282 Enables drivers for the Real-Time Clock battery-backed chips on 282 Enables drivers for the Real-Time Clock battery-backed chips on
283 some products. The kernel reads the time when booting, and 283 some products. The kernel reads the time when booting, and
284 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a 284 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
285 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc 285 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
286 device. You can check the time with cat /proc/rtc, but 286 /dev/rtc device. You can check the time with cat /proc/rtc, but
287 normal time reading should be done using libc function time and 287 normal time reading should be done using libc function time and
288 friends. 288 friends.
289 289
diff --git a/arch/cris/arch-v10/Kconfig b/arch/cris/arch-v10/Kconfig
index adc164e99339..df9a38b4f18f 100644
--- a/arch/cris/arch-v10/Kconfig
+++ b/arch/cris/arch-v10/Kconfig
@@ -24,8 +24,8 @@ config ETRAX_PA_LEDS
24 help 24 help
25 The ETRAX network driver is responsible for flashing LED's when 25 The ETRAX network driver is responsible for flashing LED's when
26 packets arrive and are sent. It uses macros defined in 26 packets arrive and are sent. It uses macros defined in
27 <file:include/asm-cris/io.h>, and those macros are defined after what 27 <file:arch/cris/include/asm/io.h>, and those macros are defined after
28 YOU choose in this option. The actual bits used are configured 28 what YOU choose in this option. The actual bits used are configured
29 separately. Select this if the LEDs are on port PA. Some products 29 separately. Select this if the LEDs are on port PA. Some products
30 put the leds on PB or a memory-mapped latch (CSP0) instead. 30 put the leds on PB or a memory-mapped latch (CSP0) instead.
31 31
@@ -34,8 +34,8 @@ config ETRAX_PB_LEDS
34 help 34 help
35 The ETRAX network driver is responsible for flashing LED's when 35 The ETRAX network driver is responsible for flashing LED's when
36 packets arrive and are sent. It uses macros defined in 36 packets arrive and are sent. It uses macros defined in
37 <file:include/asm-cris/io.h>, and those macros are defined after what 37 <file:arch/cris/include/asm/io.h>, and those macros are defined after
38 YOU choose in this option. The actual bits used are configured 38 what YOU choose in this option. The actual bits used are configured
39 separately. Select this if the LEDs are on port PB. Some products 39 separately. Select this if the LEDs are on port PB. Some products
40 put the leds on PA or a memory-mapped latch (CSP0) instead. 40 put the leds on PA or a memory-mapped latch (CSP0) instead.
41 41
@@ -44,8 +44,8 @@ config ETRAX_CSP0_LEDS
44 help 44 help
45 The ETRAX network driver is responsible for flashing LED's when 45 The ETRAX network driver is responsible for flashing LED's when
46 packets arrive and are sent. It uses macros defined in 46 packets arrive and are sent. It uses macros defined in
47 <file:include/asm-cris/io.h>, and those macros are defined after what 47 <file:arch/cris/include/asm/io.h>, and those macros are defined after
48 YOU choose in this option. The actual bits used are configured 48 what YOU choose in this option. The actual bits used are configured
49 separately. Select this if the LEDs are on a memory-mapped latch 49 separately. Select this if the LEDs are on a memory-mapped latch
50 using chip select CSP0, this is mapped at 0x90000000. 50 using chip select CSP0, this is mapped at 0x90000000.
51 Some products put the leds on PA or PB instead. 51 Some products put the leds on PA or PB instead.
diff --git a/arch/cris/arch-v32/lib/nand_init.S b/arch/cris/arch-v32/lib/nand_init.S
deleted file mode 100644
index d671fed451c9..000000000000
--- a/arch/cris/arch-v32/lib/nand_init.S
+++ /dev/null
@@ -1,178 +0,0 @@
1##=============================================================================
2##
3## nand_init.S
4##
5## The bootrom copies data from the NAND flash to the internal RAM but
6## due to a bug/feature we can only trust the 256 first bytes. So this
7## code copies more data from NAND flash to internal RAM. Obvioulsy this
8## code must fit in the first 256 bytes so alter with care.
9##
10## Some notes about the bug/feature for future reference:
11## The bootrom copies the first 127 KB from NAND flash to internal
12## memory. The problem is that it does a bytewise copy. NAND flashes
13## does autoincrement on the address so for a 16-bite device each
14## read/write increases the address by two. So the copy loop in the
15## bootrom will discard every second byte. This is solved by inserting
16## zeroes in every second byte in the first erase block.
17##
18## The bootrom also incorrectly assumes that it can read the flash
19## linear with only one read command but the flash will actually
20## switch between normal area and spare area if you do that so we
21## can't trust more than the first 256 bytes.
22##
23##=============================================================================
24
25#include <arch/hwregs/asm/reg_map_asm.h>
26#include <arch/hwregs/asm/gio_defs_asm.h>
27#include <arch/hwregs/asm/pinmux_defs_asm.h>
28#include <arch/hwregs/asm/bif_core_defs_asm.h>
29#include <arch/hwregs/asm/config_defs_asm.h>
30
31;; There are 8-bit NAND flashes and 16-bit NAND flashes.
32;; We need to treat them slightly different.
33#if CONFIG_ETRAX_FLASH_BUSWIDTH==2
34#define PAGE_SIZE 256
35#else
36#error 2
37#define PAGE_SIZE 512
38#endif
39#define ERASE_BLOCK 16384
40
41;; GPIO pins connected to NAND flash
42#define CE 4
43#define CLE 5
44#define ALE 6
45#define BY 7
46
47;; Address space for NAND flash
48#define NAND_RD_ADDR 0x90000000
49#define NAND_WR_ADDR 0x94000000
50
51#define READ_CMD 0x00
52
53;; Readability macros
54#define CSP_MASK \
55 REG_MASK(bif_core, rw_grp3_cfg, gated_csp0) | \
56 REG_MASK(bif_core, rw_grp3_cfg, gated_csp1)
57#define CSP_VAL \
58 REG_STATE(bif_core, rw_grp3_cfg, gated_csp0, rd) | \
59 REG_STATE(bif_core, rw_grp3_cfg, gated_csp1, wr)
60
61;;----------------------------------------------------------------------------
62;; Macros to set/clear GPIO bits
63
64.macro SET x
65 or.b (1<<\x),$r9
66 move.d $r9, [$r2]
67.endm
68
69.macro CLR x
70 and.b ~(1<<\x),$r9
71 move.d $r9, [$r2]
72.endm
73
74;;----------------------------------------------------------------------------
75
76nand_boot:
77 ;; Check if nand boot was selected
78 move.d REG_ADDR(config, regi_config, r_bootsel), $r0
79 move.d [$r0], $r0
80 and.d REG_MASK(config, r_bootsel, boot_mode), $r0
81 cmp.d REG_STATE(config, r_bootsel, boot_mode, nand), $r0
82 bne normal_boot ; No NAND boot
83 nop
84
85copy_nand_to_ram:
86 ;; copy_nand_to_ram
87 ;; Arguments
88 ;; r10 - destination
89 ;; r11 - source offset
90 ;; r12 - size
91 ;; r13 - Address to jump to after completion
92 ;; Note : r10-r12 are clobbered on return
93 ;; Registers used:
94 ;; r0 - NAND_RD_ADDR
95 ;; r1 - NAND_WR_ADDR
96 ;; r2 - reg_gio_rw_pa_dout
97 ;; r3 - reg_gio_r_pa_din
98 ;; r4 - tmp
99 ;; r5 - byte counter within a page
100 ;; r6 - reg_pinmux_rw_pa
101 ;; r7 - reg_gio_rw_pa_oe
102 ;; r8 - reg_bif_core_rw_grp3_cfg
103 ;; r9 - reg_gio_rw_pa_dout shadow
104 move.d 0x90000000, $r0
105 move.d 0x94000000, $r1
106 move.d REG_ADDR(gio, regi_gio, rw_pa_dout), $r2
107 move.d REG_ADDR(gio, regi_gio, r_pa_din), $r3
108 move.d REG_ADDR(pinmux, regi_pinmux, rw_pa), $r6
109 move.d REG_ADDR(gio, regi_gio, rw_pa_oe), $r7
110 move.d REG_ADDR(bif_core, regi_bif_core, rw_grp3_cfg), $r8
111
112#if CONFIG_ETRAX_FLASH_BUSWIDTH==2
113 lsrq 1, $r11
114#endif
115 ;; Set up GPIO
116 move.d [$r2], $r9
117 move.d [$r7], $r4
118 or.b (1<<ALE) | (1 << CLE) | (1<<CE), $r4
119 move.d $r4, [$r7]
120
121 ;; Set up bif
122 move.d [$r8], $r4
123 and.d CSP_MASK, $r4
124 or.d CSP_VAL, $r4
125 move.d $r4, [$r8]
126
1271: ;; Copy one page
128 CLR CE
129 SET CLE
130 moveq READ_CMD, $r4
131 move.b $r4, [$r1]
132 moveq 20, $r4
1332: bne 2b
134 subq 1, $r4
135 CLR CLE
136 SET ALE
137 clear.w [$r1] ; Column address = 0
138 move.d $r11, $r4
139 lsrq 8, $r4
140 move.b $r4, [$r1] ; Row address
141 lsrq 8, $r4
142 move.b $r4, [$r1] ; Row address
143 moveq 20, $r4
1442: bne 2b
145 subq 1, $r4
146 CLR ALE
1472: move.d [$r3], $r4
148 and.d 1 << BY, $r4
149 beq 2b
150 movu.w PAGE_SIZE, $r5
1512: ; Copy one byte/word
152#if CONFIG_ETRAX_FLASH_BUSWIDTH==2
153 move.w [$r0], $r4
154#else
155 move.b [$r0], $r4
156#endif
157 subq 1, $r5
158 bne 2b
159#if CONFIG_ETRAX_FLASH_BUSWIDTH==2
160 move.w $r4, [$r10+]
161 subu.w PAGE_SIZE*2, $r12
162#else
163 move.b $r4, [$r10+]
164 subu.w PAGE_SIZE, $r12
165#endif
166 bpl 1b
167 addu.w PAGE_SIZE, $r11
168
169 ;; End of copy
170 jump $r13
171 nop
172
173 ;; This will warn if the code above is too large. If you consider
174 ;; to remove this you don't understand the bug/feature.
175 .org 256
176 .org ERASE_BLOCK
177
178normal_boot:
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig
index 091ed6192ae8..7ed7714573c8 100644
--- a/arch/h8300/Kconfig
+++ b/arch/h8300/Kconfig
@@ -160,7 +160,7 @@ config VT_CONSOLE
160 160
161config HW_CONSOLE 161config HW_CONSOLE
162 bool 162 bool
163 depends on VT && !S390 && !UM 163 depends on VT
164 default y 164 default y
165 165
166comment "Unix98 PTY support" 166comment "Unix98 PTY support"
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c
index 80241fe03f50..f5f4ef149aac 100644
--- a/arch/ia64/hp/common/sba_iommu.c
+++ b/arch/ia64/hp/common/sba_iommu.c
@@ -915,7 +915,7 @@ sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt)
915 * @dir: R/W or both. 915 * @dir: R/W or both.
916 * @attrs: optional dma attributes 916 * @attrs: optional dma attributes
917 * 917 *
918 * See Documentation/PCI/PCI-DMA-mapping.txt 918 * See Documentation/DMA-API-HOWTO.txt
919 */ 919 */
920static dma_addr_t sba_map_page(struct device *dev, struct page *page, 920static dma_addr_t sba_map_page(struct device *dev, struct page *page,
921 unsigned long poff, size_t size, 921 unsigned long poff, size_t size,
@@ -1044,7 +1044,7 @@ sba_mark_clean(struct ioc *ioc, dma_addr_t iova, size_t size)
1044 * @dir: R/W or both. 1044 * @dir: R/W or both.
1045 * @attrs: optional dma attributes 1045 * @attrs: optional dma attributes
1046 * 1046 *
1047 * See Documentation/PCI/PCI-DMA-mapping.txt 1047 * See Documentation/DMA-API-HOWTO.txt
1048 */ 1048 */
1049static void sba_unmap_page(struct device *dev, dma_addr_t iova, size_t size, 1049static void sba_unmap_page(struct device *dev, dma_addr_t iova, size_t size,
1050 enum dma_data_direction dir, struct dma_attrs *attrs) 1050 enum dma_data_direction dir, struct dma_attrs *attrs)
@@ -1127,7 +1127,7 @@ void sba_unmap_single_attrs(struct device *dev, dma_addr_t iova, size_t size,
1127 * @size: number of bytes mapped in driver buffer. 1127 * @size: number of bytes mapped in driver buffer.
1128 * @dma_handle: IOVA of new buffer. 1128 * @dma_handle: IOVA of new buffer.
1129 * 1129 *
1130 * See Documentation/PCI/PCI-DMA-mapping.txt 1130 * See Documentation/DMA-API-HOWTO.txt
1131 */ 1131 */
1132static void * 1132static void *
1133sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flags) 1133sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flags)
@@ -1190,7 +1190,7 @@ sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp
1190 * @vaddr: virtual address IOVA of "consistent" buffer. 1190 * @vaddr: virtual address IOVA of "consistent" buffer.
1191 * @dma_handler: IO virtual address of "consistent" buffer. 1191 * @dma_handler: IO virtual address of "consistent" buffer.
1192 * 1192 *
1193 * See Documentation/PCI/PCI-DMA-mapping.txt 1193 * See Documentation/DMA-API-HOWTO.txt
1194 */ 1194 */
1195static void sba_free_coherent (struct device *dev, size_t size, void *vaddr, 1195static void sba_free_coherent (struct device *dev, size_t size, void *vaddr,
1196 dma_addr_t dma_handle) 1196 dma_addr_t dma_handle)
@@ -1453,7 +1453,7 @@ static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist,
1453 * @dir: R/W or both. 1453 * @dir: R/W or both.
1454 * @attrs: optional dma attributes 1454 * @attrs: optional dma attributes
1455 * 1455 *
1456 * See Documentation/PCI/PCI-DMA-mapping.txt 1456 * See Documentation/DMA-API-HOWTO.txt
1457 */ 1457 */
1458static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist, 1458static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist,
1459 int nents, enum dma_data_direction dir, 1459 int nents, enum dma_data_direction dir,
@@ -1549,7 +1549,7 @@ static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist,
1549 * @dir: R/W or both. 1549 * @dir: R/W or both.
1550 * @attrs: optional dma attributes 1550 * @attrs: optional dma attributes
1551 * 1551 *
1552 * See Documentation/PCI/PCI-DMA-mapping.txt 1552 * See Documentation/DMA-API-HOWTO.txt
1553 */ 1553 */
1554static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist, 1554static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist,
1555 int nents, enum dma_data_direction dir, 1555 int nents, enum dma_data_direction dir,
diff --git a/arch/m68k/q40/README b/arch/m68k/q40/README
index b26d5f55e91d..93f4c4cd3c45 100644
--- a/arch/m68k/q40/README
+++ b/arch/m68k/q40/README
@@ -31,7 +31,7 @@ drivers used by the Q40, apart from the very obvious (console etc.):
31 char/joystick/* # most of this should work, not 31 char/joystick/* # most of this should work, not
32 # in default config.in 32 # in default config.in
33 block/q40ide.c # startup for ide 33 block/q40ide.c # startup for ide
34 ide* # see Documentation/ide.txt 34 ide* # see Documentation/ide/ide.txt
35 floppy.c # normal PC driver, DMA emu in asm/floppy.h 35 floppy.c # normal PC driver, DMA emu in asm/floppy.h
36 # and arch/m68k/kernel/entry.S 36 # and arch/m68k/kernel/entry.S
37 # see drivers/block/README.fd 37 # see drivers/block/README.fd
diff --git a/arch/microblaze/include/asm/dma-mapping.h b/arch/microblaze/include/asm/dma-mapping.h
index 8fbb0ec10233..a569514cf19f 100644
--- a/arch/microblaze/include/asm/dma-mapping.h
+++ b/arch/microblaze/include/asm/dma-mapping.h
@@ -16,7 +16,7 @@
16#define _ASM_MICROBLAZE_DMA_MAPPING_H 16#define _ASM_MICROBLAZE_DMA_MAPPING_H
17 17
18/* 18/*
19 * See Documentation/PCI/PCI-DMA-mapping.txt and 19 * See Documentation/DMA-API-HOWTO.txt and
20 * Documentation/DMA-API.txt for documentation. 20 * Documentation/DMA-API.txt for documentation.
21 */ 21 */
22 22
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index 213f2d671669..36a133e5ee35 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -304,11 +304,11 @@ asmlinkage void __init mmu_init(void)
304 /* Map in all of RAM starting at CONFIG_KERNEL_START */ 304 /* Map in all of RAM starting at CONFIG_KERNEL_START */
305 mapin_ram(); 305 mapin_ram();
306 306
307#ifdef HIGHMEM_START_BOOL 307#ifdef CONFIG_HIGHMEM_START_BOOL
308 ioremap_base = HIGHMEM_START; 308 ioremap_base = CONFIG_HIGHMEM_START;
309#else 309#else
310 ioremap_base = 0xfe000000UL; /* for now, could be 0xfffff000 */ 310 ioremap_base = 0xfe000000UL; /* for now, could be 0xfffff000 */
311#endif /* CONFIG_HIGHMEM */ 311#endif /* CONFIG_HIGHMEM_START_BOOL */
312 ioremap_bot = ioremap_base; 312 ioremap_bot = ioremap_base;
313 313
314 /* Initialize the context management stuff */ 314 /* Initialize the context management stuff */
diff --git a/arch/mips/include/asm/lasat/lasat.h b/arch/mips/include/asm/lasat/lasat.h
index a1ada1c27c16..e8ff70f80e13 100644
--- a/arch/mips/include/asm/lasat/lasat.h
+++ b/arch/mips/include/asm/lasat/lasat.h
@@ -41,10 +41,8 @@ enum lasat_mtdparts {
41 41
42/* 42/*
43 * The format of the data record in the EEPROM. 43 * The format of the data record in the EEPROM.
44 * See Documentation/LASAT/eeprom.txt for a detailed description 44 * See the LASAT Hardware Configuration field specification for a detailed
45 * of the fields in this struct, and the LASAT Hardware Configuration 45 * description of the config field.
46 * field specification for a detailed description of the config
47 * field.
48 */ 46 */
49#include <linux/types.h> 47#include <linux/types.h>
50 48
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig
index 1f870340ebdd..f093b3a8a4a1 100644
--- a/arch/mn10300/Kconfig
+++ b/arch/mn10300/Kconfig
@@ -195,7 +195,7 @@ config SMP
195 singleprocessor machines. On a singleprocessor machine, the kernel 195 singleprocessor machines. On a singleprocessor machine, the kernel
196 will run faster if you say N here. 196 will run faster if you say N here.
197 197
198 See also <file:Documentation/i386/IO-APIC.txt>, 198 See also <file:Documentation/x86/i386/IO-APIC.txt>,
199 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at 199 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
200 <http://www.tldp.org/docs.html#howto>. 200 <http://www.tldp.org/docs.html#howto>.
201 201
diff --git a/arch/mn10300/kernel/irq.c b/arch/mn10300/kernel/irq.c
index 2623d19f4f4c..2381df83bd00 100644
--- a/arch/mn10300/kernel/irq.c
+++ b/arch/mn10300/kernel/irq.c
@@ -260,7 +260,6 @@ void set_intr_level(int irq, u16 level)
260/* 260/*
261 * mark an interrupt to be ACK'd after interrupt handlers have been run rather 261 * mark an interrupt to be ACK'd after interrupt handlers have been run rather
262 * than before 262 * than before
263 * - see Documentation/mn10300/features.txt
264 */ 263 */
265void mn10300_set_lateack_irq_type(int irq) 264void mn10300_set_lateack_irq_type(int irq)
266{ 265{
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index 4558bafbd1a2..9460e1c266dd 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -1,6 +1,6 @@
1# 1#
2# For a description of the syntax of this configuration file, 2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/config-language.txt. 3# see Documentation/kbuild/kconfig-language.txt.
4# 4#
5 5
6config OPENRISC 6config OPENRISC
diff --git a/arch/openrisc/include/asm/dma-mapping.h b/arch/openrisc/include/asm/dma-mapping.h
index 60b472233900..b206ba4608b2 100644
--- a/arch/openrisc/include/asm/dma-mapping.h
+++ b/arch/openrisc/include/asm/dma-mapping.h
@@ -18,7 +18,7 @@
18#define __ASM_OPENRISC_DMA_MAPPING_H 18#define __ASM_OPENRISC_DMA_MAPPING_H
19 19
20/* 20/*
21 * See Documentation/PCI/PCI-DMA-mapping.txt and 21 * See Documentation/DMA-API-HOWTO.txt and
22 * Documentation/DMA-API.txt for documentation. 22 * Documentation/DMA-API.txt for documentation.
23 * 23 *
24 * This file is written with the intention of eventually moving over 24 * This file is written with the intention of eventually moving over
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index e077b0bf56ca..fdfd8be29e95 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
@@ -169,9 +169,7 @@ config 64BIT
169 169
170choice 170choice
171 prompt "Kernel page size" 171 prompt "Kernel page size"
172 default PARISC_PAGE_SIZE_4KB if !64BIT 172 default PARISC_PAGE_SIZE_4KB
173 default PARISC_PAGE_SIZE_4KB if 64BIT
174# default PARISC_PAGE_SIZE_16KB if 64BIT
175 173
176config PARISC_PAGE_SIZE_4KB 174config PARISC_PAGE_SIZE_4KB
177 bool "4KB" 175 bool "4KB"
diff --git a/arch/parisc/include/asm/dma-mapping.h b/arch/parisc/include/asm/dma-mapping.h
index 890531e32fe8..467bbd510eac 100644
--- a/arch/parisc/include/asm/dma-mapping.h
+++ b/arch/parisc/include/asm/dma-mapping.h
@@ -5,7 +5,7 @@
5#include <asm/cacheflush.h> 5#include <asm/cacheflush.h>
6#include <asm/scatterlist.h> 6#include <asm/scatterlist.h>
7 7
8/* See Documentation/PCI/PCI-DMA-mapping.txt */ 8/* See Documentation/DMA-API-HOWTO.txt */
9struct hppa_dma_ops { 9struct hppa_dma_ops {
10 int (*dma_supported)(struct device *dev, u64 mask); 10 int (*dma_supported)(struct device *dev, u64 mask);
11 void *(*alloc_consistent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag); 11 void *(*alloc_consistent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag);
diff --git a/arch/parisc/kernel/pci-dma.c b/arch/parisc/kernel/pci-dma.c
index a029f74a3c5c..d047edea2504 100644
--- a/arch/parisc/kernel/pci-dma.c
+++ b/arch/parisc/kernel/pci-dma.c
@@ -2,7 +2,7 @@
2** PARISC 1.1 Dynamic DMA mapping support. 2** PARISC 1.1 Dynamic DMA mapping support.
3** This implementation is for PA-RISC platforms that do not support 3** This implementation is for PA-RISC platforms that do not support
4** I/O TLBs (aka DMA address translation hardware). 4** I/O TLBs (aka DMA address translation hardware).
5** See Documentation/PCI/PCI-DMA-mapping.txt for interface definitions. 5** See Documentation/DMA-API-HOWTO.txt for interface definitions.
6** 6**
7** (c) Copyright 1999,2000 Hewlett-Packard Company 7** (c) Copyright 1999,2000 Hewlett-Packard Company
8** (c) Copyright 2000 Grant Grundler 8** (c) Copyright 2000 Grant Grundler
diff --git a/arch/powerpc/include/asm/qe.h b/arch/powerpc/include/asm/qe.h
index 0947b36e534c..5e0b6d511e14 100644
--- a/arch/powerpc/include/asm/qe.h
+++ b/arch/powerpc/include/asm/qe.h
@@ -196,7 +196,7 @@ static inline int qe_alive_during_sleep(void)
196 196
197/* Structure that defines QE firmware binary files. 197/* Structure that defines QE firmware binary files.
198 * 198 *
199 * See Documentation/powerpc/qe-firmware.txt for a description of these 199 * See Documentation/powerpc/qe_firmware.txt for a description of these
200 * fields. 200 * fields.
201 */ 201 */
202struct qe_firmware { 202struct qe_firmware {
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
index 498534cd5265..12f5932dadc9 100644
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -80,7 +80,7 @@ config P1010_RDB
80config P1022_DS 80config P1022_DS
81 bool "Freescale P1022 DS" 81 bool "Freescale P1022 DS"
82 select DEFAULT_UIMAGE 82 select DEFAULT_UIMAGE
83 select CONFIG_PHYS_64BIT # The DTS has 36-bit addresses 83 select PHYS_64BIT # The DTS has 36-bit addresses
84 select SWIOTLB 84 select SWIOTLB
85 help 85 help
86 This option enables support for the Freescale P1022DS reference board. 86 This option enables support for the Freescale P1022DS reference board.
diff --git a/arch/powerpc/platforms/embedded6xx/storcenter.c b/arch/powerpc/platforms/embedded6xx/storcenter.c
index 613070e9ddbe..f1eebcae9bf0 100644
--- a/arch/powerpc/platforms/embedded6xx/storcenter.c
+++ b/arch/powerpc/platforms/embedded6xx/storcenter.c
@@ -77,7 +77,7 @@ static void __init storcenter_setup_arch(void)
77} 77}
78 78
79/* 79/*
80 * Interrupt setup and service. Interrrupts on the turbostation come 80 * Interrupt setup and service. Interrupts on the turbostation come
81 * from the four PCI slots plus onboard 8241 devices: I2C, DUART. 81 * from the four PCI slots plus onboard 8241 devices: I2C, DUART.
82 */ 82 */
83static void __init storcenter_init_IRQ(void) 83static void __init storcenter_init_IRQ(void)
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c
index 904c6cbaf45b..3363fbc964f8 100644
--- a/arch/powerpc/sysdev/qe_lib/qe.c
+++ b/arch/powerpc/sysdev/qe_lib/qe.c
@@ -382,7 +382,7 @@ static void qe_upload_microcode(const void *base,
382/* 382/*
383 * Upload a microcode to the I-RAM at a specific address. 383 * Upload a microcode to the I-RAM at a specific address.
384 * 384 *
385 * See Documentation/powerpc/qe-firmware.txt for information on QE microcode 385 * See Documentation/powerpc/qe_firmware.txt for information on QE microcode
386 * uploading. 386 * uploading.
387 * 387 *
388 * Currently, only version 1 is supported, so the 'version' field must be 388 * Currently, only version 1 is supported, so the 'version' field must be
diff --git a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c
index 6023c6dc1fb7..74c8f5e76ce4 100644
--- a/arch/s390/hypfs/hypfs_diag.c
+++ b/arch/s390/hypfs/hypfs_diag.c
@@ -562,10 +562,9 @@ static int dbfs_d204_create(void **data, void **data_free_ptr, size_t *size)
562 void *base; 562 void *base;
563 563
564 buf_size = PAGE_SIZE * (diag204_buf_pages + 1) + sizeof(d204->hdr); 564 buf_size = PAGE_SIZE * (diag204_buf_pages + 1) + sizeof(d204->hdr);
565 base = vmalloc(buf_size); 565 base = vzalloc(buf_size);
566 if (!base) 566 if (!base)
567 return -ENOMEM; 567 return -ENOMEM;
568 memset(base, 0, buf_size);
569 d204 = page_align_ptr(base + sizeof(d204->hdr)) - sizeof(d204->hdr); 568 d204 = page_align_ptr(base + sizeof(d204->hdr)) - sizeof(d204->hdr);
570 rc = diag204_do_store(d204->buf, diag204_buf_pages); 569 rc = diag204_do_store(d204->buf, diag204_buf_pages);
571 if (rc) { 570 if (rc) {
diff --git a/arch/unicore32/include/asm/io.h b/arch/unicore32/include/asm/io.h
index 4bd87f3d13d4..1a5c5a5eb39c 100644
--- a/arch/unicore32/include/asm/io.h
+++ b/arch/unicore32/include/asm/io.h
@@ -32,7 +32,7 @@ extern void __uc32_iounmap(volatile void __iomem *addr);
32 * ioremap and friends. 32 * ioremap and friends.
33 * 33 *
34 * ioremap takes a PCI memory address, as specified in 34 * ioremap takes a PCI memory address, as specified in
35 * Documentation/IO-mapping.txt. 35 * Documentation/io-mapping.txt.
36 * 36 *
37 */ 37 */
38#define ioremap(cookie, size) __uc32_ioremap(cookie, size) 38#define ioremap(cookie, size) __uc32_ioremap(cookie, size)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 6a47bb22657f..9a4a267a8a55 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -279,7 +279,7 @@ config SMP
279 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power 279 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
280 Management" code will be disabled if you say Y here. 280 Management" code will be disabled if you say Y here.
281 281
282 See also <file:Documentation/i386/IO-APIC.txt>, 282 See also <file:Documentation/x86/i386/IO-APIC.txt>,
283 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at 283 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
284 <http://www.tldp.org/docs.html#howto>. 284 <http://www.tldp.org/docs.html#howto>.
285 285
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index c0f8a5c88910..bf56e1793272 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -139,7 +139,7 @@ config IOMMU_DEBUG
139 code. When you use it make sure you have a big enough 139 code. When you use it make sure you have a big enough
140 IOMMU/AGP aperture. Most of the options enabled by this can 140 IOMMU/AGP aperture. Most of the options enabled by this can
141 be set more finegrained using the iommu= command line 141 be set more finegrained using the iommu= command line
142 options. See Documentation/x86_64/boot-options.txt for more 142 options. See Documentation/x86/x86_64/boot-options.txt for more
143 details. 143 details.
144 144
145config IOMMU_STRESS 145config IOMMU_STRESS
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S
index 93e689f4bd86..bdb4d458ec8c 100644
--- a/arch/x86/boot/header.S
+++ b/arch/x86/boot/header.S
@@ -129,7 +129,7 @@ start_sys_seg: .word SYSSEG # obsolete and meaningless, but just
129 129
130type_of_loader: .byte 0 # 0 means ancient bootloader, newer 130type_of_loader: .byte 0 # 0 means ancient bootloader, newer
131 # bootloaders know to change this. 131 # bootloaders know to change this.
132 # See Documentation/i386/boot.txt for 132 # See Documentation/x86/boot.txt for
133 # assigned ids 133 # assigned ids
134 134
135# flags, unused bits must be zero (RFU) bit within loadflags 135# flags, unused bits must be zero (RFU) bit within loadflags
diff --git a/arch/x86/include/asm/dma-mapping.h b/arch/x86/include/asm/dma-mapping.h
index d4c419f883a0..ed3065fd6314 100644
--- a/arch/x86/include/asm/dma-mapping.h
+++ b/arch/x86/include/asm/dma-mapping.h
@@ -2,7 +2,7 @@
2#define _ASM_X86_DMA_MAPPING_H 2#define _ASM_X86_DMA_MAPPING_H
3 3
4/* 4/*
5 * IOMMU interface. See Documentation/PCI/PCI-DMA-mapping.txt and 5 * IOMMU interface. See Documentation/DMA-API-HOWTO.txt and
6 * Documentation/DMA-API.txt for documentation. 6 * Documentation/DMA-API.txt for documentation.
7 */ 7 */
8 8
diff --git a/arch/x86/kernel/amd_gart_64.c b/arch/x86/kernel/amd_gart_64.c
index 8a439d364b94..b1e7c7f7a0af 100644
--- a/arch/x86/kernel/amd_gart_64.c
+++ b/arch/x86/kernel/amd_gart_64.c
@@ -5,7 +5,7 @@
5 * This allows to use PCI devices that only support 32bit addresses on systems 5 * This allows to use PCI devices that only support 32bit addresses on systems
6 * with more than 4GB. 6 * with more than 4GB.
7 * 7 *
8 * See Documentation/PCI/PCI-DMA-mapping.txt for the interface specification. 8 * See Documentation/DMA-API-HOWTO.txt for the interface specification.
9 * 9 *
10 * Copyright 2002 Andi Kleen, SuSE Labs. 10 * Copyright 2002 Andi Kleen, SuSE Labs.
11 * Subject to the GNU General Public License v2 only. 11 * Subject to the GNU General Public License v2 only.
diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c
index 0371c484bb8a..a46bd383953c 100644
--- a/arch/x86/kernel/apm_32.c
+++ b/arch/x86/kernel/apm_32.c
@@ -249,8 +249,6 @@ extern int (*console_blank_hook)(int);
249#define APM_MINOR_DEV 134 249#define APM_MINOR_DEV 134
250 250
251/* 251/*
252 * See Documentation/Config.help for the configuration options.
253 *
254 * Various options can be changed at boot time as follows: 252 * Various options can be changed at boot time as follows:
255 * (We allow underscores for compatibility with the modules code) 253 * (We allow underscores for compatibility with the modules code)
256 * apm=on/off enable/disable APM 254 * apm=on/off enable/disable APM
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
index b49d00da2aed..622872054fbe 100644
--- a/arch/x86/kernel/pci-dma.c
+++ b/arch/x86/kernel/pci-dma.c
@@ -117,8 +117,8 @@ again:
117} 117}
118 118
119/* 119/*
120 * See <Documentation/x86_64/boot-options.txt> for the iommu kernel parameter 120 * See <Documentation/x86/x86_64/boot-options.txt> for the iommu kernel
121 * documentation. 121 * parameter documentation.
122 */ 122 */
123static __init int iommu_setup(char *p) 123static __init int iommu_setup(char *p)
124{ 124{
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 7a3b65107a27..2196c703c5e2 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -262,7 +262,7 @@ EXPORT_SYMBOL_GPL(start_thread);
262 262
263 263
264/* 264/*
265 * switch_to(x,yn) should switch tasks from x to y. 265 * switch_to(x,y) should switch tasks from x to y.
266 * 266 *
267 * We fsave/fwait so that an exception goes off at the right time 267 * We fsave/fwait so that an exception goes off at the right time
268 * (as a call from the fsave or fwait in effect) rather than to 268 * (as a call from the fsave or fwait in effect) rather than to
diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c
index 67421f38a215..de54b9b278a7 100644
--- a/arch/x86/mm/mmio-mod.c
+++ b/arch/x86/mm/mmio-mod.c
@@ -29,7 +29,6 @@
29#include <linux/slab.h> 29#include <linux/slab.h>
30#include <linux/uaccess.h> 30#include <linux/uaccess.h>
31#include <linux/io.h> 31#include <linux/io.h>
32#include <linux/version.h>
33#include <linux/kallsyms.h> 32#include <linux/kallsyms.h>
34#include <asm/pgtable.h> 33#include <asm/pgtable.h>
35#include <linux/mmiotrace.h> 34#include <linux/mmiotrace.h>