diff options
author | Xishi Qiu <qiuxishi@huawei.com> | 2013-11-06 16:18:21 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-12-02 08:45:19 -0500 |
commit | c79a8d85d7f540e9dbe3e3111c41d14395a0c9e2 (patch) | |
tree | 198f357e8400c622c42303a663275371ba512350 /Documentation | |
parent | 48807e17101773117e36916f767fc12018e0eb21 (diff) |
doc: fix some typos in documentations
Fix some typos in five documentations, no functional change.
Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/md.txt | 2 | ||||
-rw-r--r-- | Documentation/rfkill.txt | 2 | ||||
-rw-r--r-- | Documentation/rt-mutex-design.txt | 2 | ||||
-rw-r--r-- | Documentation/static-keys.txt | 4 |
4 files changed, 5 insertions, 5 deletions
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 | ||
73 | to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL | 73 | to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL |
74 | case allows the driver to be built when rfkill is not configured, which which | 74 | case allows the driver to be built when rfkill is not configured, which |
75 | case all rfkill API can still be used but will be provided by static inlines | 75 | case all rfkill API can still be used but will be provided by static inlines |
76 | which compile to almost nothing. | 76 | which 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 | |||
30 | priority process is prevented from running by a lower priority process for | 30 | priority process is prevented from running by a lower priority process for |
31 | an undetermined amount of time. | 31 | an undetermined amount of time. |
32 | 32 | ||
33 | The classic example of unbounded priority inversion is were you have three | 33 | The classic example of unbounded priority inversion is where you have three |
34 | processes, let's call them processes A, B, and C, where A is the highest | 34 | processes, let's call them processes A, B, and C, where A is the highest |
35 | priority process, C is the lowest, and B is in between. A tries to grab a lock | 35 | priority process, C is the lowest, and B is in between. A tries to grab a lock |
36 | that C owns and must wait and lets C run to release the lock. But in the | 36 | that 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 | ||
118 | Thus, 'static_key_slow_inc()' means 'make the branch true', and | 118 | Thus, '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 |
120 | reference counting. For example, if the key is initialized true, a | 120 | reference counting. For example, if the key is initialized true, a |
121 | static_key_slow_dec(), will switch the branch to false. And a subsequent | 121 | static_key_slow_dec(), will switch the branch to false. And a subsequent |
122 | static_key_slow_inc(), will change the branch back to true. Likewise, if the | 122 | static_key_slow_inc(), will change the branch back to true. Likewise, if the |
@@ -236,7 +236,7 @@ label case adds: | |||
236 | 236 | ||
237 | If we then include the padding bytes, the jump label code saves, 16 total bytes | 237 | If we then include the padding bytes, the jump label code saves, 16 total bytes |
238 | of instruction memory for this small function. In this case the non-jump label | 238 | of instruction memory for this small function. In this case the non-jump label |
239 | function is 80 bytes long. Thus, we have have saved 20% of the instruction | 239 | function is 80 bytes long. Thus, we have saved 20% of the instruction |
240 | footprint. We can in fact improve this even further, since the 5-byte no-op | 240 | footprint. We can in fact improve this even further, since the 5-byte no-op |
241 | really can be a 2-byte no-op since we can reach the branch with a 2-byte jmp. | 241 | really can be a 2-byte no-op since we can reach the branch with a 2-byte jmp. |
242 | However, we have not yet implemented optimal no-op sizes (they are currently | 242 | However, we have not yet implemented optimal no-op sizes (they are currently |