diff options
64 files changed, 113 insertions, 111 deletions
diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt index fd588ff0e296..5eb279a48fa4 100644 --- a/Documentation/cgroups/cgroups.txt +++ b/Documentation/cgroups/cgroups.txt | |||
@@ -573,7 +573,7 @@ void cancel_attach(struct cgroup_subsys *ss, struct cgroup *cgrp, | |||
573 | 573 | ||
574 | Called when a task attach operation has failed after can_attach() has succeeded. | 574 | Called when a task attach operation has failed after can_attach() has succeeded. |
575 | A subsystem whose can_attach() has some side-effects should provide this | 575 | A subsystem whose can_attach() has some side-effects should provide this |
576 | function, so that the subsytem can implement a rollback. If not, not necessary. | 576 | function, so that the subsystem can implement a rollback. If not, not necessary. |
577 | This will be called only about subsystems whose can_attach() operation have | 577 | This will be called only about subsystems whose can_attach() operation have |
578 | succeeded. | 578 | succeeded. |
579 | 579 | ||
diff --git a/Documentation/cgroups/cpusets.txt b/Documentation/cgroups/cpusets.txt index 4160df82b3f5..51682ab2dd1a 100644 --- a/Documentation/cgroups/cpusets.txt +++ b/Documentation/cgroups/cpusets.txt | |||
@@ -42,7 +42,7 @@ Nodes to a set of tasks. In this document "Memory Node" refers to | |||
42 | an on-line node that contains memory. | 42 | an on-line node that contains memory. |
43 | 43 | ||
44 | Cpusets constrain the CPU and Memory placement of tasks to only | 44 | Cpusets constrain the CPU and Memory placement of tasks to only |
45 | the resources within a tasks current cpuset. They form a nested | 45 | the resources within a task's current cpuset. They form a nested |
46 | hierarchy visible in a virtual file system. These are the essential | 46 | hierarchy visible in a virtual file system. These are the essential |
47 | hooks, beyond what is already present, required to manage dynamic | 47 | hooks, beyond what is already present, required to manage dynamic |
48 | job placement on large systems. | 48 | job placement on large systems. |
@@ -53,11 +53,11 @@ Documentation/cgroups/cgroups.txt. | |||
53 | Requests by a task, using the sched_setaffinity(2) system call to | 53 | Requests by a task, using the sched_setaffinity(2) system call to |
54 | include CPUs in its CPU affinity mask, and using the mbind(2) and | 54 | include CPUs in its CPU affinity mask, and using the mbind(2) and |
55 | set_mempolicy(2) system calls to include Memory Nodes in its memory | 55 | set_mempolicy(2) system calls to include Memory Nodes in its memory |
56 | policy, are both filtered through that tasks cpuset, filtering out any | 56 | policy, are both filtered through that task's cpuset, filtering out any |
57 | CPUs or Memory Nodes not in that cpuset. The scheduler will not | 57 | CPUs or Memory Nodes not in that cpuset. The scheduler will not |
58 | schedule a task on a CPU that is not allowed in its cpus_allowed | 58 | schedule a task on a CPU that is not allowed in its cpus_allowed |
59 | vector, and the kernel page allocator will not allocate a page on a | 59 | vector, and the kernel page allocator will not allocate a page on a |
60 | node that is not allowed in the requesting tasks mems_allowed vector. | 60 | node that is not allowed in the requesting task's mems_allowed vector. |
61 | 61 | ||
62 | User level code may create and destroy cpusets by name in the cgroup | 62 | User level code may create and destroy cpusets by name in the cgroup |
63 | virtual file system, manage the attributes and permissions of these | 63 | virtual file system, manage the attributes and permissions of these |
@@ -121,9 +121,9 @@ Cpusets extends these two mechanisms as follows: | |||
121 | - Each task in the system is attached to a cpuset, via a pointer | 121 | - Each task in the system is attached to a cpuset, via a pointer |
122 | in the task structure to a reference counted cgroup structure. | 122 | in the task structure to a reference counted cgroup structure. |
123 | - Calls to sched_setaffinity are filtered to just those CPUs | 123 | - Calls to sched_setaffinity are filtered to just those CPUs |
124 | allowed in that tasks cpuset. | 124 | allowed in that task's cpuset. |
125 | - Calls to mbind and set_mempolicy are filtered to just | 125 | - Calls to mbind and set_mempolicy are filtered to just |
126 | those Memory Nodes allowed in that tasks cpuset. | 126 | those Memory Nodes allowed in that task's cpuset. |
127 | - The root cpuset contains all the systems CPUs and Memory | 127 | - The root cpuset contains all the systems CPUs and Memory |
128 | Nodes. | 128 | Nodes. |
129 | - For any cpuset, one can define child cpusets containing a subset | 129 | - For any cpuset, one can define child cpusets containing a subset |
@@ -141,11 +141,11 @@ into the rest of the kernel, none in performance critical paths: | |||
141 | - in init/main.c, to initialize the root cpuset at system boot. | 141 | - in init/main.c, to initialize the root cpuset at system boot. |
142 | - in fork and exit, to attach and detach a task from its cpuset. | 142 | - in fork and exit, to attach and detach a task from its cpuset. |
143 | - in sched_setaffinity, to mask the requested CPUs by what's | 143 | - in sched_setaffinity, to mask the requested CPUs by what's |
144 | allowed in that tasks cpuset. | 144 | allowed in that task's cpuset. |
145 | - in sched.c migrate_live_tasks(), to keep migrating tasks within | 145 | - in sched.c migrate_live_tasks(), to keep migrating tasks within |
146 | the CPUs allowed by their cpuset, if possible. | 146 | the CPUs allowed by their cpuset, if possible. |
147 | - in the mbind and set_mempolicy system calls, to mask the requested | 147 | - in the mbind and set_mempolicy system calls, to mask the requested |
148 | Memory Nodes by what's allowed in that tasks cpuset. | 148 | Memory Nodes by what's allowed in that task's cpuset. |
149 | - in page_alloc.c, to restrict memory to allowed nodes. | 149 | - in page_alloc.c, to restrict memory to allowed nodes. |
150 | - in vmscan.c, to restrict page recovery to the current cpuset. | 150 | - in vmscan.c, to restrict page recovery to the current cpuset. |
151 | 151 | ||
@@ -155,7 +155,7 @@ new system calls are added for cpusets - all support for querying and | |||
155 | modifying cpusets is via this cpuset file system. | 155 | modifying cpusets is via this cpuset file system. |
156 | 156 | ||
157 | The /proc/<pid>/status file for each task has four added lines, | 157 | The /proc/<pid>/status file for each task has four added lines, |
158 | displaying the tasks cpus_allowed (on which CPUs it may be scheduled) | 158 | displaying the task's cpus_allowed (on which CPUs it may be scheduled) |
159 | and mems_allowed (on which Memory Nodes it may obtain memory), | 159 | and mems_allowed (on which Memory Nodes it may obtain memory), |
160 | in the two formats seen in the following example: | 160 | in the two formats seen in the following example: |
161 | 161 | ||
@@ -323,17 +323,17 @@ stack segment pages of a task. | |||
323 | 323 | ||
324 | By default, both kinds of memory spreading are off, and memory | 324 | By default, both kinds of memory spreading are off, and memory |
325 | pages are allocated on the node local to where the task is running, | 325 | pages are allocated on the node local to where the task is running, |
326 | except perhaps as modified by the tasks NUMA mempolicy or cpuset | 326 | except perhaps as modified by the task's NUMA mempolicy or cpuset |
327 | configuration, so long as sufficient free memory pages are available. | 327 | configuration, so long as sufficient free memory pages are available. |
328 | 328 | ||
329 | When new cpusets are created, they inherit the memory spread settings | 329 | When new cpusets are created, they inherit the memory spread settings |
330 | of their parent. | 330 | of their parent. |
331 | 331 | ||
332 | Setting memory spreading causes allocations for the affected page | 332 | Setting memory spreading causes allocations for the affected page |
333 | or slab caches to ignore the tasks NUMA mempolicy and be spread | 333 | or slab caches to ignore the task's NUMA mempolicy and be spread |
334 | instead. Tasks using mbind() or set_mempolicy() calls to set NUMA | 334 | instead. Tasks using mbind() or set_mempolicy() calls to set NUMA |
335 | mempolicies will not notice any change in these calls as a result of | 335 | mempolicies will not notice any change in these calls as a result of |
336 | their containing tasks memory spread settings. If memory spreading | 336 | their containing task's memory spread settings. If memory spreading |
337 | is turned off, then the currently specified NUMA mempolicy once again | 337 | is turned off, then the currently specified NUMA mempolicy once again |
338 | applies to memory page allocations. | 338 | applies to memory page allocations. |
339 | 339 | ||
@@ -357,7 +357,7 @@ pages from the node returned by cpuset_mem_spread_node(). | |||
357 | 357 | ||
358 | The cpuset_mem_spread_node() routine is also simple. It uses the | 358 | The cpuset_mem_spread_node() routine is also simple. It uses the |
359 | value of a per-task rotor cpuset_mem_spread_rotor to select the next | 359 | value of a per-task rotor cpuset_mem_spread_rotor to select the next |
360 | node in the current tasks mems_allowed to prefer for the allocation. | 360 | node in the current task's mems_allowed to prefer for the allocation. |
361 | 361 | ||
362 | This memory placement policy is also known (in other contexts) as | 362 | This memory placement policy is also known (in other contexts) as |
363 | round-robin or interleave. | 363 | round-robin or interleave. |
@@ -594,7 +594,7 @@ is attached, is subtle. | |||
594 | If a cpuset has its Memory Nodes modified, then for each task attached | 594 | If a cpuset has its Memory Nodes modified, then for each task attached |
595 | to that cpuset, the next time that the kernel attempts to allocate | 595 | to that cpuset, the next time that the kernel attempts to allocate |
596 | a page of memory for that task, the kernel will notice the change | 596 | a page of memory for that task, the kernel will notice the change |
597 | in the tasks cpuset, and update its per-task memory placement to | 597 | in the task's cpuset, and update its per-task memory placement to |
598 | remain within the new cpusets memory placement. If the task was using | 598 | remain within the new cpusets memory placement. If the task was using |
599 | mempolicy MPOL_BIND, and the nodes to which it was bound overlap with | 599 | mempolicy MPOL_BIND, and the nodes to which it was bound overlap with |
600 | its new cpuset, then the task will continue to use whatever subset | 600 | its new cpuset, then the task will continue to use whatever subset |
@@ -603,13 +603,13 @@ was using MPOL_BIND and now none of its MPOL_BIND nodes are allowed | |||
603 | in the new cpuset, then the task will be essentially treated as if it | 603 | in the new cpuset, then the task will be essentially treated as if it |
604 | was MPOL_BIND bound to the new cpuset (even though its NUMA placement, | 604 | was MPOL_BIND bound to the new cpuset (even though its NUMA placement, |
605 | as queried by get_mempolicy(), doesn't change). If a task is moved | 605 | as queried by get_mempolicy(), doesn't change). If a task is moved |
606 | from one cpuset to another, then the kernel will adjust the tasks | 606 | from one cpuset to another, then the kernel will adjust the task's |
607 | memory placement, as above, the next time that the kernel attempts | 607 | memory placement, as above, the next time that the kernel attempts |
608 | to allocate a page of memory for that task. | 608 | to allocate a page of memory for that task. |
609 | 609 | ||
610 | If a cpuset has its 'cpuset.cpus' modified, then each task in that cpuset | 610 | If a cpuset has its 'cpuset.cpus' modified, then each task in that cpuset |
611 | will have its allowed CPU placement changed immediately. Similarly, | 611 | will have its allowed CPU placement changed immediately. Similarly, |
612 | if a tasks pid is written to another cpusets 'cpuset.tasks' file, then its | 612 | if a task's pid is written to another cpusets 'cpuset.tasks' file, then its |
613 | allowed CPU placement is changed immediately. If such a task had been | 613 | allowed CPU placement is changed immediately. If such a task had been |
614 | bound to some subset of its cpuset using the sched_setaffinity() call, | 614 | bound to some subset of its cpuset using the sched_setaffinity() call, |
615 | the task will be allowed to run on any CPU allowed in its new cpuset, | 615 | the task will be allowed to run on any CPU allowed in its new cpuset, |
@@ -626,16 +626,16 @@ cpusets memory placement policy 'cpuset.mems' subsequently changes. | |||
626 | If the cpuset flag file 'cpuset.memory_migrate' is set true, then when | 626 | If the cpuset flag file 'cpuset.memory_migrate' is set true, then when |
627 | tasks are attached to that cpuset, any pages that task had | 627 | tasks are attached to that cpuset, any pages that task had |
628 | allocated to it on nodes in its previous cpuset are migrated | 628 | allocated to it on nodes in its previous cpuset are migrated |
629 | to the tasks new cpuset. The relative placement of the page within | 629 | to the task's new cpuset. The relative placement of the page within |
630 | the cpuset is preserved during these migration operations if possible. | 630 | the cpuset is preserved during these migration operations if possible. |
631 | For example if the page was on the second valid node of the prior cpuset | 631 | For example if the page was on the second valid node of the prior cpuset |
632 | then the page will be placed on the second valid node of the new cpuset. | 632 | then the page will be placed on the second valid node of the new cpuset. |
633 | 633 | ||
634 | Also if 'cpuset.memory_migrate' is set true, then if that cpusets | 634 | Also if 'cpuset.memory_migrate' is set true, then if that cpuset's |
635 | 'cpuset.mems' file is modified, pages allocated to tasks in that | 635 | 'cpuset.mems' file is modified, pages allocated to tasks in that |
636 | cpuset, that were on nodes in the previous setting of 'cpuset.mems', | 636 | cpuset, that were on nodes in the previous setting of 'cpuset.mems', |
637 | will be moved to nodes in the new setting of 'mems.' | 637 | will be moved to nodes in the new setting of 'mems.' |
638 | Pages that were not in the tasks prior cpuset, or in the cpusets | 638 | Pages that were not in the task's prior cpuset, or in the cpuset's |
639 | prior 'cpuset.mems' setting, will not be moved. | 639 | prior 'cpuset.mems' setting, will not be moved. |
640 | 640 | ||
641 | There is an exception to the above. If hotplug functionality is used | 641 | There is an exception to the above. If hotplug functionality is used |
@@ -655,7 +655,7 @@ There is a second exception to the above. GFP_ATOMIC requests are | |||
655 | kernel internal allocations that must be satisfied, immediately. | 655 | kernel internal allocations that must be satisfied, immediately. |
656 | The kernel may drop some request, in rare cases even panic, if a | 656 | The kernel may drop some request, in rare cases even panic, if a |
657 | GFP_ATOMIC alloc fails. If the request cannot be satisfied within | 657 | GFP_ATOMIC alloc fails. If the request cannot be satisfied within |
658 | the current tasks cpuset, then we relax the cpuset, and look for | 658 | the current task's cpuset, then we relax the cpuset, and look for |
659 | memory anywhere we can find it. It's better to violate the cpuset | 659 | memory anywhere we can find it. It's better to violate the cpuset |
660 | than stress the kernel. | 660 | than stress the kernel. |
661 | 661 | ||
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index a4f30faa4f1f..770700317c2c 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -305,7 +305,7 @@ Table 1-4: Contents of the stat files (as of 2.6.30-rc7) | |||
305 | cgtime guest time of the task children in jiffies | 305 | cgtime guest time of the task children in jiffies |
306 | .............................................................................. | 306 | .............................................................................. |
307 | 307 | ||
308 | The /proc/PID/map file containing the currently mapped memory regions and | 308 | The /proc/PID/maps file containing the currently mapped memory regions and |
309 | their access permissions. | 309 | their access permissions. |
310 | 310 | ||
311 | The format is: | 311 | The format is: |
diff --git a/Documentation/kbuild/kconfig.txt b/Documentation/kbuild/kconfig.txt index 49efae703979..b2cb16ebcb16 100644 --- a/Documentation/kbuild/kconfig.txt +++ b/Documentation/kbuild/kconfig.txt | |||
@@ -96,7 +96,7 @@ Environment variables for 'silentoldconfig' | |||
96 | KCONFIG_NOSILENTUPDATE | 96 | KCONFIG_NOSILENTUPDATE |
97 | -------------------------------------------------- | 97 | -------------------------------------------------- |
98 | If this variable has a non-blank value, it prevents silent kernel | 98 | If this variable has a non-blank value, it prevents silent kernel |
99 | config udpates (requires explicit updates). | 99 | config updates (requires explicit updates). |
100 | 100 | ||
101 | KCONFIG_AUTOCONFIG | 101 | KCONFIG_AUTOCONFIG |
102 | -------------------------------------------------- | 102 | -------------------------------------------------- |
diff --git a/Documentation/powerpc/dts-bindings/xilinx.txt b/Documentation/powerpc/dts-bindings/xilinx.txt index ea68046bb9cb..299d0923537b 100644 --- a/Documentation/powerpc/dts-bindings/xilinx.txt +++ b/Documentation/powerpc/dts-bindings/xilinx.txt | |||
@@ -11,7 +11,7 @@ | |||
11 | control how the core is synthesized. Historically, the EDK tool would | 11 | control how the core is synthesized. Historically, the EDK tool would |
12 | extract the device parameters relevant to device drivers and copy them | 12 | extract the device parameters relevant to device drivers and copy them |
13 | into an 'xparameters.h' in the form of #define symbols. This tells the | 13 | into an 'xparameters.h' in the form of #define symbols. This tells the |
14 | device drivers how the IP cores are configured, but it requres the kernel | 14 | device drivers how the IP cores are configured, but it requires the kernel |
15 | to be recompiled every time the FPGA bitstream is resynthesized. | 15 | to be recompiled every time the FPGA bitstream is resynthesized. |
16 | 16 | ||
17 | The new approach is to export the parameters into the device tree and | 17 | The new approach is to export the parameters into the device tree and |
diff --git a/Documentation/sysfs-rules.txt b/Documentation/sysfs-rules.txt index 5d8bc2cd250c..c1a1fd636bf9 100644 --- a/Documentation/sysfs-rules.txt +++ b/Documentation/sysfs-rules.txt | |||
@@ -125,7 +125,7 @@ versions of the sysfs interface. | |||
125 | - Block | 125 | - Block |
126 | The converted block subsystem at /sys/class/block or | 126 | The converted block subsystem at /sys/class/block or |
127 | /sys/subsystem/block will contain the links for disks and partitions | 127 | /sys/subsystem/block will contain the links for disks and partitions |
128 | at the same level, never in a hierarchy. Assuming the block subsytem to | 128 | at the same level, never in a hierarchy. Assuming the block subsystem to |
129 | contain only disks and not partition devices in the same flat list is | 129 | contain only disks and not partition devices in the same flat list is |
130 | a bug in the application. | 130 | a bug in the application. |
131 | 131 | ||
diff --git a/Documentation/trace/events.txt b/Documentation/trace/events.txt index 02ac6ed38b2d..b22000dbc57d 100644 --- a/Documentation/trace/events.txt +++ b/Documentation/trace/events.txt | |||
@@ -238,7 +238,7 @@ subsystem's filter file. | |||
238 | 238 | ||
239 | For convenience, filters for every event in a subsystem can be set or | 239 | For convenience, filters for every event in a subsystem can be set or |
240 | cleared as a group by writing a filter expression into the filter file | 240 | cleared as a group by writing a filter expression into the filter file |
241 | at the root of the subsytem. Note however, that if a filter for any | 241 | at the root of the subsystem. Note however, that if a filter for any |
242 | event within the subsystem lacks a field specified in the subsystem | 242 | event within the subsystem lacks a field specified in the subsystem |
243 | filter, or if the filter can't be applied for any other reason, the | 243 | filter, or if the filter can't be applied for any other reason, the |
244 | filter for that event will retain its previous setting. This can | 244 | filter for that event will retain its previous setting. This can |
@@ -250,7 +250,7 @@ fields can be guaranteed to propagate successfully to all events. | |||
250 | Here are a few subsystem filter examples that also illustrate the | 250 | Here are a few subsystem filter examples that also illustrate the |
251 | above points: | 251 | above points: |
252 | 252 | ||
253 | Clear the filters on all events in the sched subsytem: | 253 | Clear the filters on all events in the sched subsystem: |
254 | 254 | ||
255 | # cd /sys/kernel/debug/tracing/events/sched | 255 | # cd /sys/kernel/debug/tracing/events/sched |
256 | # echo 0 > filter | 256 | # echo 0 > filter |
@@ -260,7 +260,7 @@ none | |||
260 | none | 260 | none |
261 | 261 | ||
262 | Set a filter using only common fields for all events in the sched | 262 | Set a filter using only common fields for all events in the sched |
263 | subsytem (all events end up with the same filter): | 263 | subsystem (all events end up with the same filter): |
264 | 264 | ||
265 | # cd /sys/kernel/debug/tracing/events/sched | 265 | # cd /sys/kernel/debug/tracing/events/sched |
266 | # echo common_pid == 0 > filter | 266 | # echo common_pid == 0 > filter |
@@ -270,7 +270,7 @@ common_pid == 0 | |||
270 | common_pid == 0 | 270 | common_pid == 0 |
271 | 271 | ||
272 | Attempt to set a filter using a non-common field for all events in the | 272 | Attempt to set a filter using a non-common field for all events in the |
273 | sched subsytem (all events but those that have a prev_pid field retain | 273 | sched subsystem (all events but those that have a prev_pid field retain |
274 | their old filters): | 274 | their old filters): |
275 | 275 | ||
276 | # cd /sys/kernel/debug/tracing/events/sched | 276 | # cd /sys/kernel/debug/tracing/events/sched |
diff --git a/MAINTAINERS b/MAINTAINERS index a2d9254a2233..d603d342847c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -2667,16 +2667,12 @@ F: Documentation/timers/hpet.txt | |||
2667 | F: drivers/char/hpet.c | 2667 | F: drivers/char/hpet.c |
2668 | F: include/linux/hpet.h | 2668 | F: include/linux/hpet.h |
2669 | 2669 | ||
2670 | HPET: i386 | 2670 | HPET: x86 |
2671 | M: "Venkatesh Pallipadi (Venki)" <venkatesh.pallipadi@intel.com> | 2671 | M: "Venkatesh Pallipadi (Venki)" <venki@google.com> |
2672 | S: Maintained | 2672 | S: Maintained |
2673 | F: arch/x86/kernel/hpet.c | 2673 | F: arch/x86/kernel/hpet.c |
2674 | F: arch/x86/include/asm/hpet.h | 2674 | F: arch/x86/include/asm/hpet.h |
2675 | 2675 | ||
2676 | HPET: x86_64 | ||
2677 | M: Vojtech Pavlik <vojtech@suse.cz> | ||
2678 | S: Maintained | ||
2679 | |||
2680 | HPET: ACPI | 2676 | HPET: ACPI |
2681 | M: Bob Picco <bob.picco@hp.com> | 2677 | M: Bob Picco <bob.picco@hp.com> |
2682 | S: Maintained | 2678 | S: Maintained |
diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index 7a8b0a8b643a..044bbe462c2c 100644 --- a/arch/mips/sibyte/bcm1480/irq.c +++ b/arch/mips/sibyte/bcm1480/irq.c | |||
@@ -253,7 +253,7 @@ void __init init_bcm1480_irqs(void) | |||
253 | * On the second cpu, everything is set to IP5, which is | 253 | * On the second cpu, everything is set to IP5, which is |
254 | * ignored, EXCEPT the mailbox interrupt. That one is | 254 | * ignored, EXCEPT the mailbox interrupt. That one is |
255 | * set to IP[2] so it is handled. This is needed so we | 255 | * set to IP[2] so it is handled. This is needed so we |
256 | * can do cross-cpu function calls, as requred by SMP | 256 | * can do cross-cpu function calls, as required by SMP |
257 | */ | 257 | */ |
258 | 258 | ||
259 | #define IMR_IP2_VAL K_BCM1480_INT_MAP_I0 | 259 | #define IMR_IP2_VAL K_BCM1480_INT_MAP_I0 |
diff --git a/arch/mips/sibyte/sb1250/irq.c b/arch/mips/sibyte/sb1250/irq.c index 62371f772553..12ac04a658ee 100644 --- a/arch/mips/sibyte/sb1250/irq.c +++ b/arch/mips/sibyte/sb1250/irq.c | |||
@@ -236,7 +236,7 @@ void __init init_sb1250_irqs(void) | |||
236 | * On the second cpu, everything is set to IP5, which is | 236 | * On the second cpu, everything is set to IP5, which is |
237 | * ignored, EXCEPT the mailbox interrupt. That one is | 237 | * ignored, EXCEPT the mailbox interrupt. That one is |
238 | * set to IP[2] so it is handled. This is needed so we | 238 | * set to IP[2] so it is handled. This is needed so we |
239 | * can do cross-cpu function calls, as requred by SMP | 239 | * can do cross-cpu function calls, as required by SMP |
240 | */ | 240 | */ |
241 | 241 | ||
242 | #define IMR_IP2_VAL K_INT_MAP_I0 | 242 | #define IMR_IP2_VAL K_INT_MAP_I0 |
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index 64cda95f59ca..74874ed08373 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -18,7 +18,6 @@ static irqreturn_t line_interrupt(int irq, void *data) | |||
18 | { | 18 | { |
19 | struct chan *chan = data; | 19 | struct chan *chan = data; |
20 | struct line *line = chan->line; | 20 | struct line *line = chan->line; |
21 | struct tty_struct *tty; | ||
22 | 21 | ||
23 | if (line) | 22 | if (line) |
24 | chan_interrupt(&line->chan_list, &line->task, line->tty, irq); | 23 | chan_interrupt(&line->chan_list, &line->task, line->tty, irq); |
diff --git a/arch/um/include/asm/system.h b/arch/um/include/asm/system.h index 753346e2cdfd..93af1cf0907d 100644 --- a/arch/um/include/asm/system.h +++ b/arch/um/include/asm/system.h | |||
@@ -3,11 +3,8 @@ | |||
3 | 3 | ||
4 | #include "sysdep/system.h" | 4 | #include "sysdep/system.h" |
5 | 5 | ||
6 | extern void *switch_to(void *prev, void *next, void *last); | ||
7 | |||
8 | extern int get_signals(void); | 6 | extern int get_signals(void); |
9 | extern int set_signals(int enable); | 7 | extern int set_signals(int enable); |
10 | extern int get_signals(void); | ||
11 | extern void block_signals(void); | 8 | extern void block_signals(void); |
12 | extern void unblock_signals(void); | 9 | extern void unblock_signals(void); |
13 | 10 | ||
diff --git a/arch/um/sys-i386/asm/elf.h b/arch/um/sys-i386/asm/elf.h index e64cd41d7bab..a979a22a8d9f 100644 --- a/arch/um/sys-i386/asm/elf.h +++ b/arch/um/sys-i386/asm/elf.h | |||
@@ -75,6 +75,8 @@ typedef struct user_i387_struct elf_fpregset_t; | |||
75 | pr_reg[16] = PT_REGS_SS(regs); \ | 75 | pr_reg[16] = PT_REGS_SS(regs); \ |
76 | } while (0); | 76 | } while (0); |
77 | 77 | ||
78 | struct task_struct; | ||
79 | |||
78 | extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu); | 80 | extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu); |
79 | 81 | ||
80 | #define ELF_CORE_COPY_FPREGS(t, fpu) elf_core_copy_fpregs(t, fpu) | 82 | #define ELF_CORE_COPY_FPREGS(t, fpu) elf_core_copy_fpregs(t, fpu) |
diff --git a/arch/um/sys-x86_64/asm/elf.h b/arch/um/sys-x86_64/asm/elf.h index 49655c83efd2..d760967f33a7 100644 --- a/arch/um/sys-x86_64/asm/elf.h +++ b/arch/um/sys-x86_64/asm/elf.h | |||
@@ -95,6 +95,8 @@ typedef struct user_i387_struct elf_fpregset_t; | |||
95 | (pr_reg)[25] = 0; \ | 95 | (pr_reg)[25] = 0; \ |
96 | (pr_reg)[26] = 0; | 96 | (pr_reg)[26] = 0; |
97 | 97 | ||
98 | struct task_struct; | ||
99 | |||
98 | extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu); | 100 | extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu); |
99 | 101 | ||
100 | #define ELF_CORE_COPY_FPREGS(t, fpu) elf_core_copy_fpregs(t, fpu) | 102 | #define ELF_CORE_COPY_FPREGS(t, fpu) elf_core_copy_fpregs(t, fpu) |
diff --git a/arch/um/sys-x86_64/signal.c b/arch/um/sys-x86_64/signal.c index 1a899a7ed7a6..b6b65c7c7a7d 100644 --- a/arch/um/sys-x86_64/signal.c +++ b/arch/um/sys-x86_64/signal.c | |||
@@ -6,6 +6,7 @@ | |||
6 | 6 | ||
7 | #include <linux/personality.h> | 7 | #include <linux/personality.h> |
8 | #include <linux/ptrace.h> | 8 | #include <linux/ptrace.h> |
9 | #include <linux/kernel.h> | ||
9 | #include <asm/unistd.h> | 10 | #include <asm/unistd.h> |
10 | #include <asm/uaccess.h> | 11 | #include <asm/uaccess.h> |
11 | #include <asm/ucontext.h> | 12 | #include <asm/ucontext.h> |
@@ -165,8 +166,6 @@ struct rt_sigframe | |||
165 | struct _fpstate fpstate; | 166 | struct _fpstate fpstate; |
166 | }; | 167 | }; |
167 | 168 | ||
168 | #define round_down(m, n) (((m) / (n)) * (n)) | ||
169 | |||
170 | int setup_signal_stack_si(unsigned long stack_top, int sig, | 169 | int setup_signal_stack_si(unsigned long stack_top, int sig, |
171 | struct k_sigaction *ka, struct pt_regs * regs, | 170 | struct k_sigaction *ka, struct pt_regs * regs, |
172 | siginfo_t *info, sigset_t *set) | 171 | siginfo_t *info, sigset_t *set) |
diff --git a/arch/x86/include/asm/percpu.h b/arch/x86/include/asm/percpu.h index 66a272dfd8b8..9899afa0283e 100644 --- a/arch/x86/include/asm/percpu.h +++ b/arch/x86/include/asm/percpu.h | |||
@@ -105,7 +105,7 @@ do { \ | |||
105 | 105 | ||
106 | /* | 106 | /* |
107 | * Generate a percpu add to memory instruction and optimize code | 107 | * Generate a percpu add to memory instruction and optimize code |
108 | * if a one is added or subtracted. | 108 | * if one is added or subtracted. |
109 | */ | 109 | */ |
110 | #define percpu_add_op(var, val) \ | 110 | #define percpu_add_op(var, val) \ |
111 | do { \ | 111 | do { \ |
diff --git a/crypto/Kconfig b/crypto/Kconfig index 403857ad06d4..9d9434f08c92 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -28,7 +28,7 @@ config CRYPTO_FIPS | |||
28 | This options enables the fips boot option which is | 28 | This options enables the fips boot option which is |
29 | required if you want to system to operate in a FIPS 200 | 29 | required if you want to system to operate in a FIPS 200 |
30 | certification. You should say no unless you know what | 30 | certification. You should say no unless you know what |
31 | this is. Note that CRYPTO_ANSI_CPRNG is requred if this | 31 | this is. Note that CRYPTO_ANSI_CPRNG is required if this |
32 | option is selected | 32 | option is selected |
33 | 33 | ||
34 | config CRYPTO_ALGAPI | 34 | config CRYPTO_ALGAPI |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 7594f65800cf..4bc1c4178f50 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1406,7 +1406,7 @@ acpi_os_invalidate_address( | |||
1406 | switch (space_id) { | 1406 | switch (space_id) { |
1407 | case ACPI_ADR_SPACE_SYSTEM_IO: | 1407 | case ACPI_ADR_SPACE_SYSTEM_IO: |
1408 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: | 1408 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: |
1409 | /* Only interference checks against SystemIO and SytemMemory | 1409 | /* Only interference checks against SystemIO and SystemMemory |
1410 | are needed */ | 1410 | are needed */ |
1411 | res.start = address; | 1411 | res.start = address; |
1412 | res.end = address + length - 1; | 1412 | res.end = address + length - 1; |
@@ -1458,7 +1458,7 @@ acpi_os_validate_address ( | |||
1458 | switch (space_id) { | 1458 | switch (space_id) { |
1459 | case ACPI_ADR_SPACE_SYSTEM_IO: | 1459 | case ACPI_ADR_SPACE_SYSTEM_IO: |
1460 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: | 1460 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: |
1461 | /* Only interference checks against SystemIO and SytemMemory | 1461 | /* Only interference checks against SystemIO and SystemMemory |
1462 | are needed */ | 1462 | are needed */ |
1463 | res = kzalloc(sizeof(struct acpi_res_list), GFP_KERNEL); | 1463 | res = kzalloc(sizeof(struct acpi_res_list), GFP_KERNEL); |
1464 | if (!res) | 1464 | if (!res) |
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index ddc76787b842..f74d3b31e5c9 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c | |||
@@ -172,7 +172,6 @@ static int acpi_power_get_list_state(struct acpi_handle_list *list, int *state) | |||
172 | return -EINVAL; | 172 | return -EINVAL; |
173 | 173 | ||
174 | /* The state of the list is 'on' IFF all resources are 'on'. */ | 174 | /* The state of the list is 'on' IFF all resources are 'on'. */ |
175 | /* */ | ||
176 | 175 | ||
177 | for (i = 0; i < list->count; i++) { | 176 | for (i = 0; i < list->count; i++) { |
178 | /* | 177 | /* |
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 83bc49fac9bb..ec52fc618763 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -43,7 +43,7 @@ | |||
43 | * driver the list of errata that are relevant is below, going back to | 43 | * driver the list of errata that are relevant is below, going back to |
44 | * PIIX4. Older device documentation is now a bit tricky to find. | 44 | * PIIX4. Older device documentation is now a bit tricky to find. |
45 | * | 45 | * |
46 | * The chipsets all follow very much the same design. The orginal Triton | 46 | * The chipsets all follow very much the same design. The original Triton |
47 | * series chipsets do _not_ support independant device timings, but this | 47 | * series chipsets do _not_ support independant device timings, but this |
48 | * is fixed in Triton II. With the odd mobile exception the chips then | 48 | * is fixed in Triton II. With the odd mobile exception the chips then |
49 | * change little except in gaining more modes until SATA arrives. This | 49 | * change little except in gaining more modes until SATA arrives. This |
diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index 7fef305774de..89d871ef8c2f 100644 --- a/drivers/char/bsr.c +++ b/drivers/char/bsr.c | |||
@@ -253,7 +253,7 @@ static int bsr_add_node(struct device_node *bn) | |||
253 | 253 | ||
254 | cur->bsr_device = device_create(bsr_class, NULL, cur->bsr_dev, | 254 | cur->bsr_device = device_create(bsr_class, NULL, cur->bsr_dev, |
255 | cur, cur->bsr_name); | 255 | cur, cur->bsr_name); |
256 | if (!cur->bsr_device) { | 256 | if (IS_ERR(cur->bsr_device)) { |
257 | printk(KERN_ERR "device_create failed for %s\n", | 257 | printk(KERN_ERR "device_create failed for %s\n", |
258 | cur->bsr_name); | 258 | cur->bsr_name); |
259 | cdev_del(&cur->bsr_cdev); | 259 | cdev_del(&cur->bsr_cdev); |
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index 0cf4d7f562c5..c9388fbb3bcc 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c | |||
@@ -1346,7 +1346,7 @@ static void bus_reset_tasklet(unsigned long data) | |||
1346 | * was set up before this reset, the old one is now no longer | 1346 | * was set up before this reset, the old one is now no longer |
1347 | * in use and we can free it. Update the config rom pointers | 1347 | * in use and we can free it. Update the config rom pointers |
1348 | * to point to the current config rom and clear the | 1348 | * to point to the current config rom and clear the |
1349 | * next_config_rom pointer so a new udpate can take place. | 1349 | * next_config_rom pointer so a new update can take place. |
1350 | */ | 1350 | */ |
1351 | 1351 | ||
1352 | if (ohci->next_config_rom != NULL) { | 1352 | if (ohci->next_config_rom != NULL) { |
diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index f7ba82ebf65a..2092e7bb788f 100644 --- a/drivers/gpu/drm/drm_bufs.c +++ b/drivers/gpu/drm/drm_bufs.c | |||
@@ -961,7 +961,7 @@ int drm_addbufs_pci(struct drm_device * dev, struct drm_buf_desc * request) | |||
961 | dma->buflist[i + dma->buf_count] = &entry->buflist[i]; | 961 | dma->buflist[i + dma->buf_count] = &entry->buflist[i]; |
962 | } | 962 | } |
963 | 963 | ||
964 | /* No allocations failed, so now we can replace the orginal pagelist | 964 | /* No allocations failed, so now we can replace the original pagelist |
965 | * with the new one. | 965 | * with the new one. |
966 | */ | 966 | */ |
967 | if (dma->page_count) { | 967 | if (dma->page_count) { |
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index e7356fb6c918..9c920396d702 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -905,9 +905,9 @@ intel_g4x_find_best_PLL(const intel_limit_t *limit, struct drm_crtc *crtc, | |||
905 | 905 | ||
906 | memset(best_clock, 0, sizeof(*best_clock)); | 906 | memset(best_clock, 0, sizeof(*best_clock)); |
907 | max_n = limit->n.max; | 907 | max_n = limit->n.max; |
908 | /* based on hardware requriment prefer smaller n to precision */ | 908 | /* based on hardware requirement, prefer smaller n to precision */ |
909 | for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { | 909 | for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { |
910 | /* based on hardware requirment prefere larger m1,m2 */ | 910 | /* based on hardware requirement, prefere larger m1,m2 */ |
911 | for (clock.m1 = limit->m1.max; | 911 | for (clock.m1 = limit->m1.max; |
912 | clock.m1 >= limit->m1.min; clock.m1--) { | 912 | clock.m1 >= limit->m1.min; clock.m1--) { |
913 | for (clock.m2 = limit->m2.max; | 913 | for (clock.m2 = limit->m2.max; |
diff --git a/drivers/gpu/drm/radeon/atombios.h b/drivers/gpu/drm/radeon/atombios.h index 6732b5dd8ff4..e91a815861f4 100644 --- a/drivers/gpu/drm/radeon/atombios.h +++ b/drivers/gpu/drm/radeon/atombios.h | |||
@@ -3780,7 +3780,7 @@ typedef struct _ATOM_ASIC_SS_ASSIGNMENT | |||
3780 | UCHAR ucReserved[2]; | 3780 | UCHAR ucReserved[2]; |
3781 | }ATOM_ASIC_SS_ASSIGNMENT; | 3781 | }ATOM_ASIC_SS_ASSIGNMENT; |
3782 | 3782 | ||
3783 | //Define ucClockIndication, SW uses the IDs below to search if the SS is requried/enabled on a clock branch/signal type. | 3783 | //Define ucClockIndication, SW uses the IDs below to search if the SS is required/enabled on a clock branch/signal type. |
3784 | //SS is not required or enabled if a match is not found. | 3784 | //SS is not required or enabled if a match is not found. |
3785 | #define ASIC_INTERNAL_MEMORY_SS 1 | 3785 | #define ASIC_INTERNAL_MEMORY_SS 1 |
3786 | #define ASIC_INTERNAL_ENGINE_SS 2 | 3786 | #define ASIC_INTERNAL_ENGINE_SS 2 |
@@ -5895,7 +5895,7 @@ typedef struct _ATOM_PPLIB_RS780_CLOCK_INFO | |||
5895 | UCHAR ucPadding; // For proper alignment and size. | 5895 | UCHAR ucPadding; // For proper alignment and size. |
5896 | USHORT usVDDC; // For the 780, use: None, Low, High, Variable | 5896 | USHORT usVDDC; // For the 780, use: None, Low, High, Variable |
5897 | UCHAR ucMaxHTLinkWidth; // From SBIOS - {2, 4, 8, 16} | 5897 | UCHAR ucMaxHTLinkWidth; // From SBIOS - {2, 4, 8, 16} |
5898 | UCHAR ucMinHTLinkWidth; // From SBIOS - {2, 4, 8, 16}. Effective only if CDLW enabled. Minimum down stream width could be bigger as display BW requriement. | 5898 | UCHAR ucMinHTLinkWidth; // From SBIOS - {2, 4, 8, 16}. Effective only if CDLW enabled. Minimum down stream width could be bigger as display BW requirement. |
5899 | USHORT usHTLinkFreq; // See definition ATOM_PPLIB_RS780_HTLINKFREQ_xxx or in MHz(>=200). | 5899 | USHORT usHTLinkFreq; // See definition ATOM_PPLIB_RS780_HTLINKFREQ_xxx or in MHz(>=200). |
5900 | ULONG ulFlags; | 5900 | ULONG ulFlags; |
5901 | } ATOM_PPLIB_RS780_CLOCK_INFO; | 5901 | } ATOM_PPLIB_RS780_CLOCK_INFO; |
diff --git a/drivers/infiniband/hw/ipath/ipath_iba6110.c b/drivers/infiniband/hw/ipath/ipath_iba6110.c index 37d12e5efa49..1d7aea132a09 100644 --- a/drivers/infiniband/hw/ipath/ipath_iba6110.c +++ b/drivers/infiniband/hw/ipath/ipath_iba6110.c | |||
@@ -1474,7 +1474,7 @@ static void ipath_ht_quiet_serdes(struct ipath_devdata *dd) | |||
1474 | /** | 1474 | /** |
1475 | * ipath_pe_put_tid - write a TID in chip | 1475 | * ipath_pe_put_tid - write a TID in chip |
1476 | * @dd: the infinipath device | 1476 | * @dd: the infinipath device |
1477 | * @tidptr: pointer to the expected TID (in chip) to udpate | 1477 | * @tidptr: pointer to the expected TID (in chip) to update |
1478 | * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected | 1478 | * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected |
1479 | * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing | 1479 | * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing |
1480 | * | 1480 | * |
diff --git a/drivers/infiniband/hw/ipath/ipath_iba6120.c b/drivers/infiniband/hw/ipath/ipath_iba6120.c index fbf8c5379ea8..4b4a30b0dabd 100644 --- a/drivers/infiniband/hw/ipath/ipath_iba6120.c +++ b/drivers/infiniband/hw/ipath/ipath_iba6120.c | |||
@@ -1328,7 +1328,7 @@ bail: | |||
1328 | /** | 1328 | /** |
1329 | * ipath_pe_put_tid - write a TID in chip | 1329 | * ipath_pe_put_tid - write a TID in chip |
1330 | * @dd: the infinipath device | 1330 | * @dd: the infinipath device |
1331 | * @tidptr: pointer to the expected TID (in chip) to udpate | 1331 | * @tidptr: pointer to the expected TID (in chip) to update |
1332 | * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected | 1332 | * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected |
1333 | * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing | 1333 | * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing |
1334 | * | 1334 | * |
@@ -1394,7 +1394,7 @@ static void ipath_pe_put_tid(struct ipath_devdata *dd, u64 __iomem *tidptr, | |||
1394 | /** | 1394 | /** |
1395 | * ipath_pe_put_tid_2 - write a TID in chip, Revision 2 or higher | 1395 | * ipath_pe_put_tid_2 - write a TID in chip, Revision 2 or higher |
1396 | * @dd: the infinipath device | 1396 | * @dd: the infinipath device |
1397 | * @tidptr: pointer to the expected TID (in chip) to udpate | 1397 | * @tidptr: pointer to the expected TID (in chip) to update |
1398 | * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected | 1398 | * @tidtype: RCVHQ_RCV_TYPE_EAGER (1) for eager, RCVHQ_RCV_TYPE_EXPECTED (0) for expected |
1399 | * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing | 1399 | * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing |
1400 | * | 1400 | * |
diff --git a/drivers/infiniband/hw/ipath/ipath_iba7220.c b/drivers/infiniband/hw/ipath/ipath_iba7220.c index a805402dd4ae..34b778ed97fc 100644 --- a/drivers/infiniband/hw/ipath/ipath_iba7220.c +++ b/drivers/infiniband/hw/ipath/ipath_iba7220.c | |||
@@ -1738,7 +1738,7 @@ bail: | |||
1738 | /** | 1738 | /** |
1739 | * ipath_7220_put_tid - write a TID to the chip | 1739 | * ipath_7220_put_tid - write a TID to the chip |
1740 | * @dd: the infinipath device | 1740 | * @dd: the infinipath device |
1741 | * @tidptr: pointer to the expected TID (in chip) to udpate | 1741 | * @tidptr: pointer to the expected TID (in chip) to update |
1742 | * @tidtype: 0 for eager, 1 for expected | 1742 | * @tidtype: 0 for eager, 1 for expected |
1743 | * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing | 1743 | * @pa: physical address of in memory buffer; ipath_tidinvalid if freeing |
1744 | * | 1744 | * |
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index 75e71b5d9215..095ed76ebe80 100644 --- a/drivers/isdn/hardware/mISDN/hfcmulti.c +++ b/drivers/isdn/hardware/mISDN/hfcmulti.c | |||
@@ -117,7 +117,7 @@ | |||
117 | * NOTE: only one mode value must be given for every card. | 117 | * NOTE: only one mode value must be given for every card. |
118 | * -> See hfc_multi.h for HFC_IO_MODE_* values | 118 | * -> See hfc_multi.h for HFC_IO_MODE_* values |
119 | * By default, the IO mode is pci memory IO (MEMIO). | 119 | * By default, the IO mode is pci memory IO (MEMIO). |
120 | * Some cards requre specific IO mode, so it cannot be changed. | 120 | * Some cards require specific IO mode, so it cannot be changed. |
121 | * It may be usefull to set IO mode to register io (REGIO) to solve | 121 | * It may be usefull to set IO mode to register io (REGIO) to solve |
122 | * PCI bridge problems. | 122 | * PCI bridge problems. |
123 | * If unsure, don't give this parameter. | 123 | * If unsure, don't give this parameter. |
diff --git a/drivers/isdn/hisax/hfc4s8s_l1.c b/drivers/isdn/hisax/hfc4s8s_l1.c index 051b44e2556c..384d5118e325 100644 --- a/drivers/isdn/hisax/hfc4s8s_l1.c +++ b/drivers/isdn/hisax/hfc4s8s_l1.c | |||
@@ -310,7 +310,7 @@ wait_busy(hfc4s8s_hw * a) | |||
310 | 310 | ||
311 | /******************************************************/ | 311 | /******************************************************/ |
312 | /* function to read critical counter registers that */ | 312 | /* function to read critical counter registers that */ |
313 | /* may be udpated by the chip during read */ | 313 | /* may be updated by the chip during read */ |
314 | /******************************************************/ | 314 | /******************************************************/ |
315 | static u_char | 315 | static u_char |
316 | Read_hfc8_stable(hfc4s8s_hw * hw, int reg) | 316 | Read_hfc8_stable(hfc4s8s_hw * hw, int reg) |
diff --git a/drivers/macintosh/windfarm_pm81.c b/drivers/macintosh/windfarm_pm81.c index 565d5b2adc95..129cda737880 100644 --- a/drivers/macintosh/windfarm_pm81.c +++ b/drivers/macintosh/windfarm_pm81.c | |||
@@ -188,7 +188,7 @@ struct wf_smu_sys_fans_state { | |||
188 | }; | 188 | }; |
189 | 189 | ||
190 | /* | 190 | /* |
191 | * Configs for SMU Sytem Fan control loop | 191 | * Configs for SMU System Fan control loop |
192 | */ | 192 | */ |
193 | static struct wf_smu_sys_fans_param wf_smu_sys_all_params[] = { | 193 | static struct wf_smu_sys_fans_param wf_smu_sys_all_params[] = { |
194 | /* Model ID 2 */ | 194 | /* Model ID 2 */ |
diff --git a/drivers/media/dvb/dvb-usb/friio-fe.c b/drivers/media/dvb/dvb-usb/friio-fe.c index d14bd227b502..93c21ddd0b77 100644 --- a/drivers/media/dvb/dvb-usb/friio-fe.c +++ b/drivers/media/dvb/dvb-usb/friio-fe.c | |||
@@ -300,7 +300,7 @@ static int jdvbt90502_set_frontend(struct dvb_frontend *fe, | |||
300 | struct dvb_frontend_parameters *p) | 300 | struct dvb_frontend_parameters *p) |
301 | { | 301 | { |
302 | /** | 302 | /** |
303 | * NOTE: ignore all the paramters except frequency. | 303 | * NOTE: ignore all the parameters except frequency. |
304 | * others should be fixed to the proper value for ISDB-T, | 304 | * others should be fixed to the proper value for ISDB-T, |
305 | * but don't check here. | 305 | * but don't check here. |
306 | */ | 306 | */ |
diff --git a/drivers/net/bnx2x_hsi.h b/drivers/net/bnx2x_hsi.h index 760069345b11..fd1f29e0317d 100644 --- a/drivers/net/bnx2x_hsi.h +++ b/drivers/net/bnx2x_hsi.h | |||
@@ -683,7 +683,7 @@ struct drv_func_mb { | |||
683 | #define DRV_MSG_CODE_GET_MANUF_KEY 0x82000000 | 683 | #define DRV_MSG_CODE_GET_MANUF_KEY 0x82000000 |
684 | #define DRV_MSG_CODE_LOAD_L2B_PRAM 0x90000000 | 684 | #define DRV_MSG_CODE_LOAD_L2B_PRAM 0x90000000 |
685 | /* | 685 | /* |
686 | * The optic module verification commands requris bootcode | 686 | * The optic module verification commands require bootcode |
687 | * v5.0.6 or later | 687 | * v5.0.6 or later |
688 | */ | 688 | */ |
689 | #define DRV_MSG_CODE_VRFY_OPT_MDL 0xa0000000 | 689 | #define DRV_MSG_CODE_VRFY_OPT_MDL 0xa0000000 |
diff --git a/drivers/net/ps3_gelic_wireless.c b/drivers/net/ps3_gelic_wireless.c index f0be507e5324..369a8016b1ff 100644 --- a/drivers/net/ps3_gelic_wireless.c +++ b/drivers/net/ps3_gelic_wireless.c | |||
@@ -96,7 +96,7 @@ static inline int precise_ie(void) | |||
96 | * post_eurus_cmd helpers | 96 | * post_eurus_cmd helpers |
97 | */ | 97 | */ |
98 | struct eurus_cmd_arg_info { | 98 | struct eurus_cmd_arg_info { |
99 | int pre_arg; /* command requres arg1, arg2 at POST COMMAND */ | 99 | int pre_arg; /* command requires arg1, arg2 at POST COMMAND */ |
100 | int post_arg; /* command requires arg1, arg2 at GET_RESULT */ | 100 | int post_arg; /* command requires arg1, arg2 at GET_RESULT */ |
101 | }; | 101 | }; |
102 | 102 | ||
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index cbf520d38eac..ffbaa608e002 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -736,7 +736,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev) | |||
736 | SMSC_TRACE(HW, "configuring for carrier OK"); | 736 | SMSC_TRACE(HW, "configuring for carrier OK"); |
737 | if ((pdata->gpio_orig_setting & GPIO_CFG_LED1_EN_) && | 737 | if ((pdata->gpio_orig_setting & GPIO_CFG_LED1_EN_) && |
738 | (!pdata->using_extphy)) { | 738 | (!pdata->using_extphy)) { |
739 | /* Restore orginal GPIO configuration */ | 739 | /* Restore original GPIO configuration */ |
740 | pdata->gpio_setting = pdata->gpio_orig_setting; | 740 | pdata->gpio_setting = pdata->gpio_orig_setting; |
741 | smsc911x_reg_write(pdata, GPIO_CFG, | 741 | smsc911x_reg_write(pdata, GPIO_CFG, |
742 | pdata->gpio_setting); | 742 | pdata->gpio_setting); |
@@ -750,7 +750,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev) | |||
750 | if ((pdata->gpio_setting & GPIO_CFG_LED1_EN_) && | 750 | if ((pdata->gpio_setting & GPIO_CFG_LED1_EN_) && |
751 | (!pdata->using_extphy)) { | 751 | (!pdata->using_extphy)) { |
752 | /* Force 10/100 LED off, after saving | 752 | /* Force 10/100 LED off, after saving |
753 | * orginal GPIO configuration */ | 753 | * original GPIO configuration */ |
754 | pdata->gpio_orig_setting = pdata->gpio_setting; | 754 | pdata->gpio_orig_setting = pdata->gpio_setting; |
755 | 755 | ||
756 | pdata->gpio_setting &= ~GPIO_CFG_LED1_EN_; | 756 | pdata->gpio_setting &= ~GPIO_CFG_LED1_EN_; |
diff --git a/drivers/pci/hotplug/cpqphp_core.c b/drivers/pci/hotplug/cpqphp_core.c index f184d1d2ecbe..6644337d63d6 100644 --- a/drivers/pci/hotplug/cpqphp_core.c +++ b/drivers/pci/hotplug/cpqphp_core.c | |||
@@ -848,7 +848,7 @@ static int cpqhpc_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
848 | goto err_disable_device; | 848 | goto err_disable_device; |
849 | } | 849 | } |
850 | 850 | ||
851 | /* Check for the proper subsytem ID's | 851 | /* Check for the proper subsystem ID's |
852 | * Intel uses a different SSID programming model than Compaq. | 852 | * Intel uses a different SSID programming model than Compaq. |
853 | * For Intel, each SSID bit identifies a PHP capability. | 853 | * For Intel, each SSID bit identifies a PHP capability. |
854 | * Also Intel HPC's may have RID=0. | 854 | * Also Intel HPC's may have RID=0. |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 5ea587e59e48..9a3d3309f896 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -1507,7 +1507,7 @@ int pci_prepare_to_sleep(struct pci_dev *dev) | |||
1507 | * pci_back_from_sleep - turn PCI device on during system-wide transition into working state | 1507 | * pci_back_from_sleep - turn PCI device on during system-wide transition into working state |
1508 | * @dev: Device to handle. | 1508 | * @dev: Device to handle. |
1509 | * | 1509 | * |
1510 | * Disable device's sytem wake-up capability and put it into D0. | 1510 | * Disable device's system wake-up capability and put it into D0. |
1511 | */ | 1511 | */ |
1512 | int pci_back_from_sleep(struct pci_dev *dev) | 1512 | int pci_back_from_sleep(struct pci_dev *dev) |
1513 | { | 1513 | { |
diff --git a/drivers/ps3/ps3-sys-manager.c b/drivers/ps3/ps3-sys-manager.c index 3cbaf1811bd0..d37c445f0eda 100644 --- a/drivers/ps3/ps3-sys-manager.c +++ b/drivers/ps3/ps3-sys-manager.c | |||
@@ -119,7 +119,7 @@ enum ps3_sys_manager_service_id { | |||
119 | * enum ps3_sys_manager_attr - Notification attribute (bit position mask). | 119 | * enum ps3_sys_manager_attr - Notification attribute (bit position mask). |
120 | * @PS3_SM_ATTR_POWER: Power button. | 120 | * @PS3_SM_ATTR_POWER: Power button. |
121 | * @PS3_SM_ATTR_RESET: Reset button, not available on retail console. | 121 | * @PS3_SM_ATTR_RESET: Reset button, not available on retail console. |
122 | * @PS3_SM_ATTR_THERMAL: Sytem thermal alert. | 122 | * @PS3_SM_ATTR_THERMAL: System thermal alert. |
123 | * @PS3_SM_ATTR_CONTROLLER: Remote controller event. | 123 | * @PS3_SM_ATTR_CONTROLLER: Remote controller event. |
124 | * @PS3_SM_ATTR_ALL: Logical OR of all. | 124 | * @PS3_SM_ATTR_ALL: Logical OR of all. |
125 | * | 125 | * |
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 2b4e40d31190..51cf2bb37438 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -1540,7 +1540,7 @@ EXPORT_SYMBOL_GPL(regulator_count_voltages); | |||
1540 | * Context: can sleep | 1540 | * Context: can sleep |
1541 | * | 1541 | * |
1542 | * Returns a voltage that can be passed to @regulator_set_voltage(), | 1542 | * Returns a voltage that can be passed to @regulator_set_voltage(), |
1543 | * zero if this selector code can't be used on this sytem, or a | 1543 | * zero if this selector code can't be used on this system, or a |
1544 | * negative errno. | 1544 | * negative errno. |
1545 | */ | 1545 | */ |
1546 | int regulator_list_voltage(struct regulator *regulator, unsigned selector) | 1546 | int regulator_list_voltage(struct regulator *regulator, unsigned selector) |
diff --git a/drivers/rtc/rtc-rx8581.c b/drivers/rtc/rtc-rx8581.c index c9522f3bc21c..9718aaaa8215 100644 --- a/drivers/rtc/rtc-rx8581.c +++ b/drivers/rtc/rtc-rx8581.c | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * An I2C driver for the Epson RX8581 RTC | 2 | * An I2C driver for the Epson RX8581 RTC |
3 | * | 3 | * |
4 | * Author: Martyn Welch <martyn.welch@gefanuc.com> | 4 | * Author: Martyn Welch <martyn.welch@ge.com> |
5 | * Copyright 2008 GE Fanuc Intelligent Platforms Embedded Systems, Inc. | 5 | * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc. |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License version 2 as | 8 | * it under the terms of the GNU General Public License version 2 as |
@@ -272,7 +272,7 @@ static void __exit rx8581_exit(void) | |||
272 | i2c_del_driver(&rx8581_driver); | 272 | i2c_del_driver(&rx8581_driver); |
273 | } | 273 | } |
274 | 274 | ||
275 | MODULE_AUTHOR("Martyn Welch <martyn.welch@gefanuc.com>"); | 275 | MODULE_AUTHOR("Martyn Welch <martyn.welch@ge.com>"); |
276 | MODULE_DESCRIPTION("Epson RX-8581 RTC driver"); | 276 | MODULE_DESCRIPTION("Epson RX-8581 RTC driver"); |
277 | MODULE_LICENSE("GPL"); | 277 | MODULE_LICENSE("GPL"); |
278 | MODULE_VERSION(DRV_VERSION); | 278 | MODULE_VERSION(DRV_VERSION); |
diff --git a/drivers/rtc/rtc-stk17ta8.c b/drivers/rtc/rtc-stk17ta8.c index 875ba099e7a5..b53a00198dbe 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * A RTC driver for the Simtek STK17TA8 | 2 | * A RTC driver for the Simtek STK17TA8 |
3 | * | 3 | * |
4 | * By Thomas Hommel <thomas.hommel@gefanuc.com> | 4 | * By Thomas Hommel <thomas.hommel@ge.com> |
5 | * | 5 | * |
6 | * Based on the DS1553 driver from | 6 | * Based on the DS1553 driver from |
7 | * Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 7 | * Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
@@ -382,7 +382,7 @@ static __exit void stk17ta8_exit(void) | |||
382 | module_init(stk17ta8_init); | 382 | module_init(stk17ta8_init); |
383 | module_exit(stk17ta8_exit); | 383 | module_exit(stk17ta8_exit); |
384 | 384 | ||
385 | MODULE_AUTHOR("Thomas Hommel <thomas.hommel@gefanuc.com>"); | 385 | MODULE_AUTHOR("Thomas Hommel <thomas.hommel@ge.com>"); |
386 | MODULE_DESCRIPTION("Simtek STK17TA8 RTC driver"); | 386 | MODULE_DESCRIPTION("Simtek STK17TA8 RTC driver"); |
387 | MODULE_LICENSE("GPL"); | 387 | MODULE_LICENSE("GPL"); |
388 | MODULE_VERSION(DRV_VERSION); | 388 | MODULE_VERSION(DRV_VERSION); |
diff --git a/drivers/s390/char/sclp_cpi_sys.c b/drivers/s390/char/sclp_cpi_sys.c index 62c2647f37f4..4a51e3f09689 100644 --- a/drivers/s390/char/sclp_cpi_sys.c +++ b/drivers/s390/char/sclp_cpi_sys.c | |||
@@ -102,7 +102,7 @@ static struct sclp_req *cpi_prepare_req(void) | |||
102 | /* set system name */ | 102 | /* set system name */ |
103 | set_data(evb->system_name, system_name); | 103 | set_data(evb->system_name, system_name); |
104 | 104 | ||
105 | /* set sytem level */ | 105 | /* set system level */ |
106 | evb->system_level = system_level; | 106 | evb->system_level = system_level; |
107 | 107 | ||
108 | /* set sysplex name */ | 108 | /* set sysplex name */ |
diff --git a/drivers/scsi/bfa/include/defs/bfa_defs_cee.h b/drivers/scsi/bfa/include/defs/bfa_defs_cee.h index b0ac9ac15c5d..6eaf519eccdc 100644 --- a/drivers/scsi/bfa/include/defs/bfa_defs_cee.h +++ b/drivers/scsi/bfa/include/defs/bfa_defs_cee.h | |||
@@ -50,7 +50,7 @@ struct bfa_cee_lldp_str_s { | |||
50 | }; | 50 | }; |
51 | 51 | ||
52 | 52 | ||
53 | /* LLDP paramters */ | 53 | /* LLDP parameters */ |
54 | struct bfa_cee_lldp_cfg_s { | 54 | struct bfa_cee_lldp_cfg_s { |
55 | struct bfa_cee_lldp_str_s chassis_id; | 55 | struct bfa_cee_lldp_str_s chassis_id; |
56 | struct bfa_cee_lldp_str_s port_id; | 56 | struct bfa_cee_lldp_str_s port_id; |
diff --git a/drivers/scsi/bfa/include/defs/bfa_defs_status.h b/drivers/scsi/bfa/include/defs/bfa_defs_status.h index 4374494bd566..ec78b4cb121a 100644 --- a/drivers/scsi/bfa/include/defs/bfa_defs_status.h +++ b/drivers/scsi/bfa/include/defs/bfa_defs_status.h | |||
@@ -223,9 +223,9 @@ enum bfa_status { | |||
223 | BFA_STATUS_IM_PVID_NON_ZERO = 140, /* Port VLAN ID (PVID) is Set to | 223 | BFA_STATUS_IM_PVID_NON_ZERO = 140, /* Port VLAN ID (PVID) is Set to |
224 | * Non-Zero Value */ | 224 | * Non-Zero Value */ |
225 | BFA_STATUS_IM_INETCFG_LOCK_FAILED = 141, /* Acquiring Network | 225 | BFA_STATUS_IM_INETCFG_LOCK_FAILED = 141, /* Acquiring Network |
226 | * Subsytem Lock Failed.Please | 226 | * Subsystem Lock Failed.Please |
227 | * try after some time */ | 227 | * try after some time */ |
228 | BFA_STATUS_IM_GET_INETCFG_FAILED = 142, /* Acquiring Network Subsytem | 228 | BFA_STATUS_IM_GET_INETCFG_FAILED = 142, /* Acquiring Network Subsystem |
229 | * handle Failed. Please try | 229 | * handle Failed. Please try |
230 | * after some time */ | 230 | * after some time */ |
231 | BFA_STATUS_IM_NOT_BOUND = 143, /* IM driver is not active */ | 231 | BFA_STATUS_IM_NOT_BOUND = 143, /* IM driver is not active */ |
diff --git a/drivers/spi/spi_mpc8xxx.c b/drivers/spi/spi_mpc8xxx.c index 14d052316502..e324627d97a2 100644 --- a/drivers/spi/spi_mpc8xxx.c +++ b/drivers/spi/spi_mpc8xxx.c | |||
@@ -640,7 +640,7 @@ static int mpc8xxx_spi_setup(struct spi_device *spi) | |||
640 | } | 640 | } |
641 | mpc8xxx_spi = spi_master_get_devdata(spi->master); | 641 | mpc8xxx_spi = spi_master_get_devdata(spi->master); |
642 | 642 | ||
643 | hw_mode = cs->hw_mode; /* Save orginal settings */ | 643 | hw_mode = cs->hw_mode; /* Save original settings */ |
644 | cs->hw_mode = mpc8xxx_spi_read_reg(&mpc8xxx_spi->base->mode); | 644 | cs->hw_mode = mpc8xxx_spi_read_reg(&mpc8xxx_spi->base->mode); |
645 | /* mask out bits we are going to set */ | 645 | /* mask out bits we are going to set */ |
646 | cs->hw_mode &= ~(SPMODE_CP_BEGIN_EDGECLK | SPMODE_CI_INACTIVEHIGH | 646 | cs->hw_mode &= ~(SPMODE_CP_BEGIN_EDGECLK | SPMODE_CI_INACTIVEHIGH |
diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index ed3070edcac1..4fcc4351e73f 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c | |||
@@ -25,19 +25,19 @@ | |||
25 | * Date: May 20, 2003 | 25 | * Date: May 20, 2003 |
26 | * | 26 | * |
27 | * Functions: | 27 | * Functions: |
28 | * s_vGenerateTxParameter - Generate tx dma requried parameter. | 28 | * s_vGenerateTxParameter - Generate tx dma required parameter. |
29 | * vGenerateMACHeader - Translate 802.3 to 802.11 header | 29 | * vGenerateMACHeader - Translate 802.3 to 802.11 header |
30 | * cbGetFragCount - Caculate fragement number count | 30 | * cbGetFragCount - Caculate fragment number count |
31 | * csBeacon_xmit - beacon tx function | 31 | * csBeacon_xmit - beacon tx function |
32 | * csMgmt_xmit - management tx function | 32 | * csMgmt_xmit - management tx function |
33 | * s_cbFillTxBufHead - fulfill tx dma buffer header | 33 | * s_cbFillTxBufHead - fulfill tx dma buffer header |
34 | * s_uGetDataDuration - get tx data required duration | 34 | * s_uGetDataDuration - get tx data required duration |
35 | * s_uFillDataHead- fulfill tx data duration header | 35 | * s_uFillDataHead- fulfill tx data duration header |
36 | * s_uGetRTSCTSDuration- get rtx/cts requried duration | 36 | * s_uGetRTSCTSDuration- get rtx/cts required duration |
37 | * s_uGetRTSCTSRsvTime- get rts/cts reserved time | 37 | * s_uGetRTSCTSRsvTime- get rts/cts reserved time |
38 | * s_uGetTxRsvTime- get frame reserved time | 38 | * s_uGetTxRsvTime- get frame reserved time |
39 | * s_vFillCTSHead- fulfill CTS ctl header | 39 | * s_vFillCTSHead- fulfill CTS ctl header |
40 | * s_vFillFragParameter- Set fragement ctl parameter. | 40 | * s_vFillFragParameter- Set fragment ctl parameter. |
41 | * s_vFillRTSHead- fulfill RTS ctl header | 41 | * s_vFillRTSHead- fulfill RTS ctl header |
42 | * s_vFillTxKey- fulfill tx encrypt key | 42 | * s_vFillTxKey- fulfill tx encrypt key |
43 | * s_vSWencryption- Software encrypt header | 43 | * s_vSWencryption- Software encrypt header |
@@ -877,7 +877,7 @@ s_vFillRTSHead ( | |||
877 | } | 877 | } |
878 | 878 | ||
879 | // Note: So far RTSHead dosen't appear in ATIM & Beacom DMA, so we don't need to take them into account. | 879 | // Note: So far RTSHead dosen't appear in ATIM & Beacom DMA, so we don't need to take them into account. |
880 | // Otherwise, we need to modified codes for them. | 880 | // Otherwise, we need to modify codes for them. |
881 | if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { | 881 | if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { |
882 | if (byFBOption == AUTO_FB_NONE) { | 882 | if (byFBOption == AUTO_FB_NONE) { |
883 | PSRTS_g pBuf = (PSRTS_g)pvRTS; | 883 | PSRTS_g pBuf = (PSRTS_g)pvRTS; |
@@ -1133,7 +1133,7 @@ s_vFillCTSHead ( | |||
1133 | * | 1133 | * |
1134 | * Parameters: | 1134 | * Parameters: |
1135 | * In: | 1135 | * In: |
1136 | * pDevice - Pointer to adpater | 1136 | * pDevice - Pointer to adapter |
1137 | * pTxDataHead - Transmit Data Buffer | 1137 | * pTxDataHead - Transmit Data Buffer |
1138 | * pTxBufHead - pTxBufHead | 1138 | * pTxBufHead - pTxBufHead |
1139 | * pvRrvTime - pvRrvTime | 1139 | * pvRrvTime - pvRrvTime |
@@ -2252,7 +2252,7 @@ vGenerateFIFOHeader ( | |||
2252 | * | 2252 | * |
2253 | * Parameters: | 2253 | * Parameters: |
2254 | * In: | 2254 | * In: |
2255 | * pDevice - Pointer to adpater | 2255 | * pDevice - Pointer to adapter |
2256 | * dwTxBufferAddr - Transmit Buffer | 2256 | * dwTxBufferAddr - Transmit Buffer |
2257 | * pPacket - Packet from upper layer | 2257 | * pPacket - Packet from upper layer |
2258 | * cbPacketSize - Transmit Data Length | 2258 | * cbPacketSize - Transmit Data Length |
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index d9fa36c95230..a2ce6fad8ee5 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c | |||
@@ -25,17 +25,17 @@ | |||
25 | * Date: May 20, 2003 | 25 | * Date: May 20, 2003 |
26 | * | 26 | * |
27 | * Functions: | 27 | * Functions: |
28 | * s_vGenerateTxParameter - Generate tx dma requried parameter. | 28 | * s_vGenerateTxParameter - Generate tx dma required parameter. |
29 | * s_vGenerateMACHeader - Translate 802.3 to 802.11 header | 29 | * s_vGenerateMACHeader - Translate 802.3 to 802.11 header |
30 | * csBeacon_xmit - beacon tx function | 30 | * csBeacon_xmit - beacon tx function |
31 | * csMgmt_xmit - management tx function | 31 | * csMgmt_xmit - management tx function |
32 | * s_uGetDataDuration - get tx data required duration | 32 | * s_uGetDataDuration - get tx data required duration |
33 | * s_uFillDataHead- fulfill tx data duration header | 33 | * s_uFillDataHead- fulfill tx data duration header |
34 | * s_uGetRTSCTSDuration- get rtx/cts requried duration | 34 | * s_uGetRTSCTSDuration- get rtx/cts required duration |
35 | * s_uGetRTSCTSRsvTime- get rts/cts reserved time | 35 | * s_uGetRTSCTSRsvTime- get rts/cts reserved time |
36 | * s_uGetTxRsvTime- get frame reserved time | 36 | * s_uGetTxRsvTime- get frame reserved time |
37 | * s_vFillCTSHead- fulfill CTS ctl header | 37 | * s_vFillCTSHead- fulfill CTS ctl header |
38 | * s_vFillFragParameter- Set fragement ctl parameter. | 38 | * s_vFillFragParameter- Set fragment ctl parameter. |
39 | * s_vFillRTSHead- fulfill RTS ctl header | 39 | * s_vFillRTSHead- fulfill RTS ctl header |
40 | * s_vFillTxKey- fulfill tx encrypt key | 40 | * s_vFillTxKey- fulfill tx encrypt key |
41 | * s_vSWencryption- Software encrypt header | 41 | * s_vSWencryption- Software encrypt header |
diff --git a/drivers/usb/wusbcore/wa-xfer.c b/drivers/usb/wusbcore/wa-xfer.c index 112ef7e26f6b..608d61a105f6 100644 --- a/drivers/usb/wusbcore/wa-xfer.c +++ b/drivers/usb/wusbcore/wa-xfer.c | |||
@@ -76,7 +76,7 @@ | |||
76 | * xfers-per-ripe, blocks-per-rpipe, rpipes-per-host), at the end | 76 | * xfers-per-ripe, blocks-per-rpipe, rpipes-per-host), at the end |
77 | * we are going to have to rebuild all this based on an scheduler, | 77 | * we are going to have to rebuild all this based on an scheduler, |
78 | * to where we have a list of transactions to do and based on the | 78 | * to where we have a list of transactions to do and based on the |
79 | * availability of the different requried components (blocks, | 79 | * availability of the different required components (blocks, |
80 | * rpipes, segment slots, etc), we go scheduling them. Painful. | 80 | * rpipes, segment slots, etc), we go scheduling them. Painful. |
81 | */ | 81 | */ |
82 | #include <linux/init.h> | 82 | #include <linux/init.h> |
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index 24747aef1952..95896f387927 100644 --- a/drivers/virtio/virtio_pci.c +++ b/drivers/virtio/virtio_pci.c | |||
@@ -655,7 +655,7 @@ static int __devinit virtio_pci_probe(struct pci_dev *pci_dev, | |||
655 | /* we use the subsystem vendor/device id as the virtio vendor/device | 655 | /* we use the subsystem vendor/device id as the virtio vendor/device |
656 | * id. this allows us to use the same PCI vendor/device id for all | 656 | * id. this allows us to use the same PCI vendor/device id for all |
657 | * virtio devices and to identify the particular virtio driver by | 657 | * virtio devices and to identify the particular virtio driver by |
658 | * the subsytem ids */ | 658 | * the subsystem ids */ |
659 | vp_dev->vdev.id.vendor = pci_dev->subsystem_vendor; | 659 | vp_dev->vdev.id.vendor = pci_dev->subsystem_vendor; |
660 | vp_dev->vdev.id.device = pci_dev->subsystem_device; | 660 | vp_dev->vdev.id.device = pci_dev->subsystem_device; |
661 | 661 | ||
diff --git a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c index 9e2f6a721668..c92ea3b3ea5e 100644 --- a/fs/jfs/jfs_dmap.c +++ b/fs/jfs/jfs_dmap.c | |||
@@ -2438,7 +2438,7 @@ dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) | |||
2438 | 2438 | ||
2439 | /* check if this is a control page update for an allocation. | 2439 | /* check if this is a control page update for an allocation. |
2440 | * if so, update the leaf to reflect the new leaf value using | 2440 | * if so, update the leaf to reflect the new leaf value using |
2441 | * dbSplit(); otherwise (deallocation), use dbJoin() to udpate | 2441 | * dbSplit(); otherwise (deallocation), use dbJoin() to update |
2442 | * the leaf with the new value. in addition to updating the | 2442 | * the leaf with the new value. in addition to updating the |
2443 | * leaf, dbSplit() will also split the binary buddy system of | 2443 | * leaf, dbSplit() will also split the binary buddy system of |
2444 | * the leaves, if required, and bubble new values within the | 2444 | * the leaves, if required, and bubble new values within the |
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c index c82af6acc2e7..b44bb835e8ea 100644 --- a/fs/omfs/inode.c +++ b/fs/omfs/inode.c | |||
@@ -3,7 +3,6 @@ | |||
3 | * Copyright (C) 2006 Bob Copeland <me@bobcopeland.com> | 3 | * Copyright (C) 2006 Bob Copeland <me@bobcopeland.com> |
4 | * Released under GPL v2. | 4 | * Released under GPL v2. |
5 | */ | 5 | */ |
6 | #include <linux/version.h> | ||
7 | #include <linux/module.h> | 6 | #include <linux/module.h> |
8 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
9 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index fb6784e86d5f..a63b77d89d30 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -496,7 +496,7 @@ struct twl4030_madc_platform_data { | |||
496 | int irq_line; | 496 | int irq_line; |
497 | }; | 497 | }; |
498 | 498 | ||
499 | /* Boards have uniqe mappings of {row, col} --> keycode. | 499 | /* Boards have unique mappings of {row, col} --> keycode. |
500 | * Column and row are 8 bits each, but range only from 0..7. | 500 | * Column and row are 8 bits each, but range only from 0..7. |
501 | * a PERSISTENT_KEY is "always on" and never reported. | 501 | * a PERSISTENT_KEY is "always on" and never reported. |
502 | */ | 502 | */ |
@@ -664,15 +664,15 @@ static inline int twl4030charger_usb_en(int enable) { return 0; } | |||
664 | #define TWL4030_REG_VUSB3V1 19 | 664 | #define TWL4030_REG_VUSB3V1 19 |
665 | 665 | ||
666 | /* TWL6030 SMPS/LDO's */ | 666 | /* TWL6030 SMPS/LDO's */ |
667 | /* EXTERNAL dc-to-dc buck convertor contollable via SR */ | 667 | /* EXTERNAL dc-to-dc buck convertor controllable via SR */ |
668 | #define TWL6030_REG_VDD1 30 | 668 | #define TWL6030_REG_VDD1 30 |
669 | #define TWL6030_REG_VDD2 31 | 669 | #define TWL6030_REG_VDD2 31 |
670 | #define TWL6030_REG_VDD3 32 | 670 | #define TWL6030_REG_VDD3 32 |
671 | 671 | ||
672 | /* Non SR compliant dc-to-dc buck convertors */ | 672 | /* Non SR compliant dc-to-dc buck convertors */ |
673 | #define TWL6030_REG_VMEM 33 | 673 | #define TWL6030_REG_VMEM 33 |
674 | #define TWL6030_REG_V2V1 34 | 674 | #define TWL6030_REG_V2V1 34 |
675 | #define TWL6030_REG_V1V29 35 | 675 | #define TWL6030_REG_V1V29 35 |
676 | #define TWL6030_REG_V1V8 36 | 676 | #define TWL6030_REG_V1V8 36 |
677 | 677 | ||
678 | /* EXTERNAL LDOs */ | 678 | /* EXTERNAL LDOs */ |
diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h index e117b1aee69c..9fad0527344f 100644 --- a/include/linux/kfifo.h +++ b/include/linux/kfifo.h | |||
@@ -201,7 +201,7 @@ static inline __must_check unsigned int kfifo_avail(struct kfifo *fifo) | |||
201 | * @n: the length of the data to be added. | 201 | * @n: the length of the data to be added. |
202 | * @lock: pointer to the spinlock to use for locking. | 202 | * @lock: pointer to the spinlock to use for locking. |
203 | * | 203 | * |
204 | * This function copies at most @len bytes from the @from buffer into | 204 | * This function copies at most @n bytes from the @from buffer into |
205 | * the FIFO depending on the free space, and returns the number of | 205 | * the FIFO depending on the free space, and returns the number of |
206 | * bytes copied. | 206 | * bytes copied. |
207 | */ | 207 | */ |
@@ -227,7 +227,7 @@ static inline unsigned int kfifo_in_locked(struct kfifo *fifo, | |||
227 | * @n: the size of the destination buffer. | 227 | * @n: the size of the destination buffer. |
228 | * @lock: pointer to the spinlock to use for locking. | 228 | * @lock: pointer to the spinlock to use for locking. |
229 | * | 229 | * |
230 | * This function copies at most @len bytes from the FIFO into the | 230 | * This function copies at most @n bytes from the FIFO into the |
231 | * @to buffer and returns the number of copied bytes. | 231 | * @to buffer and returns the number of copied bytes. |
232 | */ | 232 | */ |
233 | static inline __must_check unsigned int kfifo_out_locked(struct kfifo *fifo, | 233 | static inline __must_check unsigned int kfifo_out_locked(struct kfifo *fifo, |
diff --git a/include/linux/kobj_map.h b/include/linux/kobj_map.h index 73717ed9ea79..18ca75ffcc5a 100644 --- a/include/linux/kobj_map.h +++ b/include/linux/kobj_map.h | |||
@@ -1,3 +1,10 @@ | |||
1 | /* | ||
2 | * kobj_map.h | ||
3 | */ | ||
4 | |||
5 | #ifndef _KOBJ_MAP_H_ | ||
6 | #define _KOBJ_MAP_H_ | ||
7 | |||
1 | #include <linux/mutex.h> | 8 | #include <linux/mutex.h> |
2 | 9 | ||
3 | typedef struct kobject *kobj_probe_t(dev_t, int *, void *); | 10 | typedef struct kobject *kobj_probe_t(dev_t, int *, void *); |
@@ -8,3 +15,5 @@ int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *, | |||
8 | void kobj_unmap(struct kobj_map *, dev_t, unsigned long); | 15 | void kobj_unmap(struct kobj_map *, dev_t, unsigned long); |
9 | struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *); | 16 | struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *); |
10 | struct kobj_map *kobj_map_init(kobj_probe_t *, struct mutex *); | 17 | struct kobj_map *kobj_map_init(kobj_probe_t *, struct mutex *); |
18 | |||
19 | #endif /* _KOBJ_MAP_H_ */ | ||
diff --git a/include/linux/kref.h b/include/linux/kref.h index b0cb0ebad9e6..baf4b9e4b194 100644 --- a/include/linux/kref.h +++ b/include/linux/kref.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * kref.c - library routines for handling generic reference counted objects | 2 | * kref.h - library routines for handling generic reference counted objects |
3 | * | 3 | * |
4 | * Copyright (C) 2004 Greg Kroah-Hartman <greg@kroah.com> | 4 | * Copyright (C) 2004 Greg Kroah-Hartman <greg@kroah.com> |
5 | * Copyright (C) 2004 IBM Corp. | 5 | * Copyright (C) 2004 IBM Corp. |
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index e2769e13980c..06dbf97a7590 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -3609,7 +3609,7 @@ static void __init cgroup_init_subsys(struct cgroup_subsys *ss) | |||
3609 | * @ss: the subsystem to load | 3609 | * @ss: the subsystem to load |
3610 | * | 3610 | * |
3611 | * This function should be called in a modular subsystem's initcall. If the | 3611 | * This function should be called in a modular subsystem's initcall. If the |
3612 | * subsytem is built as a module, it will be assigned a new subsys_id and set | 3612 | * subsystem is built as a module, it will be assigned a new subsys_id and set |
3613 | * up for use. If the subsystem is built-in anyway, work is delegated to the | 3613 | * up for use. If the subsystem is built-in anyway, work is delegated to the |
3614 | * simpler cgroup_init_subsys. | 3614 | * simpler cgroup_init_subsys. |
3615 | */ | 3615 | */ |
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index f4ede99c8b9b..f0ff5a7af318 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -1438,7 +1438,7 @@ static void drain_local_stock(struct work_struct *dummy) | |||
1438 | 1438 | ||
1439 | /* | 1439 | /* |
1440 | * Cache charges(val) which is from res_counter, to local per_cpu area. | 1440 | * Cache charges(val) which is from res_counter, to local per_cpu area. |
1441 | * This will be consumed by consumt_stock() function, later. | 1441 | * This will be consumed by consume_stock() function, later. |
1442 | */ | 1442 | */ |
1443 | static void refill_stock(struct mem_cgroup *mem, int val) | 1443 | static void refill_stock(struct mem_cgroup *mem, int val) |
1444 | { | 1444 | { |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index d03c946d5566..a6326c71b663 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -2579,7 +2579,7 @@ static int default_zonelist_order(void) | |||
2579 | struct zone *z; | 2579 | struct zone *z; |
2580 | int average_size; | 2580 | int average_size; |
2581 | /* | 2581 | /* |
2582 | * ZONE_DMA and ZONE_DMA32 can be very small area in the sytem. | 2582 | * ZONE_DMA and ZONE_DMA32 can be very small area in the system. |
2583 | * If they are really small and used heavily, the system can fall | 2583 | * If they are really small and used heavily, the system can fall |
2584 | * into OOM very easily. | 2584 | * into OOM very easily. |
2585 | * This function detect ZONE_DMA/DMA32 size and confgigures zone order. | 2585 | * This function detect ZONE_DMA/DMA32 size and confgigures zone order. |
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 9d4f6d1340a4..30ac54b16d40 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -22,7 +22,7 @@ | |||
22 | * overflow. | 22 | * overflow. |
23 | * Carlos Picoto : PIMv1 Support | 23 | * Carlos Picoto : PIMv1 Support |
24 | * Pavlin Ivanov Radoslavov: PIMv2 Registers must checksum only PIM header | 24 | * Pavlin Ivanov Radoslavov: PIMv2 Registers must checksum only PIM header |
25 | * Relax this requrement to work with older peers. | 25 | * Relax this requirement to work with older peers. |
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | 28 | ||
diff --git a/net/wimax/op-rfkill.c b/net/wimax/op-rfkill.c index e978c7136c97..2609e445fe7d 100644 --- a/net/wimax/op-rfkill.c +++ b/net/wimax/op-rfkill.c | |||
@@ -43,7 +43,7 @@ | |||
43 | * wimax_rfkill() Kernel calling wimax_rfkill() | 43 | * wimax_rfkill() Kernel calling wimax_rfkill() |
44 | * __wimax_rf_toggle_radio() | 44 | * __wimax_rf_toggle_radio() |
45 | * | 45 | * |
46 | * wimax_rfkill_set_radio_block() RF-Kill subsytem calling | 46 | * wimax_rfkill_set_radio_block() RF-Kill subsystem calling |
47 | * __wimax_rf_toggle_radio() | 47 | * __wimax_rf_toggle_radio() |
48 | * | 48 | * |
49 | * __wimax_rf_toggle_radio() | 49 | * __wimax_rf_toggle_radio() |
diff --git a/scripts/kconfig/util.c b/scripts/kconfig/util.c index b6b2a46af14c..25d1ec4ca28a 100644 --- a/scripts/kconfig/util.c +++ b/scripts/kconfig/util.c | |||
@@ -72,7 +72,7 @@ int file_write_dep(const char *name) | |||
72 | } | 72 | } |
73 | 73 | ||
74 | 74 | ||
75 | /* Allocate initial growable sting */ | 75 | /* Allocate initial growable string */ |
76 | struct gstr str_new(void) | 76 | struct gstr str_new(void) |
77 | { | 77 | { |
78 | struct gstr gs; | 78 | struct gstr gs; |
diff --git a/scripts/package/mkspec b/scripts/package/mkspec index 47bdd2f99b78..fa27f3dac769 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # Output a simple RPM spec file that uses no fancy features requring | 3 | # Output a simple RPM spec file that uses no fancy features requiring |
4 | # RPM v4. This is intended to work with any RPM distro. | 4 | # RPM v4. This is intended to work with any RPM distro. |
5 | # | 5 | # |
6 | # The only gothic bit here is redefining install_post to avoid | 6 | # The only gothic bit here is redefining install_post to avoid |
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c index f18bd6207c50..66c7fb3ced3e 100644 --- a/sound/pci/emu10k1/emu10k1_main.c +++ b/sound/pci/emu10k1/emu10k1_main.c | |||
@@ -1787,7 +1787,7 @@ int __devinit snd_emu10k1_create(struct snd_card *card, | |||
1787 | else if (subsystem) | 1787 | else if (subsystem) |
1788 | snd_printdd("Sound card name = %s, " | 1788 | snd_printdd("Sound card name = %s, " |
1789 | "vendor = 0x%x, device = 0x%x, subsystem = 0x%x. " | 1789 | "vendor = 0x%x, device = 0x%x, subsystem = 0x%x. " |
1790 | "Forced to subsytem = 0x%x\n", c->name, | 1790 | "Forced to subsystem = 0x%x\n", c->name, |
1791 | pci->vendor, pci->device, emu->serial, c->subsystem); | 1791 | pci->vendor, pci->device, emu->serial, c->subsystem); |
1792 | else | 1792 | else |
1793 | snd_printdd("Sound card name = %s, " | 1793 | snd_printdd("Sound card name = %s, " |
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 7cee364976ff..7a97f126f6f7 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -361,7 +361,7 @@ struct hda_bus_unsolicited { | |||
361 | }; | 361 | }; |
362 | 362 | ||
363 | /* | 363 | /* |
364 | * Helper for automatic ping configuration | 364 | * Helper for automatic pin configuration |
365 | */ | 365 | */ |
366 | 366 | ||
367 | enum { | 367 | enum { |