aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 00:21:55 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 00:21:55 -0500
commitbb1281f2aae08e5ef23eb0692c8833e95579cdf2 (patch)
treee00abd368a90eb947df37ba1e6082c864635cb80 /Documentation
parent4988abf1749241bc80600a6b3283d03898d2717c (diff)
parentc04e7da0133fbe7f799b9356982371d228df9994 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina: "Usual rocket science stuff from trivial.git" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits) neighbour.h: fix comment sched: Fix warning on make htmldocs caused by wait.h slab: struct kmem_cache is protected by slab_mutex doc: Fix typo in USB Gadget Documentation of/Kconfig: Spelling s/one/once/ mkregtable: Fix sscanf handling lp5523, lp8501: comment improvements thermal: rcar: comment spelling treewide: fix comments and printk msgs IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart() Documentation: update /proc/uptime field description Documentation: Fix size parameter for snprintf arm: fix comment header and macro name asm-generic: uaccess: Spelling s/a ny/any/ mtd: onenand: fix comment header doc: driver-model/platform.txt: fix a typo drivers: fix typo in DEVTMPFS_MOUNT Kconfig help text doc: Fix typo (acces_process_vm -> access_process_vm) treewide: Fix typos in printk drivers/gpu/drm/qxl/Kconfig: reformat the help text ...
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/.gitignore1
-rw-r--r--Documentation/DocBook/Makefile5
-rw-r--r--Documentation/DocBook/kernel-api.tmpl1
-rw-r--r--Documentation/IRQ-domain.txt2
-rw-r--r--Documentation/driver-model/platform.txt2
-rw-r--r--Documentation/efi-stub.txt2
-rw-r--r--Documentation/email-clients.txt2
-rw-r--r--Documentation/filesystems/Locking2
-rw-r--r--Documentation/filesystems/proc.txt2
-rw-r--r--Documentation/io-mapping.txt2
-rw-r--r--Documentation/kernel-parameters.txt9
-rw-r--r--Documentation/laptops/hpfall.c2
-rw-r--r--Documentation/md.txt2
-rw-r--r--Documentation/rfkill.txt2
-rw-r--r--Documentation/rt-mutex-design.txt2
-rw-r--r--Documentation/static-keys.txt4
-rw-r--r--Documentation/usb/gadget_multi.txt2
-rw-r--r--Documentation/x86/x86_64/boot-options.txt23
18 files changed, 27 insertions, 40 deletions
diff --git a/Documentation/DocBook/.gitignore b/Documentation/DocBook/.gitignore
index 720f245ceb1f..7ebd5465d927 100644
--- a/Documentation/DocBook/.gitignore
+++ b/Documentation/DocBook/.gitignore
@@ -10,5 +10,6 @@
10*.out 10*.out
11*.png 11*.png
12*.gif 12*.gif
13*.svg
13media-indices.tmpl 14media-indices.tmpl
14media-entities.tmpl 15media-entities.tmpl
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index bc3d9f8c0a90..0f9c6ff41aac 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -54,6 +54,7 @@ htmldocs: $(HTML)
54 54
55MAN := $(patsubst %.xml, %.9, $(BOOKS)) 55MAN := $(patsubst %.xml, %.9, $(BOOKS))
56mandocs: $(MAN) 56mandocs: $(MAN)
57 $(if $(wildcard $(obj)/man/*.9),gzip -f $(obj)/man/*.9)
57 58
58installmandocs: mandocs 59installmandocs: mandocs
59 mkdir -p /usr/local/man/man9/ 60 mkdir -p /usr/local/man/man9/
@@ -145,7 +146,7 @@ build_main_index = rm -rf $(main_idx); \
145 cat $(HTML) >> $(main_idx) 146 cat $(HTML) >> $(main_idx)
146 147
147quiet_cmd_db2html = HTML $@ 148quiet_cmd_db2html = HTML $@
148 cmd_db2html = xmlto xhtml $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \ 149 cmd_db2html = xmlto html $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \
149 echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \ 150 echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \
150 $(patsubst %.html,%,$(notdir $@))</a><p>' > $@ 151 $(patsubst %.html,%,$(notdir $@))</a><p>' > $@
151 152
@@ -159,7 +160,7 @@ quiet_cmd_db2html = HTML $@
159 cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi 160 cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi
160 161
161quiet_cmd_db2man = MAN $@ 162quiet_cmd_db2man = MAN $@
162 cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; gzip -f $(obj)/man/*.9; fi 163 cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; fi
163%.9 : %.xml 164%.9 : %.xml
164 @(which xmlto > /dev/null 2>&1) || \ 165 @(which xmlto > /dev/null 2>&1) || \
165 (echo "*** You need to install xmlto ***"; \ 166 (echo "*** You need to install xmlto ***"; \
diff --git a/Documentation/DocBook/kernel-api.tmpl b/Documentation/DocBook/kernel-api.tmpl
index f75ab4c1b281..ecfd0ea40661 100644
--- a/Documentation/DocBook/kernel-api.tmpl
+++ b/Documentation/DocBook/kernel-api.tmpl
@@ -109,6 +109,7 @@ X!Ilib/string.c
109 <sect1><title>The Slab Cache</title> 109 <sect1><title>The Slab Cache</title>
110!Iinclude/linux/slab.h 110!Iinclude/linux/slab.h
111!Emm/slab.c 111!Emm/slab.c
112!Emm/util.c
112 </sect1> 113 </sect1>
113 <sect1><title>User Space Memory Access</title> 114 <sect1><title>User Space Memory Access</title>
114!Iarch/x86/include/asm/uaccess_32.h 115!Iarch/x86/include/asm/uaccess_32.h
diff --git a/Documentation/IRQ-domain.txt b/Documentation/IRQ-domain.txt
index 9bc95942ec22..03df71aeb38c 100644
--- a/Documentation/IRQ-domain.txt
+++ b/Documentation/IRQ-domain.txt
@@ -141,7 +141,7 @@ will use a legacy domain only if an IRQ range is supplied by the
141system and will otherwise use a linear domain mapping. The semantics 141system and will otherwise use a linear domain mapping. The semantics
142of this call are such that if an IRQ range is specified then 142of this call are such that if an IRQ range is specified then
143descriptors will be allocated on-the-fly for it, and if no range is 143descriptors will be allocated on-the-fly for it, and if no range is
144specified it will fall through to irq_domain_add_linear() which meand 144specified it will fall through to irq_domain_add_linear() which means
145*no* irq descriptors will be allocated. 145*no* irq descriptors will be allocated.
146 146
147A typical use case for simple domains is where an irqchip provider 147A typical use case for simple domains is where an irqchip provider
diff --git a/Documentation/driver-model/platform.txt b/Documentation/driver-model/platform.txt
index 41f41632ee55..07795ec51cde 100644
--- a/Documentation/driver-model/platform.txt
+++ b/Documentation/driver-model/platform.txt
@@ -48,7 +48,7 @@ struct platform_driver {
48 struct device_driver driver; 48 struct device_driver driver;
49}; 49};
50 50
51Note that probe() should general verify that the specified device hardware 51Note that probe() should in general verify that the specified device hardware
52actually exists; sometimes platform setup code can't be sure. The probing 52actually exists; sometimes platform setup code can't be sure. The probing
53can use device resources, including clocks, and device platform_data. 53can use device resources, including clocks, and device platform_data.
54 54
diff --git a/Documentation/efi-stub.txt b/Documentation/efi-stub.txt
index 44e6bb6ead10..c628788d5b47 100644
--- a/Documentation/efi-stub.txt
+++ b/Documentation/efi-stub.txt
@@ -20,7 +20,7 @@ The EFI boot stub is enabled with the CONFIG_EFI_STUB kernel option.
20**** How to install bzImage.efi 20**** How to install bzImage.efi
21 21
22The bzImage located in arch/x86/boot/bzImage must be copied to the EFI 22The bzImage located in arch/x86/boot/bzImage must be copied to the EFI
23System Partiion (ESP) and renamed with the extension ".efi". Without 23System Partition (ESP) and renamed with the extension ".efi". Without
24the extension the EFI firmware loader will refuse to execute it. It's 24the extension the EFI firmware loader will refuse to execute it. It's
25not possible to execute bzImage.efi from the usual Linux file systems 25not possible to execute bzImage.efi from the usual Linux file systems
26because EFI firmware doesn't have support for them. 26because EFI firmware doesn't have support for them.
diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt
index 860c29a472ad..e9f5daccbd02 100644
--- a/Documentation/email-clients.txt
+++ b/Documentation/email-clients.txt
@@ -104,7 +104,7 @@ Then from the "Message" menu item, select insert file and choose your patch.
104As an added bonus you can customise the message creation toolbar menu 104As an added bonus you can customise the message creation toolbar menu
105and put the "insert file" icon there. 105and put the "insert file" icon there.
106 106
107Make the the composer window wide enough so that no lines wrap. As of 107Make the composer window wide enough so that no lines wrap. As of
108KMail 1.13.5 (KDE 4.5.4), KMail will apply word wrapping when sending 108KMail 1.13.5 (KDE 4.5.4), KMail will apply word wrapping when sending
109the email if the lines wrap in the composer window. Having word wrapping 109the email if the lines wrap in the composer window. Having word wrapping
110disabled in the Options menu isn't enough. Thus, if your patch has very 110disabled in the Options menu isn't enough. Thus, if your patch has very
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index fe7afe225381..5b0c083d7c0e 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -544,7 +544,7 @@ like the ->fault() handler, but simply return with VM_FAULT_NOPAGE, which
544will cause the VM to retry the fault. 544will cause the VM to retry the fault.
545 545
546 ->access() is called when get_user_pages() fails in 546 ->access() is called when get_user_pages() fails in
547acces_process_vm(), typically used to debug a process through 547access_process_vm(), typically used to debug a process through
548/proc/pid/mem or ptrace. This function is needed only for 548/proc/pid/mem or ptrace. This function is needed only for
549VM_IO | VM_PFNMAP VMAs. 549VM_IO | VM_PFNMAP VMAs.
550 550
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 8533f5f9bb2d..31f76178c987 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -547,7 +547,7 @@ Table 1-5: Kernel info in /proc
547 sys See chapter 2 547 sys See chapter 2
548 sysvipc Info of SysVIPC Resources (msg, sem, shm) (2.4) 548 sysvipc Info of SysVIPC Resources (msg, sem, shm) (2.4)
549 tty Info of tty drivers 549 tty Info of tty drivers
550 uptime System uptime 550 uptime Wall clock since boot, combined idle time of all cpus
551 version Kernel version 551 version Kernel version
552 video bttv info of video resources (2.4) 552 video bttv info of video resources (2.4)
553 vmallocinfo Show vmalloced areas 553 vmallocinfo Show vmalloced areas
diff --git a/Documentation/io-mapping.txt b/Documentation/io-mapping.txt
index 473e43b2d588..5ca78426f54c 100644
--- a/Documentation/io-mapping.txt
+++ b/Documentation/io-mapping.txt
@@ -38,7 +38,7 @@ maps are more efficient:
38 38
39 void io_mapping_unmap_atomic(void *vaddr) 39 void io_mapping_unmap_atomic(void *vaddr)
40 40
41 'vaddr' must be the the value returned by the last 41 'vaddr' must be the value returned by the last
42 io_mapping_map_atomic_wc call. This unmaps the specified 42 io_mapping_map_atomic_wc call. This unmaps the specified
43 page and allows the task to sleep once again. 43 page and allows the task to sleep once again.
44 44
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 4252af6ffda1..f085a61a1edd 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -515,7 +515,14 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
515 515
516 cgroup_disable= [KNL] Disable a particular controller 516 cgroup_disable= [KNL] Disable a particular controller
517 Format: {name of the controller(s) to disable} 517 Format: {name of the controller(s) to disable}
518 {Currently supported controllers - "memory"} 518 The effects of cgroup_disable=foo are:
519 - foo isn't auto-mounted if you mount all cgroups in
520 a single hierarchy
521 - foo isn't visible as an individually mountable
522 subsystem
523 {Currently only "memory" controller deal with this and
524 cut the overhead, others just disable the usage. So
525 only cgroup_disable=memory is actually worthy}
519 526
520 checkreqprot [SELINUX] Set initial checkreqprot flag value. 527 checkreqprot [SELINUX] Set initial checkreqprot flag value.
521 Format: { "0" | "1" } 528 Format: { "0" | "1" }
diff --git a/Documentation/laptops/hpfall.c b/Documentation/laptops/hpfall.c
index a4a8fc5d05d4..b85dbbac0499 100644
--- a/Documentation/laptops/hpfall.c
+++ b/Documentation/laptops/hpfall.c
@@ -29,7 +29,7 @@ int set_unload_heads_path(char *device)
29 return -EINVAL; 29 return -EINVAL;
30 strncpy(devname, device + 5, sizeof(devname)); 30 strncpy(devname, device + 5, sizeof(devname));
31 31
32 snprintf(unload_heads_path, sizeof(unload_heads_path), 32 snprintf(unload_heads_path, sizeof(unload_heads_path) - 1,
33 "/sys/block/%s/device/unload_heads", devname); 33 "/sys/block/%s/device/unload_heads", devname);
34 return 0; 34 return 0;
35} 35}
diff --git a/Documentation/md.txt b/Documentation/md.txt
index fbb2fcbf16b6..f925666e4342 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -533,7 +533,7 @@ also have
533 found. The count in 'mismatch_cnt' is the number of sectors 533 found. The count in 'mismatch_cnt' is the number of sectors
534 that were re-written, or (for 'check') would have been 534 that were re-written, or (for 'check') would have been
535 re-written. As most raid levels work in units of pages rather 535 re-written. As most raid levels work in units of pages rather
536 than sectors, this my be larger than the number of actual errors 536 than sectors, this may be larger than the number of actual errors
537 by a factor of the number of sectors in a page. 537 by a factor of the number of sectors in a page.
538 538
539 bitmap_set_bits 539 bitmap_set_bits
diff --git a/Documentation/rfkill.txt b/Documentation/rfkill.txt
index 03c9d9299c6b..f430004df73c 100644
--- a/Documentation/rfkill.txt
+++ b/Documentation/rfkill.txt
@@ -71,7 +71,7 @@ To create an rfkill driver, driver's Kconfig needs to have
71 depends on RFKILL || !RFKILL 71 depends on RFKILL || !RFKILL
72 72
73to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL 73to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL
74case allows the driver to be built when rfkill is not configured, which which 74case allows the driver to be built when rfkill is not configured, which
75case all rfkill API can still be used but will be provided by static inlines 75case all rfkill API can still be used but will be provided by static inlines
76which compile to almost nothing. 76which compile to almost nothing.
77 77
diff --git a/Documentation/rt-mutex-design.txt b/Documentation/rt-mutex-design.txt
index a5bcd7f5c33f..8666070d3189 100644
--- a/Documentation/rt-mutex-design.txt
+++ b/Documentation/rt-mutex-design.txt
@@ -30,7 +30,7 @@ is something called unbounded priority inversion. That is when the high
30priority process is prevented from running by a lower priority process for 30priority process is prevented from running by a lower priority process for
31an undetermined amount of time. 31an undetermined amount of time.
32 32
33The classic example of unbounded priority inversion is were you have three 33The classic example of unbounded priority inversion is where you have three
34processes, let's call them processes A, B, and C, where A is the highest 34processes, let's call them processes A, B, and C, where A is the highest
35priority process, C is the lowest, and B is in between. A tries to grab a lock 35priority process, C is the lowest, and B is in between. A tries to grab a lock
36that C owns and must wait and lets C run to release the lock. But in the 36that C owns and must wait and lets C run to release the lock. But in the
diff --git a/Documentation/static-keys.txt b/Documentation/static-keys.txt
index 9f5263d3152c..c4407a41b0fc 100644
--- a/Documentation/static-keys.txt
+++ b/Documentation/static-keys.txt
@@ -116,7 +116,7 @@ The branch(es) can then be switched via:
116 static_key_slow_dec(&key); 116 static_key_slow_dec(&key);
117 117
118Thus, 'static_key_slow_inc()' means 'make the branch true', and 118Thus, 'static_key_slow_inc()' means 'make the branch true', and
119'static_key_slow_dec()' means 'make the the branch false' with appropriate 119'static_key_slow_dec()' means 'make the branch false' with appropriate
120reference counting. For example, if the key is initialized true, a 120reference counting. For example, if the key is initialized true, a
121static_key_slow_dec(), will switch the branch to false. And a subsequent 121static_key_slow_dec(), will switch the branch to false. And a subsequent
122static_key_slow_inc(), will change the branch back to true. Likewise, if the 122static_key_slow_inc(), will change the branch back to true. Likewise, if the
@@ -236,7 +236,7 @@ label case adds:
236 236
237If we then include the padding bytes, the jump label code saves, 16 total bytes 237If we then include the padding bytes, the jump label code saves, 16 total bytes
238of instruction memory for this small function. In this case the non-jump label 238of instruction memory for this small function. In this case the non-jump label
239function is 80 bytes long. Thus, we have have saved 20% of the instruction 239function is 80 bytes long. Thus, we have saved 20% of the instruction
240footprint. We can in fact improve this even further, since the 5-byte no-op 240footprint. We can in fact improve this even further, since the 5-byte no-op
241really can be a 2-byte no-op since we can reach the branch with a 2-byte jmp. 241really can be a 2-byte no-op since we can reach the branch with a 2-byte jmp.
242However, we have not yet implemented optimal no-op sizes (they are currently 242However, we have not yet implemented optimal no-op sizes (they are currently
diff --git a/Documentation/usb/gadget_multi.txt b/Documentation/usb/gadget_multi.txt
index 80f4ef0eb75b..7d66a8636cb5 100644
--- a/Documentation/usb/gadget_multi.txt
+++ b/Documentation/usb/gadget_multi.txt
@@ -14,7 +14,7 @@ A CDC ECM (Ethernet) function may be turned on via a Kconfig option
14and RNDIS can be turned off. If they are both enabled the gadget will 14and RNDIS can be turned off. If they are both enabled the gadget will
15have two configurations -- one with RNDIS and another with CDC ECM[3]. 15have two configurations -- one with RNDIS and another with CDC ECM[3].
16 16
17Please not that if you use non-standard configuration (that is enable 17Please note that if you use non-standard configuration (that is enable
18CDC ECM) you may need to change vendor and/or product ID. 18CDC ECM) you may need to change vendor and/or product ID.
19 19
20* Host drivers 20* Host drivers
diff --git a/Documentation/x86/x86_64/boot-options.txt b/Documentation/x86/x86_64/boot-options.txt
index 1228b22e142b..5223479291a2 100644
--- a/Documentation/x86/x86_64/boot-options.txt
+++ b/Documentation/x86/x86_64/boot-options.txt
@@ -78,14 +78,6 @@ APICs
78 78
79 no_timer_check Don't check the IO-APIC timer. This can work around 79 no_timer_check Don't check the IO-APIC timer. This can work around
80 problems with incorrect timer initialization on some boards. 80 problems with incorrect timer initialization on some boards.
81
82 apicmaintimer Run time keeping from the local APIC timer instead
83 of using the PIT/HPET interrupt for this. This is useful
84 when the PIT/HPET interrupts are unreliable.
85
86 noapicmaintimer Don't do time keeping using the APIC timer.
87 Useful when this option was auto selected, but doesn't work.
88
89 apicpmtimer 81 apicpmtimer
90 Do APIC timer calibration using the pmtimer. Implies 82 Do APIC timer calibration using the pmtimer. Implies
91 apicmaintimer. Useful when your PIT timer is totally 83 apicmaintimer. Useful when your PIT timer is totally
@@ -144,11 +136,6 @@ Non Executable Mappings
144 on Enable(default) 136 on Enable(default)
145 off Disable 137 off Disable
146 138
147SMP
148
149 additional_cpus=NUM Allow NUM more CPUs for hotplug
150 (defaults are specified by the BIOS, see Documentation/x86/x86_64/cpu-hotplug-spec)
151
152NUMA 139NUMA
153 140
154 numa=off Only set up a single NUMA node spanning all memory. 141 numa=off Only set up a single NUMA node spanning all memory.
@@ -289,16 +276,6 @@ Debugging
289 276
290 kstack=N Print N words from the kernel stack in oops dumps. 277 kstack=N Print N words from the kernel stack in oops dumps.
291 278
292 pagefaulttrace Dump all page faults. Only useful for extreme debugging
293 and will create a lot of output.
294
295 call_trace=[old|both|newfallback|new]
296 old: use old inexact backtracer
297 new: use new exact dwarf2 unwinder
298 both: print entries from both
299 newfallback: use new unwinder but fall back to old if it gets
300 stuck (default)
301
302Miscellaneous 279Miscellaneous
303 280
304 nogbpages 281 nogbpages