aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/cgroups/cpusets.txt17
-rw-r--r--Documentation/cgroups/memory.txt5
-rw-r--r--Documentation/device-mapper/dm-crypt.txt2
-rw-r--r--Documentation/filesystems/romfs.txt3
-rw-r--r--Documentation/kbuild/kbuild.txt2
-rw-r--r--Documentation/kbuild/makefiles.txt3
-rw-r--r--Documentation/kvm/api.txt96
-rw-r--r--Documentation/sysctl/kernel.txt2
-rw-r--r--Documentation/vm/unevictable-lru.txt3
-rw-r--r--MAINTAINERS15
-rw-r--r--Makefile2
-rw-r--r--arch/alpha/include/asm/cacheflush.h2
-rw-r--r--arch/arm/mach-ux500/mbox-db5500.c2
-rw-r--r--arch/arm/plat-omap/Kconfig2
-rw-r--r--arch/avr32/mm/cache.c2
-rw-r--r--arch/cris/arch-v10/mm/init.c2
-rw-r--r--arch/ia64/include/asm/perfmon.h2
-rw-r--r--arch/x86/kernel/apic/io_apic.c2
-rw-r--r--arch/x86/oprofile/op_model_p4.c2
-rw-r--r--arch/xtensa/configs/s6105_defconfig2
-rw-r--r--drivers/atm/firestream.c2
-rw-r--r--drivers/block/smart1,2.h2
-rw-r--r--drivers/bluetooth/btusb.c4
-rw-r--r--drivers/cpuidle/sysfs.c2
-rw-r--r--drivers/dma/coh901318.c4
-rw-r--r--drivers/dma/shdma.c2
-rw-r--r--drivers/dma/timb_dma.c2
-rw-r--r--drivers/edac/i7300_edac.c2
-rw-r--r--drivers/edac/i82975x_edac.c69
-rw-r--r--drivers/firmware/dcdbas.c4
-rw-r--r--drivers/gpu/drm/drm_sman.c4
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c2
-rw-r--r--drivers/gpu/drm/radeon/r100.c10
-rw-r--r--drivers/gpu/drm/radeon/r300.c4
-rw-r--r--drivers/gpu/drm/radeon/r420.c4
-rw-r--r--drivers/gpu/drm/radeon/r520.c4
-rw-r--r--drivers/gpu/drm/radeon/r600.c2
-rw-r--r--drivers/gpu/drm/radeon/radeon_ring.c2
-rw-r--r--drivers/gpu/drm/radeon/rs400.c4
-rw-r--r--drivers/gpu/drm/radeon/rs600.c4
-rw-r--r--drivers/gpu/drm/radeon/rs690.c4
-rw-r--r--drivers/gpu/drm/radeon/rv515.c4
-rw-r--r--drivers/gpu/drm/radeon/rv770.c2
-rw-r--r--drivers/isdn/mISDN/hwchannel.c6
-rw-r--r--drivers/message/i2o/i2o_config.c3
-rw-r--r--drivers/mtd/nand/mxc_nand.c5
-rw-r--r--drivers/net/atl1c/atl1c.h4
-rw-r--r--drivers/net/qla3xxx.c2
-rw-r--r--drivers/net/sungem.h2
-rw-r--r--drivers/platform/x86/acer-wmi.c1
-rw-r--r--drivers/scsi/aic7xxx/aic79xx.h2
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx.h2
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_core.c2
-rw-r--r--drivers/scsi/megaraid.c4
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c2
-rw-r--r--drivers/scsi/osst.c10
-rw-r--r--drivers/scsi/qla4xxx/ql4_isr.c2
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c2
-rw-r--r--drivers/target/target_core_hba.c1
-rw-r--r--drivers/tty/hvc/hvcs.c2
-rw-r--r--drivers/tty/serial/pch_uart.c1
-rw-r--r--drivers/watchdog/sbc_epx_c3.c2
-rw-r--r--fs/btrfs/disk-io.c2
-rw-r--r--fs/dcache.c4
-rw-r--r--fs/direct-io.c6
-rw-r--r--fs/eventpoll.c12
-rw-r--r--fs/ext4/extents.c4
-rw-r--r--fs/fuse/cuse.c2
-rw-r--r--fs/notify/fanotify/fanotify_user.c2
-rw-r--r--fs/notify/inotify/inotify_user.c2
-rw-r--r--fs/ocfs2/dir.c2
-rw-r--r--include/asm-generic/user.h4
-rw-r--r--include/linux/mmzone.h2
-rw-r--r--init/Kconfig6
-rw-r--r--kernel/trace/ring_buffer.c2
-rw-r--r--mm/memory.c6
-rw-r--r--mm/mempolicy.c2
-rw-r--r--mm/shmem.c2
-rw-r--r--net/core/dev_addr_lists.c4
-rw-r--r--net/ipv6/inet6_hashtables.c2
-rw-r--r--net/mac80211/tx.c2
-rw-r--r--sound/pci/au88x0/au88x0.h4
-rw-r--r--sound/pci/au88x0/au88x0_core.c4
83 files changed, 228 insertions, 214 deletions
diff --git a/Documentation/cgroups/cpusets.txt b/Documentation/cgroups/cpusets.txt
index 5d0d5692a365..98a30829af7a 100644
--- a/Documentation/cgroups/cpusets.txt
+++ b/Documentation/cgroups/cpusets.txt
@@ -693,7 +693,7 @@ There are ways to query or modify cpusets:
693 - via the C library libcgroup. 693 - via the C library libcgroup.
694 (http://sourceforge.net/projects/libcg/) 694 (http://sourceforge.net/projects/libcg/)
695 - via the python application cset. 695 - via the python application cset.
696 (http://developer.novell.com/wiki/index.php/Cpuset) 696 (http://code.google.com/p/cpuset/)
697 697
698The sched_setaffinity calls can also be done at the shell prompt using 698The sched_setaffinity calls can also be done at the shell prompt using
699SGI's runon or Robert Love's taskset. The mbind and set_mempolicy 699SGI's runon or Robert Love's taskset. The mbind and set_mempolicy
@@ -725,13 +725,14 @@ Now you want to do something with this cpuset.
725 725
726In this directory you can find several files: 726In this directory you can find several files:
727# ls 727# ls
728cpuset.cpu_exclusive cpuset.memory_spread_slab 728cgroup.clone_children cpuset.memory_pressure
729cpuset.cpus cpuset.mems 729cgroup.event_control cpuset.memory_spread_page
730cpuset.mem_exclusive cpuset.sched_load_balance 730cgroup.procs cpuset.memory_spread_slab
731cpuset.mem_hardwall cpuset.sched_relax_domain_level 731cpuset.cpu_exclusive cpuset.mems
732cpuset.memory_migrate notify_on_release 732cpuset.cpus cpuset.sched_load_balance
733cpuset.memory_pressure tasks 733cpuset.mem_exclusive cpuset.sched_relax_domain_level
734cpuset.memory_spread_page 734cpuset.mem_hardwall notify_on_release
735cpuset.memory_migrate tasks
735 736
736Reading them will give you information about the state of this cpuset: 737Reading them will give you information about the state of this cpuset:
737the CPUs and Memory Nodes it can use, the processes that are using 738the CPUs and Memory Nodes it can use, the processes that are using
diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt
index 7781857dc940..b6ed61c95856 100644
--- a/Documentation/cgroups/memory.txt
+++ b/Documentation/cgroups/memory.txt
@@ -485,8 +485,9 @@ The feature can be disabled by
485 485
486# echo 0 > memory.use_hierarchy 486# echo 0 > memory.use_hierarchy
487 487
488NOTE1: Enabling/disabling will fail if the cgroup already has other 488NOTE1: Enabling/disabling will fail if either the cgroup already has other
489 cgroups created below it. 489 cgroups created below it, or if the parent cgroup has use_hierarchy
490 enabled.
490 491
491NOTE2: When panic_on_oom is set to "2", the whole system will panic in 492NOTE2: When panic_on_oom is set to "2", the whole system will panic in
492 case of an OOM event in any cgroup. 493 case of an OOM event in any cgroup.
diff --git a/Documentation/device-mapper/dm-crypt.txt b/Documentation/device-mapper/dm-crypt.txt
index 59293ac4a5d0..6b5c42dbbe84 100644
--- a/Documentation/device-mapper/dm-crypt.txt
+++ b/Documentation/device-mapper/dm-crypt.txt
@@ -41,7 +41,7 @@ Example scripts
41=============== 41===============
42LUKS (Linux Unified Key Setup) is now the preferred way to set up disk 42LUKS (Linux Unified Key Setup) is now the preferred way to set up disk
43encryption with dm-crypt using the 'cryptsetup' utility, see 43encryption with dm-crypt using the 'cryptsetup' utility, see
44http://clemens.endorphin.org/cryptography 44http://code.google.com/p/cryptsetup/
45 45
46[[ 46[[
47#!/bin/sh 47#!/bin/sh
diff --git a/Documentation/filesystems/romfs.txt b/Documentation/filesystems/romfs.txt
index 2d2a7b2a16b9..e2b07cc9120a 100644
--- a/Documentation/filesystems/romfs.txt
+++ b/Documentation/filesystems/romfs.txt
@@ -17,8 +17,7 @@ comparison, an actual rescue disk used up 3202 blocks with ext2, while
17with romfs, it needed 3079 blocks. 17with romfs, it needed 3079 blocks.
18 18
19To create such a file system, you'll need a user program named 19To create such a file system, you'll need a user program named
20genromfs. It is available via anonymous ftp on sunsite.unc.edu and 20genromfs. It is available on http://romfs.sourceforge.net/
21its mirrors, in the /pub/Linux/system/recovery/ directory.
22 21
23As the name suggests, romfs could be also used (space-efficiently) on 22As the name suggests, romfs could be also used (space-efficiently) on
24various read-only media, like (E)EPROM disks if someone will have the 23various read-only media, like (E)EPROM disks if someone will have the
diff --git a/Documentation/kbuild/kbuild.txt b/Documentation/kbuild/kbuild.txt
index 4a990317b84a..8f63b224ab09 100644
--- a/Documentation/kbuild/kbuild.txt
+++ b/Documentation/kbuild/kbuild.txt
@@ -146,7 +146,7 @@ INSTALL_MOD_STRIP
146INSTALL_MOD_STRIP, if defined, will cause modules to be 146INSTALL_MOD_STRIP, if defined, will cause modules to be
147stripped after they are installed. If INSTALL_MOD_STRIP is '1', then 147stripped after they are installed. If INSTALL_MOD_STRIP is '1', then
148the default option --strip-debug will be used. Otherwise, 148the default option --strip-debug will be used. Otherwise,
149INSTALL_MOD_STRIP will used as the options to the strip command. 149INSTALL_MOD_STRIP value will be used as the options to the strip command.
150 150
151INSTALL_FW_PATH 151INSTALL_FW_PATH
152-------------------------------------------------- 152--------------------------------------------------
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt
index 86e3cd0d26a0..5d145bb443c0 100644
--- a/Documentation/kbuild/makefiles.txt
+++ b/Documentation/kbuild/makefiles.txt
@@ -1325,7 +1325,8 @@ The top Makefile exports the following variables:
1325 If this variable is specified, will cause modules to be stripped 1325 If this variable is specified, will cause modules to be stripped
1326 after they are installed. If INSTALL_MOD_STRIP is '1', then the 1326 after they are installed. If INSTALL_MOD_STRIP is '1', then the
1327 default option --strip-debug will be used. Otherwise, 1327 default option --strip-debug will be used. Otherwise,
1328 INSTALL_MOD_STRIP will used as the option(s) to the strip command. 1328 INSTALL_MOD_STRIP value will be used as the option(s) to the strip
1329 command.
1329 1330
1330 1331
1331=== 9 Makefile language 1332=== 9 Makefile language
diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt
index ad85797c1cf0..9bef4e4cec50 100644
--- a/Documentation/kvm/api.txt
+++ b/Documentation/kvm/api.txt
@@ -166,7 +166,7 @@ Returns: 0 on success, -1 on error
166 166
167This ioctl is obsolete and has been removed. 167This ioctl is obsolete and has been removed.
168 168
1694.6 KVM_CREATE_VCPU 1694.7 KVM_CREATE_VCPU
170 170
171Capability: basic 171Capability: basic
172Architectures: all 172Architectures: all
@@ -177,7 +177,7 @@ Returns: vcpu fd on success, -1 on error
177This API adds a vcpu to a virtual machine. The vcpu id is a small integer 177This API adds a vcpu to a virtual machine. The vcpu id is a small integer
178in the range [0, max_vcpus). 178in the range [0, max_vcpus).
179 179
1804.7 KVM_GET_DIRTY_LOG (vm ioctl) 1804.8 KVM_GET_DIRTY_LOG (vm ioctl)
181 181
182Capability: basic 182Capability: basic
183Architectures: x86 183Architectures: x86
@@ -200,7 +200,7 @@ since the last call to this ioctl. Bit 0 is the first page in the
200memory slot. Ensure the entire structure is cleared to avoid padding 200memory slot. Ensure the entire structure is cleared to avoid padding
201issues. 201issues.
202 202
2034.8 KVM_SET_MEMORY_ALIAS 2034.9 KVM_SET_MEMORY_ALIAS
204 204
205Capability: basic 205Capability: basic
206Architectures: x86 206Architectures: x86
@@ -210,7 +210,7 @@ Returns: 0 (success), -1 (error)
210 210
211This ioctl is obsolete and has been removed. 211This ioctl is obsolete and has been removed.
212 212
2134.9 KVM_RUN 2134.10 KVM_RUN
214 214
215Capability: basic 215Capability: basic
216Architectures: all 216Architectures: all
@@ -226,7 +226,7 @@ obtained by mmap()ing the vcpu fd at offset 0, with the size given by
226KVM_GET_VCPU_MMAP_SIZE. The parameter block is formatted as a 'struct 226KVM_GET_VCPU_MMAP_SIZE. The parameter block is formatted as a 'struct
227kvm_run' (see below). 227kvm_run' (see below).
228 228
2294.10 KVM_GET_REGS 2294.11 KVM_GET_REGS
230 230
231Capability: basic 231Capability: basic
232Architectures: all 232Architectures: all
@@ -246,7 +246,7 @@ struct kvm_regs {
246 __u64 rip, rflags; 246 __u64 rip, rflags;
247}; 247};
248 248
2494.11 KVM_SET_REGS 2494.12 KVM_SET_REGS
250 250
251Capability: basic 251Capability: basic
252Architectures: all 252Architectures: all
@@ -258,7 +258,7 @@ Writes the general purpose registers into the vcpu.
258 258
259See KVM_GET_REGS for the data structure. 259See KVM_GET_REGS for the data structure.
260 260
2614.12 KVM_GET_SREGS 2614.13 KVM_GET_SREGS
262 262
263Capability: basic 263Capability: basic
264Architectures: x86 264Architectures: x86
@@ -283,7 +283,7 @@ interrupt_bitmap is a bitmap of pending external interrupts. At most
283one bit may be set. This interrupt has been acknowledged by the APIC 283one bit may be set. This interrupt has been acknowledged by the APIC
284but not yet injected into the cpu core. 284but not yet injected into the cpu core.
285 285
2864.13 KVM_SET_SREGS 2864.14 KVM_SET_SREGS
287 287
288Capability: basic 288Capability: basic
289Architectures: x86 289Architectures: x86
@@ -294,7 +294,7 @@ Returns: 0 on success, -1 on error
294Writes special registers into the vcpu. See KVM_GET_SREGS for the 294Writes special registers into the vcpu. See KVM_GET_SREGS for the
295data structures. 295data structures.
296 296
2974.14 KVM_TRANSLATE 2974.15 KVM_TRANSLATE
298 298
299Capability: basic 299Capability: basic
300Architectures: x86 300Architectures: x86
@@ -317,7 +317,7 @@ struct kvm_translation {
317 __u8 pad[5]; 317 __u8 pad[5];
318}; 318};
319 319
3204.15 KVM_INTERRUPT 3204.16 KVM_INTERRUPT
321 321
322Capability: basic 322Capability: basic
323Architectures: x86, ppc 323Architectures: x86, ppc
@@ -365,7 +365,7 @@ c) KVM_INTERRUPT_SET_LEVEL
365Note that any value for 'irq' other than the ones stated above is invalid 365Note that any value for 'irq' other than the ones stated above is invalid
366and incurs unexpected behavior. 366and incurs unexpected behavior.
367 367
3684.16 KVM_DEBUG_GUEST 3684.17 KVM_DEBUG_GUEST
369 369
370Capability: basic 370Capability: basic
371Architectures: none 371Architectures: none
@@ -375,7 +375,7 @@ Returns: -1 on error
375 375
376Support for this has been removed. Use KVM_SET_GUEST_DEBUG instead. 376Support for this has been removed. Use KVM_SET_GUEST_DEBUG instead.
377 377
3784.17 KVM_GET_MSRS 3784.18 KVM_GET_MSRS
379 379
380Capability: basic 380Capability: basic
381Architectures: x86 381Architectures: x86
@@ -403,7 +403,7 @@ Application code should set the 'nmsrs' member (which indicates the
403size of the entries array) and the 'index' member of each array entry. 403size of the entries array) and the 'index' member of each array entry.
404kvm will fill in the 'data' member. 404kvm will fill in the 'data' member.
405 405
4064.18 KVM_SET_MSRS 4064.19 KVM_SET_MSRS
407 407
408Capability: basic 408Capability: basic
409Architectures: x86 409Architectures: x86
@@ -418,7 +418,7 @@ Application code should set the 'nmsrs' member (which indicates the
418size of the entries array), and the 'index' and 'data' members of each 418size of the entries array), and the 'index' and 'data' members of each
419array entry. 419array entry.
420 420
4214.19 KVM_SET_CPUID 4214.20 KVM_SET_CPUID
422 422
423Capability: basic 423Capability: basic
424Architectures: x86 424Architectures: x86
@@ -446,7 +446,7 @@ struct kvm_cpuid {
446 struct kvm_cpuid_entry entries[0]; 446 struct kvm_cpuid_entry entries[0];
447}; 447};
448 448
4494.20 KVM_SET_SIGNAL_MASK 4494.21 KVM_SET_SIGNAL_MASK
450 450
451Capability: basic 451Capability: basic
452Architectures: x86 452Architectures: x86
@@ -468,7 +468,7 @@ struct kvm_signal_mask {
468 __u8 sigset[0]; 468 __u8 sigset[0];
469}; 469};
470 470
4714.21 KVM_GET_FPU 4714.22 KVM_GET_FPU
472 472
473Capability: basic 473Capability: basic
474Architectures: x86 474Architectures: x86
@@ -493,7 +493,7 @@ struct kvm_fpu {
493 __u32 pad2; 493 __u32 pad2;
494}; 494};
495 495
4964.22 KVM_SET_FPU 4964.23 KVM_SET_FPU
497 497
498Capability: basic 498Capability: basic
499Architectures: x86 499Architectures: x86
@@ -518,7 +518,7 @@ struct kvm_fpu {
518 __u32 pad2; 518 __u32 pad2;
519}; 519};
520 520
5214.23 KVM_CREATE_IRQCHIP 5214.24 KVM_CREATE_IRQCHIP
522 522
523Capability: KVM_CAP_IRQCHIP 523Capability: KVM_CAP_IRQCHIP
524Architectures: x86, ia64 524Architectures: x86, ia64
@@ -531,7 +531,7 @@ ioapic, a virtual PIC (two PICs, nested), and sets up future vcpus to have a
531local APIC. IRQ routing for GSIs 0-15 is set to both PIC and IOAPIC; GSI 16-23 531local APIC. IRQ routing for GSIs 0-15 is set to both PIC and IOAPIC; GSI 16-23
532only go to the IOAPIC. On ia64, a IOSAPIC is created. 532only go to the IOAPIC. On ia64, a IOSAPIC is created.
533 533
5344.24 KVM_IRQ_LINE 5344.25 KVM_IRQ_LINE
535 535
536Capability: KVM_CAP_IRQCHIP 536Capability: KVM_CAP_IRQCHIP
537Architectures: x86, ia64 537Architectures: x86, ia64
@@ -552,7 +552,7 @@ struct kvm_irq_level {
552 __u32 level; /* 0 or 1 */ 552 __u32 level; /* 0 or 1 */
553}; 553};
554 554
5554.25 KVM_GET_IRQCHIP 5554.26 KVM_GET_IRQCHIP
556 556
557Capability: KVM_CAP_IRQCHIP 557Capability: KVM_CAP_IRQCHIP
558Architectures: x86, ia64 558Architectures: x86, ia64
@@ -573,7 +573,7 @@ struct kvm_irqchip {
573 } chip; 573 } chip;
574}; 574};
575 575
5764.26 KVM_SET_IRQCHIP 5764.27 KVM_SET_IRQCHIP
577 577
578Capability: KVM_CAP_IRQCHIP 578Capability: KVM_CAP_IRQCHIP
579Architectures: x86, ia64 579Architectures: x86, ia64
@@ -594,7 +594,7 @@ struct kvm_irqchip {
594 } chip; 594 } chip;
595}; 595};
596 596
5974.27 KVM_XEN_HVM_CONFIG 5974.28 KVM_XEN_HVM_CONFIG
598 598
599Capability: KVM_CAP_XEN_HVM 599Capability: KVM_CAP_XEN_HVM
600Architectures: x86 600Architectures: x86
@@ -618,7 +618,7 @@ struct kvm_xen_hvm_config {
618 __u8 pad2[30]; 618 __u8 pad2[30];
619}; 619};
620 620
6214.27 KVM_GET_CLOCK 6214.29 KVM_GET_CLOCK
622 622
623Capability: KVM_CAP_ADJUST_CLOCK 623Capability: KVM_CAP_ADJUST_CLOCK
624Architectures: x86 624Architectures: x86
@@ -636,7 +636,7 @@ struct kvm_clock_data {
636 __u32 pad[9]; 636 __u32 pad[9];
637}; 637};
638 638
6394.28 KVM_SET_CLOCK 6394.30 KVM_SET_CLOCK
640 640
641Capability: KVM_CAP_ADJUST_CLOCK 641Capability: KVM_CAP_ADJUST_CLOCK
642Architectures: x86 642Architectures: x86
@@ -654,7 +654,7 @@ struct kvm_clock_data {
654 __u32 pad[9]; 654 __u32 pad[9];
655}; 655};
656 656
6574.29 KVM_GET_VCPU_EVENTS 6574.31 KVM_GET_VCPU_EVENTS
658 658
659Capability: KVM_CAP_VCPU_EVENTS 659Capability: KVM_CAP_VCPU_EVENTS
660Extended by: KVM_CAP_INTR_SHADOW 660Extended by: KVM_CAP_INTR_SHADOW
@@ -693,7 +693,7 @@ struct kvm_vcpu_events {
693KVM_VCPUEVENT_VALID_SHADOW may be set in the flags field to signal that 693KVM_VCPUEVENT_VALID_SHADOW may be set in the flags field to signal that
694interrupt.shadow contains a valid state. Otherwise, this field is undefined. 694interrupt.shadow contains a valid state. Otherwise, this field is undefined.
695 695
6964.30 KVM_SET_VCPU_EVENTS 6964.32 KVM_SET_VCPU_EVENTS
697 697
698Capability: KVM_CAP_VCPU_EVENTS 698Capability: KVM_CAP_VCPU_EVENTS
699Extended by: KVM_CAP_INTR_SHADOW 699Extended by: KVM_CAP_INTR_SHADOW
@@ -719,7 +719,7 @@ If KVM_CAP_INTR_SHADOW is available, KVM_VCPUEVENT_VALID_SHADOW can be set in
719the flags field to signal that interrupt.shadow contains a valid state and 719the flags field to signal that interrupt.shadow contains a valid state and
720shall be written into the VCPU. 720shall be written into the VCPU.
721 721
7224.32 KVM_GET_DEBUGREGS 7224.33 KVM_GET_DEBUGREGS
723 723
724Capability: KVM_CAP_DEBUGREGS 724Capability: KVM_CAP_DEBUGREGS
725Architectures: x86 725Architectures: x86
@@ -737,7 +737,7 @@ struct kvm_debugregs {
737 __u64 reserved[9]; 737 __u64 reserved[9];
738}; 738};
739 739
7404.33 KVM_SET_DEBUGREGS 7404.34 KVM_SET_DEBUGREGS
741 741
742Capability: KVM_CAP_DEBUGREGS 742Capability: KVM_CAP_DEBUGREGS
743Architectures: x86 743Architectures: x86
@@ -750,7 +750,7 @@ Writes debug registers into the vcpu.
750See KVM_GET_DEBUGREGS for the data structure. The flags field is unused 750See KVM_GET_DEBUGREGS for the data structure. The flags field is unused
751yet and must be cleared on entry. 751yet and must be cleared on entry.
752 752
7534.34 KVM_SET_USER_MEMORY_REGION 7534.35 KVM_SET_USER_MEMORY_REGION
754 754
755Capability: KVM_CAP_USER_MEM 755Capability: KVM_CAP_USER_MEM
756Architectures: all 756Architectures: all
@@ -796,7 +796,7 @@ It is recommended to use this API instead of the KVM_SET_MEMORY_REGION ioctl.
796The KVM_SET_MEMORY_REGION does not allow fine grained control over memory 796The KVM_SET_MEMORY_REGION does not allow fine grained control over memory
797allocation and is deprecated. 797allocation and is deprecated.
798 798
7994.35 KVM_SET_TSS_ADDR 7994.36 KVM_SET_TSS_ADDR
800 800
801Capability: KVM_CAP_SET_TSS_ADDR 801Capability: KVM_CAP_SET_TSS_ADDR
802Architectures: x86 802Architectures: x86
@@ -814,7 +814,7 @@ This ioctl is required on Intel-based hosts. This is needed on Intel hardware
814because of a quirk in the virtualization implementation (see the internals 814because of a quirk in the virtualization implementation (see the internals
815documentation when it pops into existence). 815documentation when it pops into existence).
816 816
8174.36 KVM_ENABLE_CAP 8174.37 KVM_ENABLE_CAP
818 818
819Capability: KVM_CAP_ENABLE_CAP 819Capability: KVM_CAP_ENABLE_CAP
820Architectures: ppc 820Architectures: ppc
@@ -849,7 +849,7 @@ function properly, this is the place to put them.
849 __u8 pad[64]; 849 __u8 pad[64];
850}; 850};
851 851
8524.37 KVM_GET_MP_STATE 8524.38 KVM_GET_MP_STATE
853 853
854Capability: KVM_CAP_MP_STATE 854Capability: KVM_CAP_MP_STATE
855Architectures: x86, ia64 855Architectures: x86, ia64
@@ -879,7 +879,7 @@ Possible values are:
879This ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel 879This ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel
880irqchip, the multiprocessing state must be maintained by userspace. 880irqchip, the multiprocessing state must be maintained by userspace.
881 881
8824.38 KVM_SET_MP_STATE 8824.39 KVM_SET_MP_STATE
883 883
884Capability: KVM_CAP_MP_STATE 884Capability: KVM_CAP_MP_STATE
885Architectures: x86, ia64 885Architectures: x86, ia64
@@ -893,7 +893,7 @@ arguments.
893This ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel 893This ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel
894irqchip, the multiprocessing state must be maintained by userspace. 894irqchip, the multiprocessing state must be maintained by userspace.
895 895
8964.39 KVM_SET_IDENTITY_MAP_ADDR 8964.40 KVM_SET_IDENTITY_MAP_ADDR
897 897
898Capability: KVM_CAP_SET_IDENTITY_MAP_ADDR 898Capability: KVM_CAP_SET_IDENTITY_MAP_ADDR
899Architectures: x86 899Architectures: x86
@@ -911,7 +911,7 @@ This ioctl is required on Intel-based hosts. This is needed on Intel hardware
911because of a quirk in the virtualization implementation (see the internals 911because of a quirk in the virtualization implementation (see the internals
912documentation when it pops into existence). 912documentation when it pops into existence).
913 913
9144.40 KVM_SET_BOOT_CPU_ID 9144.41 KVM_SET_BOOT_CPU_ID
915 915
916Capability: KVM_CAP_SET_BOOT_CPU_ID 916Capability: KVM_CAP_SET_BOOT_CPU_ID
917Architectures: x86, ia64 917Architectures: x86, ia64
@@ -923,7 +923,7 @@ Define which vcpu is the Bootstrap Processor (BSP). Values are the same
923as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default 923as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default
924is vcpu 0. 924is vcpu 0.
925 925
9264.41 KVM_GET_XSAVE 9264.42 KVM_GET_XSAVE
927 927
928Capability: KVM_CAP_XSAVE 928Capability: KVM_CAP_XSAVE
929Architectures: x86 929Architectures: x86
@@ -937,7 +937,7 @@ struct kvm_xsave {
937 937
938This ioctl would copy current vcpu's xsave struct to the userspace. 938This ioctl would copy current vcpu's xsave struct to the userspace.
939 939
9404.42 KVM_SET_XSAVE 9404.43 KVM_SET_XSAVE
941 941
942Capability: KVM_CAP_XSAVE 942Capability: KVM_CAP_XSAVE
943Architectures: x86 943Architectures: x86
@@ -951,7 +951,7 @@ struct kvm_xsave {
951 951
952This ioctl would copy userspace's xsave struct to the kernel. 952This ioctl would copy userspace's xsave struct to the kernel.
953 953
9544.43 KVM_GET_XCRS 9544.44 KVM_GET_XCRS
955 955
956Capability: KVM_CAP_XCRS 956Capability: KVM_CAP_XCRS
957Architectures: x86 957Architectures: x86
@@ -974,7 +974,7 @@ struct kvm_xcrs {
974 974
975This ioctl would copy current vcpu's xcrs to the userspace. 975This ioctl would copy current vcpu's xcrs to the userspace.
976 976
9774.44 KVM_SET_XCRS 9774.45 KVM_SET_XCRS
978 978
979Capability: KVM_CAP_XCRS 979Capability: KVM_CAP_XCRS
980Architectures: x86 980Architectures: x86
@@ -997,7 +997,7 @@ struct kvm_xcrs {
997 997
998This ioctl would set vcpu's xcr to the value userspace specified. 998This ioctl would set vcpu's xcr to the value userspace specified.
999 999
10004.45 KVM_GET_SUPPORTED_CPUID 10004.46 KVM_GET_SUPPORTED_CPUID
1001 1001
1002Capability: KVM_CAP_EXT_CPUID 1002Capability: KVM_CAP_EXT_CPUID
1003Architectures: x86 1003Architectures: x86
@@ -1062,7 +1062,7 @@ emulate them efficiently. The fields in each entry are defined as follows:
1062 eax, ebx, ecx, edx: the values returned by the cpuid instruction for 1062 eax, ebx, ecx, edx: the values returned by the cpuid instruction for
1063 this function/index combination 1063 this function/index combination
1064 1064
10654.46 KVM_PPC_GET_PVINFO 10654.47 KVM_PPC_GET_PVINFO
1066 1066
1067Capability: KVM_CAP_PPC_GET_PVINFO 1067Capability: KVM_CAP_PPC_GET_PVINFO
1068Architectures: ppc 1068Architectures: ppc
@@ -1085,7 +1085,7 @@ of 4 instructions that make up a hypercall.
1085If any additional field gets added to this structure later on, a bit for that 1085If any additional field gets added to this structure later on, a bit for that
1086additional piece of information will be set in the flags bitmap. 1086additional piece of information will be set in the flags bitmap.
1087 1087
10884.47 KVM_ASSIGN_PCI_DEVICE 10884.48 KVM_ASSIGN_PCI_DEVICE
1089 1089
1090Capability: KVM_CAP_DEVICE_ASSIGNMENT 1090Capability: KVM_CAP_DEVICE_ASSIGNMENT
1091Architectures: x86 ia64 1091Architectures: x86 ia64
@@ -1113,7 +1113,7 @@ following flags are specified:
1113/* Depends on KVM_CAP_IOMMU */ 1113/* Depends on KVM_CAP_IOMMU */
1114#define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0) 1114#define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0)
1115 1115
11164.48 KVM_DEASSIGN_PCI_DEVICE 11164.49 KVM_DEASSIGN_PCI_DEVICE
1117 1117
1118Capability: KVM_CAP_DEVICE_DEASSIGNMENT 1118Capability: KVM_CAP_DEVICE_DEASSIGNMENT
1119Architectures: x86 ia64 1119Architectures: x86 ia64
@@ -1126,7 +1126,7 @@ Ends PCI device assignment, releasing all associated resources.
1126See KVM_CAP_DEVICE_ASSIGNMENT for the data structure. Only assigned_dev_id is 1126See KVM_CAP_DEVICE_ASSIGNMENT for the data structure. Only assigned_dev_id is
1127used in kvm_assigned_pci_dev to identify the device. 1127used in kvm_assigned_pci_dev to identify the device.
1128 1128
11294.49 KVM_ASSIGN_DEV_IRQ 11294.50 KVM_ASSIGN_DEV_IRQ
1130 1130
1131Capability: KVM_CAP_ASSIGN_DEV_IRQ 1131Capability: KVM_CAP_ASSIGN_DEV_IRQ
1132Architectures: x86 ia64 1132Architectures: x86 ia64
@@ -1164,7 +1164,7 @@ The following flags are defined:
1164It is not valid to specify multiple types per host or guest IRQ. However, the 1164It is not valid to specify multiple types per host or guest IRQ. However, the
1165IRQ type of host and guest can differ or can even be null. 1165IRQ type of host and guest can differ or can even be null.
1166 1166
11674.50 KVM_DEASSIGN_DEV_IRQ 11674.51 KVM_DEASSIGN_DEV_IRQ
1168 1168
1169Capability: KVM_CAP_ASSIGN_DEV_IRQ 1169Capability: KVM_CAP_ASSIGN_DEV_IRQ
1170Architectures: x86 ia64 1170Architectures: x86 ia64
@@ -1178,7 +1178,7 @@ See KVM_ASSIGN_DEV_IRQ for the data structure. The target device is specified
1178by assigned_dev_id, flags must correspond to the IRQ type specified on 1178by assigned_dev_id, flags must correspond to the IRQ type specified on
1179KVM_ASSIGN_DEV_IRQ. Partial deassignment of host or guest IRQ is allowed. 1179KVM_ASSIGN_DEV_IRQ. Partial deassignment of host or guest IRQ is allowed.
1180 1180
11814.51 KVM_SET_GSI_ROUTING 11814.52 KVM_SET_GSI_ROUTING
1182 1182
1183Capability: KVM_CAP_IRQ_ROUTING 1183Capability: KVM_CAP_IRQ_ROUTING
1184Architectures: x86 ia64 1184Architectures: x86 ia64
@@ -1226,7 +1226,7 @@ struct kvm_irq_routing_msi {
1226 __u32 pad; 1226 __u32 pad;
1227}; 1227};
1228 1228
12294.52 KVM_ASSIGN_SET_MSIX_NR 12294.53 KVM_ASSIGN_SET_MSIX_NR
1230 1230
1231Capability: KVM_CAP_DEVICE_MSIX 1231Capability: KVM_CAP_DEVICE_MSIX
1232Architectures: x86 ia64 1232Architectures: x86 ia64
@@ -1245,7 +1245,7 @@ struct kvm_assigned_msix_nr {
1245 1245
1246#define KVM_MAX_MSIX_PER_DEV 256 1246#define KVM_MAX_MSIX_PER_DEV 256
1247 1247
12484.53 KVM_ASSIGN_SET_MSIX_ENTRY 12484.54 KVM_ASSIGN_SET_MSIX_ENTRY
1249 1249
1250Capability: KVM_CAP_DEVICE_MSIX 1250Capability: KVM_CAP_DEVICE_MSIX
1251Architectures: x86 ia64 1251Architectures: x86 ia64
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
index 11d5ceda5bb0..36f007514db3 100644
--- a/Documentation/sysctl/kernel.txt
+++ b/Documentation/sysctl/kernel.txt
@@ -367,7 +367,7 @@ the different loglevels.
367 367
368- console_loglevel: messages with a higher priority than 368- console_loglevel: messages with a higher priority than
369 this will be printed to the console 369 this will be printed to the console
370- default_message_level: messages without an explicit priority 370- default_message_loglevel: messages without an explicit priority
371 will be printed with this priority 371 will be printed with this priority
372- minimum_console_loglevel: minimum (highest) value to which 372- minimum_console_loglevel: minimum (highest) value to which
373 console_loglevel can be set 373 console_loglevel can be set
diff --git a/Documentation/vm/unevictable-lru.txt b/Documentation/vm/unevictable-lru.txt
index 2d70d0d95108..97bae3c576c2 100644
--- a/Documentation/vm/unevictable-lru.txt
+++ b/Documentation/vm/unevictable-lru.txt
@@ -84,8 +84,7 @@ indicate that the page is being managed on the unevictable list.
84 84
85The PG_unevictable flag is analogous to, and mutually exclusive with, the 85The PG_unevictable flag is analogous to, and mutually exclusive with, the
86PG_active flag in that it indicates on which LRU list a page resides when 86PG_active flag in that it indicates on which LRU list a page resides when
87PG_lru is set. The unevictable list is compile-time configurable based on the 87PG_lru is set.
88UNEVICTABLE_LRU Kconfig option.
89 88
90The Unevictable LRU infrastructure maintains unevictable pages on an additional 89The Unevictable LRU infrastructure maintains unevictable pages on an additional
91LRU list for a few reasons: 90LRU list for a few reasons:
diff --git a/MAINTAINERS b/MAINTAINERS
index 7d6e12dbdffa..a71e04b93edf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2376,7 +2376,7 @@ F: include/linux/edac_mce.h
2376 2376
2377EDAC-I82975X 2377EDAC-I82975X
2378M: Ranganathan Desikan <ravi@jetztechnologies.com> 2378M: Ranganathan Desikan <ravi@jetztechnologies.com>
2379M: "Arvind R." <arvind@jetztechnologies.com> 2379M: "Arvind R." <arvino55@gmail.com>
2380L: bluesmoke-devel@lists.sourceforge.net (moderated for non-subscribers) 2380L: bluesmoke-devel@lists.sourceforge.net (moderated for non-subscribers)
2381W: bluesmoke.sourceforge.net 2381W: bluesmoke.sourceforge.net
2382S: Maintained 2382S: Maintained
@@ -3472,6 +3472,7 @@ F: net/ipx/
3472IRDA SUBSYSTEM 3472IRDA SUBSYSTEM
3473M: Samuel Ortiz <samuel@sortiz.org> 3473M: Samuel Ortiz <samuel@sortiz.org>
3474L: irda-users@lists.sourceforge.net (subscribers-only) 3474L: irda-users@lists.sourceforge.net (subscribers-only)
3475L: netdev@vger.kernel.org
3475W: http://irda.sourceforge.net/ 3476W: http://irda.sourceforge.net/
3476S: Maintained 3477S: Maintained
3477T: git git://git.kernel.org/pub/scm/linux/kernel/git/sameo/irda-2.6.git 3478T: git git://git.kernel.org/pub/scm/linux/kernel/git/sameo/irda-2.6.git
@@ -3909,6 +3910,12 @@ L: linux-security-module@vger.kernel.org
3909T: git git://git.kernel.org/pub/scm/linux/kernel/git/chrisw/lsm-2.6.git 3910T: git git://git.kernel.org/pub/scm/linux/kernel/git/chrisw/lsm-2.6.git
3910S: Supported 3911S: Supported
3911 3912
3913LIS3LV02D ACCELEROMETER DRIVER
3914M: Eric Piel <eric.piel@tremplin-utc.net>
3915S: Maintained
3916F: Documentation/hwmon/lis3lv02d
3917F: drivers/hwmon/lis3lv02d.*
3918
3912LLC (802.2) 3919LLC (802.2)
3913M: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> 3920M: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
3914S: Maintained 3921S: Maintained
@@ -3916,12 +3923,6 @@ F: include/linux/llc.h
3916F: include/net/llc* 3923F: include/net/llc*
3917F: net/llc/ 3924F: net/llc/
3918 3925
3919LIS3LV02D ACCELEROMETER DRIVER
3920M: Eric Piel <eric.piel@tremplin-utc.net>
3921S: Maintained
3922F: Documentation/hwmon/lis3lv02d
3923F: drivers/hwmon/lis3lv02d.*
3924
3925LM73 HARDWARE MONITOR DRIVER 3926LM73 HARDWARE MONITOR DRIVER
3926M: Guillaume Ligneul <guillaume.ligneul@gmail.com> 3927M: Guillaume Ligneul <guillaume.ligneul@gmail.com>
3927L: lm-sensors@lm-sensors.org 3928L: lm-sensors@lm-sensors.org
diff --git a/Makefile b/Makefile
index d6592b63c8cb..92b8bed3059e 100644
--- a/Makefile
+++ b/Makefile
@@ -666,7 +666,7 @@ export MODLIB
666# INSTALL_MOD_STRIP, if defined, will cause modules to be 666# INSTALL_MOD_STRIP, if defined, will cause modules to be
667# stripped after they are installed. If INSTALL_MOD_STRIP is '1', then 667# stripped after they are installed. If INSTALL_MOD_STRIP is '1', then
668# the default option --strip-debug will be used. Otherwise, 668# the default option --strip-debug will be used. Otherwise,
669# INSTALL_MOD_STRIP will used as the options to the strip command. 669# INSTALL_MOD_STRIP value will be used as the options to the strip command.
670 670
671ifdef INSTALL_MOD_STRIP 671ifdef INSTALL_MOD_STRIP
672ifeq ($(INSTALL_MOD_STRIP),1) 672ifeq ($(INSTALL_MOD_STRIP),1)
diff --git a/arch/alpha/include/asm/cacheflush.h b/arch/alpha/include/asm/cacheflush.h
index 012f1243b1c1..a9cb6aa447aa 100644
--- a/arch/alpha/include/asm/cacheflush.h
+++ b/arch/alpha/include/asm/cacheflush.h
@@ -63,7 +63,7 @@ extern void flush_icache_user_range(struct vm_area_struct *vma,
63 struct page *page, unsigned long addr, int len); 63 struct page *page, unsigned long addr, int len);
64#endif 64#endif
65 65
66/* This is used only in do_no_page and do_swap_page. */ 66/* This is used only in __do_fault and do_swap_page. */
67#define flush_icache_page(vma, page) \ 67#define flush_icache_page(vma, page) \
68 flush_icache_user_range((vma), (page), 0, 0) 68 flush_icache_user_range((vma), (page), 0, 0)
69 69
diff --git a/arch/arm/mach-ux500/mbox-db5500.c b/arch/arm/mach-ux500/mbox-db5500.c
index cbf15718fc3c..a4ffb9f4f461 100644
--- a/arch/arm/mach-ux500/mbox-db5500.c
+++ b/arch/arm/mach-ux500/mbox-db5500.c
@@ -498,7 +498,7 @@ struct mbox *mbox_setup(u8 mbox_id, mbox_recv_cb_t *mbox_cb, void *priv)
498#endif 498#endif
499 499
500 dev_info(&(mbox->pdev->dev), 500 dev_info(&(mbox->pdev->dev),
501 "Mailbox driver with index %d initated!\n", mbox_id); 501 "Mailbox driver with index %d initiated!\n", mbox_id);
502 502
503exit: 503exit:
504 return mbox; 504 return mbox;
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index b6333ae3f92a..cd5f993612fd 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -54,7 +54,7 @@ config OMAP_SMARTREFLEX
54 user must write 1 to 54 user must write 1 to
55 /debug/voltage/vdd_<X>/smartreflex/autocomp, 55 /debug/voltage/vdd_<X>/smartreflex/autocomp,
56 where X is mpu or core for OMAP3. 56 where X is mpu or core for OMAP3.
57 Optionallly autocompensation can be enabled in the kernel 57 Optionally autocompensation can be enabled in the kernel
58 by default during system init via the enable_on_init flag 58 by default during system init via the enable_on_init flag
59 which an be passed as platform data to the smartreflex driver. 59 which an be passed as platform data to the smartreflex driver.
60 60
diff --git a/arch/avr32/mm/cache.c b/arch/avr32/mm/cache.c
index 24a74d1ca7d9..6a46ecd56cfd 100644
--- a/arch/avr32/mm/cache.c
+++ b/arch/avr32/mm/cache.c
@@ -113,7 +113,7 @@ void flush_icache_range(unsigned long start, unsigned long end)
113} 113}
114 114
115/* 115/*
116 * This one is called from do_no_page(), do_swap_page() and install_page(). 116 * This one is called from __do_fault() and do_swap_page().
117 */ 117 */
118void flush_icache_page(struct vm_area_struct *vma, struct page *page) 118void flush_icache_page(struct vm_area_struct *vma, struct page *page)
119{ 119{
diff --git a/arch/cris/arch-v10/mm/init.c b/arch/cris/arch-v10/mm/init.c
index baa746ce4e74..e7f8066105aa 100644
--- a/arch/cris/arch-v10/mm/init.c
+++ b/arch/cris/arch-v10/mm/init.c
@@ -241,7 +241,7 @@ flush_etrax_cacherange(void *startadr, int length)
241} 241}
242 242
243/* Due to a bug in Etrax100(LX) all versions, receiving DMA buffers 243/* Due to a bug in Etrax100(LX) all versions, receiving DMA buffers
244 * will occationally corrupt certain CPU writes if the DMA buffers 244 * will occasionally corrupt certain CPU writes if the DMA buffers
245 * happen to be hot in the cache. 245 * happen to be hot in the cache.
246 * 246 *
247 * As a workaround, we have to flush the relevant parts of the cache 247 * As a workaround, we have to flush the relevant parts of the cache
diff --git a/arch/ia64/include/asm/perfmon.h b/arch/ia64/include/asm/perfmon.h
index 7f3333dd00e4..d551183fee90 100644
--- a/arch/ia64/include/asm/perfmon.h
+++ b/arch/ia64/include/asm/perfmon.h
@@ -7,7 +7,7 @@
7#define _ASM_IA64_PERFMON_H 7#define _ASM_IA64_PERFMON_H
8 8
9/* 9/*
10 * perfmon comamnds supported on all CPU models 10 * perfmon commands supported on all CPU models
11 */ 11 */
12#define PFM_WRITE_PMCS 0x01 12#define PFM_WRITE_PMCS 0x01
13#define PFM_WRITE_PMDS 0x02 13#define PFM_WRITE_PMDS 0x02
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 4b5ebd26f565..795ba310cb1d 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -3983,7 +3983,7 @@ int mp_find_ioapic_pin(int ioapic, u32 gsi)
3983static __init int bad_ioapic(unsigned long address) 3983static __init int bad_ioapic(unsigned long address)
3984{ 3984{
3985 if (nr_ioapics >= MAX_IO_APICS) { 3985 if (nr_ioapics >= MAX_IO_APICS) {
3986 printk(KERN_WARNING "WARING: Max # of I/O APICs (%d) exceeded " 3986 printk(KERN_WARNING "WARNING: Max # of I/O APICs (%d) exceeded "
3987 "(found %d), skipping\n", MAX_IO_APICS, nr_ioapics); 3987 "(found %d), skipping\n", MAX_IO_APICS, nr_ioapics);
3988 return 1; 3988 return 1;
3989 } 3989 }
diff --git a/arch/x86/oprofile/op_model_p4.c b/arch/x86/oprofile/op_model_p4.c
index 9fadec074142..98ab13058f89 100644
--- a/arch/x86/oprofile/op_model_p4.c
+++ b/arch/x86/oprofile/op_model_p4.c
@@ -50,7 +50,7 @@ static inline void setup_num_counters(void)
50#endif 50#endif
51} 51}
52 52
53static int inline addr_increment(void) 53static inline int addr_increment(void)
54{ 54{
55#ifdef CONFIG_SMP 55#ifdef CONFIG_SMP
56 return smp_num_siblings == 2 ? 2 : 1; 56 return smp_num_siblings == 2 ? 2 : 1;
diff --git a/arch/xtensa/configs/s6105_defconfig b/arch/xtensa/configs/s6105_defconfig
index 095cd8084164..42b7feba71b7 100644
--- a/arch/xtensa/configs/s6105_defconfig
+++ b/arch/xtensa/configs/s6105_defconfig
@@ -598,7 +598,7 @@ CONFIG_DEBUG_NOMMU_REGIONS=y
598# CONFIG_CONTEXT_SWITCH_TRACER is not set 598# CONFIG_CONTEXT_SWITCH_TRACER is not set
599# CONFIG_BOOT_TRACER is not set 599# CONFIG_BOOT_TRACER is not set
600# CONFIG_TRACE_BRANCH_PROFILING is not set 600# CONFIG_TRACE_BRANCH_PROFILING is not set
601# CONFIG_DYNAMIC_PRINTK_DEBUG is not set 601# CONFIG_DYNAMIC_DEBUG is not set
602# CONFIG_SAMPLES is not set 602# CONFIG_SAMPLES is not set
603 603
604# 604#
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c
index 7d912baf01d4..049650d42c88 100644
--- a/drivers/atm/firestream.c
+++ b/drivers/atm/firestream.c
@@ -1031,7 +1031,7 @@ static int fs_open(struct atm_vcc *atm_vcc)
1031 /* We now use the "submit_command" function to submit commands to 1031 /* We now use the "submit_command" function to submit commands to
1032 the firestream. There is a define up near the definition of 1032 the firestream. There is a define up near the definition of
1033 that routine that switches this routine between immediate write 1033 that routine that switches this routine between immediate write
1034 to the immediate comamnd registers and queuing the commands in 1034 to the immediate command registers and queuing the commands in
1035 the HPTXQ for execution. This last technique might be more 1035 the HPTXQ for execution. This last technique might be more
1036 efficient if we know we're going to submit a whole lot of 1036 efficient if we know we're going to submit a whole lot of
1037 commands in one go, but this driver is not setup to be able to 1037 commands in one go, but this driver is not setup to be able to
diff --git a/drivers/block/smart1,2.h b/drivers/block/smart1,2.h
index a0b403a6b4ed..e5565fbaeb30 100644
--- a/drivers/block/smart1,2.h
+++ b/drivers/block/smart1,2.h
@@ -95,7 +95,7 @@ static unsigned long smart4_completed(ctlr_info_t *h)
95 /* 95 /*
96 * This hardware returns interrupt pending at a different place and 96 * This hardware returns interrupt pending at a different place and
97 * it does not tell us if the fifo is empty, we will have check 97 * it does not tell us if the fifo is empty, we will have check
98 * that by getting a 0 back from the comamnd_completed call. 98 * that by getting a 0 back from the command_completed call.
99 */ 99 */
100static unsigned long smart4_intr_pending(ctlr_info_t *h) 100static unsigned long smart4_intr_pending(ctlr_info_t *h)
101{ 101{
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 7e0ebd4a1a74..866811428e20 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -433,7 +433,7 @@ static void btusb_isoc_complete(struct urb *urb)
433 } 433 }
434} 434}
435 435
436static void inline __fill_isoc_descriptor(struct urb *urb, int len, int mtu) 436static inline void __fill_isoc_descriptor(struct urb *urb, int len, int mtu)
437{ 437{
438 int i, offset = 0; 438 int i, offset = 0;
439 439
@@ -780,7 +780,7 @@ static void btusb_notify(struct hci_dev *hdev, unsigned int evt)
780 } 780 }
781} 781}
782 782
783static int inline __set_isoc_interface(struct hci_dev *hdev, int altsetting) 783static inline int __set_isoc_interface(struct hci_dev *hdev, int altsetting)
784{ 784{
785 struct btusb_data *data = hdev->driver_data; 785 struct btusb_data *data = hdev->driver_data;
786 struct usb_interface *intf = data->isoc; 786 struct usb_interface *intf = data->isoc;
diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c
index 0310ffaec9df..be7917ec40c9 100644
--- a/drivers/cpuidle/sysfs.c
+++ b/drivers/cpuidle/sysfs.c
@@ -300,7 +300,7 @@ static struct kobj_type ktype_state_cpuidle = {
300 .release = cpuidle_state_sysfs_release, 300 .release = cpuidle_state_sysfs_release,
301}; 301};
302 302
303static void inline cpuidle_free_state_kobj(struct cpuidle_device *device, int i) 303static inline void cpuidle_free_state_kobj(struct cpuidle_device *device, int i)
304{ 304{
305 kobject_put(&device->kobjs[i]->kobj); 305 kobject_put(&device->kobjs[i]->kobj);
306 wait_for_completion(&device->kobjs[i]->kobj_unregister); 306 wait_for_completion(&device->kobjs[i]->kobj_unregister);
diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
index a6656834f0ff..00deabd9a04b 100644
--- a/drivers/dma/coh901318.c
+++ b/drivers/dma/coh901318.c
@@ -849,7 +849,7 @@ static irqreturn_t dma_irq_handler(int irq, void *dev_id)
849 849
850 /* Must clear TC interrupt before calling 850 /* Must clear TC interrupt before calling
851 * dma_tc_handle 851 * dma_tc_handle
852 * in case tc_handle initate a new dma job 852 * in case tc_handle initiate a new dma job
853 */ 853 */
854 __set_bit(i, virtbase + COH901318_TC_INT_CLEAR1); 854 __set_bit(i, virtbase + COH901318_TC_INT_CLEAR1);
855 855
@@ -894,7 +894,7 @@ static irqreturn_t dma_irq_handler(int irq, void *dev_id)
894 } 894 }
895 /* Must clear TC interrupt before calling 895 /* Must clear TC interrupt before calling
896 * dma_tc_handle 896 * dma_tc_handle
897 * in case tc_handle initate a new dma job 897 * in case tc_handle initiate a new dma job
898 */ 898 */
899 __set_bit(i, virtbase + COH901318_TC_INT_CLEAR2); 899 __set_bit(i, virtbase + COH901318_TC_INT_CLEAR2);
900 900
diff --git a/drivers/dma/shdma.c b/drivers/dma/shdma.c
index 28720d3103c4..6451b581a70b 100644
--- a/drivers/dma/shdma.c
+++ b/drivers/dma/shdma.c
@@ -750,7 +750,7 @@ static void sh_chan_xfer_ld_queue(struct sh_dmae_chan *sh_chan)
750 return; 750 return;
751 } 751 }
752 752
753 /* Find the first not transferred desciptor */ 753 /* Find the first not transferred descriptor */
754 list_for_each_entry(desc, &sh_chan->ld_queue, node) 754 list_for_each_entry(desc, &sh_chan->ld_queue, node)
755 if (desc->mark == DESC_SUBMITTED) { 755 if (desc->mark == DESC_SUBMITTED) {
756 dev_dbg(sh_chan->dev, "Queue #%d to %d: %u@%x -> %x\n", 756 dev_dbg(sh_chan->dev, "Queue #%d to %d: %u@%x -> %x\n",
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c
index 3b88a4e7c98a..f69f90a61873 100644
--- a/drivers/dma/timb_dma.c
+++ b/drivers/dma/timb_dma.c
@@ -629,7 +629,7 @@ static int td_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd,
629 desc_node) 629 desc_node)
630 list_move(&td_desc->desc_node, &td_chan->free_list); 630 list_move(&td_desc->desc_node, &td_chan->free_list);
631 631
632 /* now tear down the runnning */ 632 /* now tear down the running */
633 __td_finish(td_chan); 633 __td_finish(td_chan);
634 spin_unlock_bh(&td_chan->lock); 634 spin_unlock_bh(&td_chan->lock);
635 635
diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c
index 05523b504271..76d1f576cdc8 100644
--- a/drivers/edac/i7300_edac.c
+++ b/drivers/edac/i7300_edac.c
@@ -162,7 +162,7 @@ static struct edac_pci_ctl_info *i7300_pci;
162#define AMBPRESENT_0 0x64 162#define AMBPRESENT_0 0x64
163#define AMBPRESENT_1 0x66 163#define AMBPRESENT_1 0x66
164 164
165const static u16 mtr_regs[MAX_SLOTS] = { 165static const u16 mtr_regs[MAX_SLOTS] = {
166 0x80, 0x84, 0x88, 0x8c, 166 0x80, 0x84, 0x88, 0x8c,
167 0x82, 0x86, 0x8a, 0x8e 167 0x82, 0x86, 0x8a, 0x8e
168}; 168};
diff --git a/drivers/edac/i82975x_edac.c b/drivers/edac/i82975x_edac.c
index 3218819b7286..92e65e7038e9 100644
--- a/drivers/edac/i82975x_edac.c
+++ b/drivers/edac/i82975x_edac.c
@@ -160,8 +160,8 @@ NOTE: Only ONE of the three must be enabled
160 * 3:2 Rank 1 architecture 160 * 3:2 Rank 1 architecture
161 * 1:0 Rank 0 architecture 161 * 1:0 Rank 0 architecture
162 * 162 *
163 * 00 => x16 devices; i.e 4 banks 163 * 00 => 4 banks
164 * 01 => x8 devices; i.e 8 banks 164 * 01 => 8 banks
165 */ 165 */
166#define I82975X_C0BNKARC 0x10e 166#define I82975X_C0BNKARC 0x10e
167#define I82975X_C1BNKARC 0x18e 167#define I82975X_C1BNKARC 0x18e
@@ -278,6 +278,7 @@ static int i82975x_process_error_info(struct mem_ctl_info *mci,
278 struct i82975x_error_info *info, int handle_errors) 278 struct i82975x_error_info *info, int handle_errors)
279{ 279{
280 int row, multi_chan, chan; 280 int row, multi_chan, chan;
281 unsigned long offst, page;
281 282
282 multi_chan = mci->csrows[0].nr_channels - 1; 283 multi_chan = mci->csrows[0].nr_channels - 1;
283 284
@@ -292,17 +293,19 @@ static int i82975x_process_error_info(struct mem_ctl_info *mci,
292 info->errsts = info->errsts2; 293 info->errsts = info->errsts2;
293 } 294 }
294 295
295 chan = info->eap & 1; 296 page = (unsigned long) info->eap;
296 info->eap >>= 1; 297 if (info->xeap & 1)
297 if (info->xeap ) 298 page |= 0x100000000ul;
298 info->eap |= 0x80000000; 299 chan = page & 1;
299 info->eap >>= PAGE_SHIFT; 300 page >>= 1;
300 row = edac_mc_find_csrow_by_page(mci, info->eap); 301 offst = page & ((1 << PAGE_SHIFT) - 1);
302 page >>= PAGE_SHIFT;
303 row = edac_mc_find_csrow_by_page(mci, page);
301 304
302 if (info->errsts & 0x0002) 305 if (info->errsts & 0x0002)
303 edac_mc_handle_ue(mci, info->eap, 0, row, "i82975x UE"); 306 edac_mc_handle_ue(mci, page, offst , row, "i82975x UE");
304 else 307 else
305 edac_mc_handle_ce(mci, info->eap, 0, info->derrsyn, row, 308 edac_mc_handle_ce(mci, page, offst, info->derrsyn, row,
306 multi_chan ? chan : 0, 309 multi_chan ? chan : 0,
307 "i82975x CE"); 310 "i82975x CE");
308 311
@@ -344,11 +347,7 @@ static int dual_channel_active(void __iomem *mch_window)
344static enum dev_type i82975x_dram_type(void __iomem *mch_window, int rank) 347static enum dev_type i82975x_dram_type(void __iomem *mch_window, int rank)
345{ 348{
346 /* 349 /*
347 * ASUS P5W DH either does not program this register or programs 350 * ECC is possible on i92975x ONLY with DEV_X8
348 * it wrong!
349 * ECC is possible on i92975x ONLY with DEV_X8 which should mean 'val'
350 * for each rank should be 01b - the LSB of the word should be 0x55;
351 * but it reads 0!
352 */ 351 */
353 return DEV_X8; 352 return DEV_X8;
354} 353}
@@ -356,11 +355,15 @@ static enum dev_type i82975x_dram_type(void __iomem *mch_window, int rank)
356static void i82975x_init_csrows(struct mem_ctl_info *mci, 355static void i82975x_init_csrows(struct mem_ctl_info *mci,
357 struct pci_dev *pdev, void __iomem *mch_window) 356 struct pci_dev *pdev, void __iomem *mch_window)
358{ 357{
358 static const char *labels[4] = {
359 "DIMM A1", "DIMM A2",
360 "DIMM B1", "DIMM B2"
361 };
359 struct csrow_info *csrow; 362 struct csrow_info *csrow;
360 unsigned long last_cumul_size; 363 unsigned long last_cumul_size;
361 u8 value; 364 u8 value;
362 u32 cumul_size; 365 u32 cumul_size;
363 int index; 366 int index, chan;
364 367
365 last_cumul_size = 0; 368 last_cumul_size = 0;
366 369
@@ -369,11 +372,7 @@ static void i82975x_init_csrows(struct mem_ctl_info *mci,
369 * The dram row boundary (DRB) reg values are boundary address 372 * The dram row boundary (DRB) reg values are boundary address
370 * for each DRAM row with a granularity of 32 or 64MB (single/dual 373 * for each DRAM row with a granularity of 32 or 64MB (single/dual
371 * channel operation). DRB regs are cumulative; therefore DRB7 will 374 * channel operation). DRB regs are cumulative; therefore DRB7 will
372 * contain the total memory contained in all eight rows. 375 * contain the total memory contained in all rows.
373 *
374 * FIXME:
375 * EDAC currently works for Dual-channel Interleaved configuration.
376 * Other configurations, which the chip supports, need fixing/testing.
377 * 376 *
378 */ 377 */
379 378
@@ -384,8 +383,26 @@ static void i82975x_init_csrows(struct mem_ctl_info *mci,
384 ((index >= 4) ? 0x80 : 0)); 383 ((index >= 4) ? 0x80 : 0));
385 cumul_size = value; 384 cumul_size = value;
386 cumul_size <<= (I82975X_DRB_SHIFT - PAGE_SHIFT); 385 cumul_size <<= (I82975X_DRB_SHIFT - PAGE_SHIFT);
386 /*
387 * Adjust cumul_size w.r.t number of channels
388 *
389 */
390 if (csrow->nr_channels > 1)
391 cumul_size <<= 1;
387 debugf3("%s(): (%d) cumul_size 0x%x\n", __func__, index, 392 debugf3("%s(): (%d) cumul_size 0x%x\n", __func__, index,
388 cumul_size); 393 cumul_size);
394
395 /*
396 * Initialise dram labels
397 * index values:
398 * [0-7] for single-channel; i.e. csrow->nr_channels = 1
399 * [0-3] for dual-channel; i.e. csrow->nr_channels = 2
400 */
401 for (chan = 0; chan < csrow->nr_channels; chan++)
402 strncpy(csrow->channels[chan].label,
403 labels[(index >> 1) + (chan * 2)],
404 EDAC_MC_LABEL_LEN);
405
389 if (cumul_size == last_cumul_size) 406 if (cumul_size == last_cumul_size)
390 continue; /* not populated */ 407 continue; /* not populated */
391 408
@@ -393,8 +410,8 @@ static void i82975x_init_csrows(struct mem_ctl_info *mci,
393 csrow->last_page = cumul_size - 1; 410 csrow->last_page = cumul_size - 1;
394 csrow->nr_pages = cumul_size - last_cumul_size; 411 csrow->nr_pages = cumul_size - last_cumul_size;
395 last_cumul_size = cumul_size; 412 last_cumul_size = cumul_size;
396 csrow->grain = 1 << 7; /* I82975X_EAP has 128B resolution */ 413 csrow->grain = 1 << 6; /* I82975X_EAP has 64B resolution */
397 csrow->mtype = MEM_DDR; /* i82975x supports only DDR2 */ 414 csrow->mtype = MEM_DDR2; /* I82975x supports only DDR2 */
398 csrow->dtype = i82975x_dram_type(mch_window, index); 415 csrow->dtype = i82975x_dram_type(mch_window, index);
399 csrow->edac_mode = EDAC_SECDED; /* only supported */ 416 csrow->edac_mode = EDAC_SECDED; /* only supported */
400 } 417 }
@@ -515,18 +532,20 @@ static int i82975x_probe1(struct pci_dev *pdev, int dev_idx)
515 532
516 debugf3("%s(): init mci\n", __func__); 533 debugf3("%s(): init mci\n", __func__);
517 mci->dev = &pdev->dev; 534 mci->dev = &pdev->dev;
518 mci->mtype_cap = MEM_FLAG_DDR; 535 mci->mtype_cap = MEM_FLAG_DDR2;
519 mci->edac_ctl_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED; 536 mci->edac_ctl_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED;
520 mci->edac_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED; 537 mci->edac_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED;
521 mci->mod_name = EDAC_MOD_STR; 538 mci->mod_name = EDAC_MOD_STR;
522 mci->mod_ver = I82975X_REVISION; 539 mci->mod_ver = I82975X_REVISION;
523 mci->ctl_name = i82975x_devs[dev_idx].ctl_name; 540 mci->ctl_name = i82975x_devs[dev_idx].ctl_name;
541 mci->dev_name = pci_name(pdev);
524 mci->edac_check = i82975x_check; 542 mci->edac_check = i82975x_check;
525 mci->ctl_page_to_phys = NULL; 543 mci->ctl_page_to_phys = NULL;
526 debugf3("%s(): init pvt\n", __func__); 544 debugf3("%s(): init pvt\n", __func__);
527 pvt = (struct i82975x_pvt *) mci->pvt_info; 545 pvt = (struct i82975x_pvt *) mci->pvt_info;
528 pvt->mch_window = mch_window; 546 pvt->mch_window = mch_window;
529 i82975x_init_csrows(mci, pdev, mch_window); 547 i82975x_init_csrows(mci, pdev, mch_window);
548 mci->scrub_mode = SCRUB_HW_SRC;
530 i82975x_get_error_info(mci, &discard); /* clear counters */ 549 i82975x_get_error_info(mci, &discard); /* clear counters */
531 550
532 /* finalize this instance of memory controller with edac core */ 551 /* finalize this instance of memory controller with edac core */
@@ -664,7 +683,7 @@ module_init(i82975x_init);
664module_exit(i82975x_exit); 683module_exit(i82975x_exit);
665 684
666MODULE_LICENSE("GPL"); 685MODULE_LICENSE("GPL");
667MODULE_AUTHOR("Arvind R. <arvind@acarlab.com>"); 686MODULE_AUTHOR("Arvind R. <arvino55@gmail.com>");
668MODULE_DESCRIPTION("MC support for Intel 82975 memory hub controllers"); 687MODULE_DESCRIPTION("MC support for Intel 82975 memory hub controllers");
669 688
670module_param(edac_op_state, int, 0444); 689module_param(edac_op_state, int, 0444);
diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c
index 69ad529d92fb..ea5ac2dc1233 100644
--- a/drivers/firmware/dcdbas.c
+++ b/drivers/firmware/dcdbas.c
@@ -268,8 +268,10 @@ int dcdbas_smi_request(struct smi_cmd *smi_cmd)
268 } 268 }
269 269
270 /* generate SMI */ 270 /* generate SMI */
271 /* inb to force posted write through and make SMI happen now */
271 asm volatile ( 272 asm volatile (
272 "outb %b0,%w1" 273 "outb %b0,%w1\n"
274 "inb %w1"
273 : /* no output args */ 275 : /* no output args */
274 : "a" (smi_cmd->command_code), 276 : "a" (smi_cmd->command_code),
275 "d" (smi_cmd->command_address), 277 "d" (smi_cmd->command_address),
diff --git a/drivers/gpu/drm/drm_sman.c b/drivers/gpu/drm/drm_sman.c
index 463aed9403db..34664587a74e 100644
--- a/drivers/gpu/drm/drm_sman.c
+++ b/drivers/gpu/drm/drm_sman.c
@@ -59,9 +59,7 @@ drm_sman_init(struct drm_sman * sman, unsigned int num_managers,
59{ 59{
60 int ret = 0; 60 int ret = 0;
61 61
62 sman->mm = (struct drm_sman_mm *) kcalloc(num_managers, 62 sman->mm = kcalloc(num_managers, sizeof(*sman->mm), GFP_KERNEL);
63 sizeof(*sman->mm),
64 GFP_KERNEL);
65 if (!sman->mm) { 63 if (!sman->mm) {
66 ret = -ENOMEM; 64 ret = -ENOMEM;
67 goto out; 65 goto out;
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index b9427e689cf3..941080a77940 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -2987,7 +2987,7 @@ int evergreen_resume(struct radeon_device *rdev)
2987 2987
2988 r = r600_ib_test(rdev); 2988 r = r600_ib_test(rdev);
2989 if (r) { 2989 if (r) {
2990 DRM_ERROR("radeon: failled testing IB (%d).\n", r); 2990 DRM_ERROR("radeon: failed testing IB (%d).\n", r);
2991 return r; 2991 return r;
2992 } 2992 }
2993 2993
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index fcc23e4e0b3c..f2204cb1ccdf 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -3617,7 +3617,7 @@ int r100_ib_test(struct radeon_device *rdev)
3617 if (i < rdev->usec_timeout) { 3617 if (i < rdev->usec_timeout) {
3618 DRM_INFO("ib test succeeded in %u usecs\n", i); 3618 DRM_INFO("ib test succeeded in %u usecs\n", i);
3619 } else { 3619 } else {
3620 DRM_ERROR("radeon: ib test failed (sracth(0x%04X)=0x%08X)\n", 3620 DRM_ERROR("radeon: ib test failed (scratch(0x%04X)=0x%08X)\n",
3621 scratch, tmp); 3621 scratch, tmp);
3622 r = -EINVAL; 3622 r = -EINVAL;
3623 } 3623 }
@@ -3637,13 +3637,13 @@ int r100_ib_init(struct radeon_device *rdev)
3637 3637
3638 r = radeon_ib_pool_init(rdev); 3638 r = radeon_ib_pool_init(rdev);
3639 if (r) { 3639 if (r) {
3640 dev_err(rdev->dev, "failled initializing IB pool (%d).\n", r); 3640 dev_err(rdev->dev, "failed initializing IB pool (%d).\n", r);
3641 r100_ib_fini(rdev); 3641 r100_ib_fini(rdev);
3642 return r; 3642 return r;
3643 } 3643 }
3644 r = r100_ib_test(rdev); 3644 r = r100_ib_test(rdev);
3645 if (r) { 3645 if (r) {
3646 dev_err(rdev->dev, "failled testing IB (%d).\n", r); 3646 dev_err(rdev->dev, "failed testing IB (%d).\n", r);
3647 r100_ib_fini(rdev); 3647 r100_ib_fini(rdev);
3648 return r; 3648 return r;
3649 } 3649 }
@@ -3799,12 +3799,12 @@ static int r100_startup(struct radeon_device *rdev)
3799 /* 1M ring buffer */ 3799 /* 1M ring buffer */
3800 r = r100_cp_init(rdev, 1024 * 1024); 3800 r = r100_cp_init(rdev, 1024 * 1024);
3801 if (r) { 3801 if (r) {
3802 dev_err(rdev->dev, "failled initializing CP (%d).\n", r); 3802 dev_err(rdev->dev, "failed initializing CP (%d).\n", r);
3803 return r; 3803 return r;
3804 } 3804 }
3805 r = r100_ib_init(rdev); 3805 r = r100_ib_init(rdev);
3806 if (r) { 3806 if (r) {
3807 dev_err(rdev->dev, "failled initializing IB (%d).\n", r); 3807 dev_err(rdev->dev, "failed initializing IB (%d).\n", r);
3808 return r; 3808 return r;
3809 } 3809 }
3810 return 0; 3810 return 0;
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c
index 069efa8c8ecf..8713731fa014 100644
--- a/drivers/gpu/drm/radeon/r300.c
+++ b/drivers/gpu/drm/radeon/r300.c
@@ -1401,12 +1401,12 @@ static int r300_startup(struct radeon_device *rdev)
1401 /* 1M ring buffer */ 1401 /* 1M ring buffer */
1402 r = r100_cp_init(rdev, 1024 * 1024); 1402 r = r100_cp_init(rdev, 1024 * 1024);
1403 if (r) { 1403 if (r) {
1404 dev_err(rdev->dev, "failled initializing CP (%d).\n", r); 1404 dev_err(rdev->dev, "failed initializing CP (%d).\n", r);
1405 return r; 1405 return r;
1406 } 1406 }
1407 r = r100_ib_init(rdev); 1407 r = r100_ib_init(rdev);
1408 if (r) { 1408 if (r) {
1409 dev_err(rdev->dev, "failled initializing IB (%d).\n", r); 1409 dev_err(rdev->dev, "failed initializing IB (%d).\n", r);
1410 return r; 1410 return r;
1411 } 1411 }
1412 return 0; 1412 return 0;
diff --git a/drivers/gpu/drm/radeon/r420.c b/drivers/gpu/drm/radeon/r420.c
index 0b59ed7c7d2c..417fab81812f 100644
--- a/drivers/gpu/drm/radeon/r420.c
+++ b/drivers/gpu/drm/radeon/r420.c
@@ -260,13 +260,13 @@ static int r420_startup(struct radeon_device *rdev)
260 /* 1M ring buffer */ 260 /* 1M ring buffer */
261 r = r100_cp_init(rdev, 1024 * 1024); 261 r = r100_cp_init(rdev, 1024 * 1024);
262 if (r) { 262 if (r) {
263 dev_err(rdev->dev, "failled initializing CP (%d).\n", r); 263 dev_err(rdev->dev, "failed initializing CP (%d).\n", r);
264 return r; 264 return r;
265 } 265 }
266 r420_cp_errata_init(rdev); 266 r420_cp_errata_init(rdev);
267 r = r100_ib_init(rdev); 267 r = r100_ib_init(rdev);
268 if (r) { 268 if (r) {
269 dev_err(rdev->dev, "failled initializing IB (%d).\n", r); 269 dev_err(rdev->dev, "failed initializing IB (%d).\n", r);
270 return r; 270 return r;
271 } 271 }
272 return 0; 272 return 0;
diff --git a/drivers/gpu/drm/radeon/r520.c b/drivers/gpu/drm/radeon/r520.c
index 2ce80d976568..3081d07f8de5 100644
--- a/drivers/gpu/drm/radeon/r520.c
+++ b/drivers/gpu/drm/radeon/r520.c
@@ -193,12 +193,12 @@ static int r520_startup(struct radeon_device *rdev)
193 /* 1M ring buffer */ 193 /* 1M ring buffer */
194 r = r100_cp_init(rdev, 1024 * 1024); 194 r = r100_cp_init(rdev, 1024 * 1024);
195 if (r) { 195 if (r) {
196 dev_err(rdev->dev, "failled initializing CP (%d).\n", r); 196 dev_err(rdev->dev, "failed initializing CP (%d).\n", r);
197 return r; 197 return r;
198 } 198 }
199 r = r100_ib_init(rdev); 199 r = r100_ib_init(rdev);
200 if (r) { 200 if (r) {
201 dev_err(rdev->dev, "failled initializing IB (%d).\n", r); 201 dev_err(rdev->dev, "failed initializing IB (%d).\n", r);
202 return r; 202 return r;
203 } 203 }
204 return 0; 204 return 0;
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index 12fdebf9aed8..be271c42de4d 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -2464,7 +2464,7 @@ int r600_resume(struct radeon_device *rdev)
2464 2464
2465 r = r600_ib_test(rdev); 2465 r = r600_ib_test(rdev);
2466 if (r) { 2466 if (r) {
2467 DRM_ERROR("radeon: failled testing IB (%d).\n", r); 2467 DRM_ERROR("radeon: failed testing IB (%d).\n", r);
2468 return r; 2468 return r;
2469 } 2469 }
2470 2470
diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c
index 992d99d13fc5..bbc9cd823334 100644
--- a/drivers/gpu/drm/radeon/radeon_ring.c
+++ b/drivers/gpu/drm/radeon/radeon_ring.c
@@ -151,7 +151,7 @@ int radeon_ib_schedule(struct radeon_device *rdev, struct radeon_ib *ib)
151 /* 64 dwords should be enough for fence too */ 151 /* 64 dwords should be enough for fence too */
152 r = radeon_ring_lock(rdev, 64); 152 r = radeon_ring_lock(rdev, 64);
153 if (r) { 153 if (r) {
154 DRM_ERROR("radeon: scheduling IB failled (%d).\n", r); 154 DRM_ERROR("radeon: scheduling IB failed (%d).\n", r);
155 return r; 155 return r;
156 } 156 }
157 radeon_ring_ib_execute(rdev, ib); 157 radeon_ring_ib_execute(rdev, ib);
diff --git a/drivers/gpu/drm/radeon/rs400.c b/drivers/gpu/drm/radeon/rs400.c
index c76283d9eb3d..aa6a66eeb4ec 100644
--- a/drivers/gpu/drm/radeon/rs400.c
+++ b/drivers/gpu/drm/radeon/rs400.c
@@ -412,12 +412,12 @@ static int rs400_startup(struct radeon_device *rdev)
412 /* 1M ring buffer */ 412 /* 1M ring buffer */
413 r = r100_cp_init(rdev, 1024 * 1024); 413 r = r100_cp_init(rdev, 1024 * 1024);
414 if (r) { 414 if (r) {
415 dev_err(rdev->dev, "failled initializing CP (%d).\n", r); 415 dev_err(rdev->dev, "failed initializing CP (%d).\n", r);
416 return r; 416 return r;
417 } 417 }
418 r = r100_ib_init(rdev); 418 r = r100_ib_init(rdev);
419 if (r) { 419 if (r) {
420 dev_err(rdev->dev, "failled initializing IB (%d).\n", r); 420 dev_err(rdev->dev, "failed initializing IB (%d).\n", r);
421 return r; 421 return r;
422 } 422 }
423 return 0; 423 return 0;
diff --git a/drivers/gpu/drm/radeon/rs600.c b/drivers/gpu/drm/radeon/rs600.c
index 8af4679db23e..19763f5df5e1 100644
--- a/drivers/gpu/drm/radeon/rs600.c
+++ b/drivers/gpu/drm/radeon/rs600.c
@@ -865,12 +865,12 @@ static int rs600_startup(struct radeon_device *rdev)
865 /* 1M ring buffer */ 865 /* 1M ring buffer */
866 r = r100_cp_init(rdev, 1024 * 1024); 866 r = r100_cp_init(rdev, 1024 * 1024);
867 if (r) { 867 if (r) {
868 dev_err(rdev->dev, "failled initializing CP (%d).\n", r); 868 dev_err(rdev->dev, "failed initializing CP (%d).\n", r);
869 return r; 869 return r;
870 } 870 }
871 r = r100_ib_init(rdev); 871 r = r100_ib_init(rdev);
872 if (r) { 872 if (r) {
873 dev_err(rdev->dev, "failled initializing IB (%d).\n", r); 873 dev_err(rdev->dev, "failed initializing IB (%d).\n", r);
874 return r; 874 return r;
875 } 875 }
876 876
diff --git a/drivers/gpu/drm/radeon/rs690.c b/drivers/gpu/drm/radeon/rs690.c
index 66c949b7c18c..a9049ed1a519 100644
--- a/drivers/gpu/drm/radeon/rs690.c
+++ b/drivers/gpu/drm/radeon/rs690.c
@@ -627,12 +627,12 @@ static int rs690_startup(struct radeon_device *rdev)
627 /* 1M ring buffer */ 627 /* 1M ring buffer */
628 r = r100_cp_init(rdev, 1024 * 1024); 628 r = r100_cp_init(rdev, 1024 * 1024);
629 if (r) { 629 if (r) {
630 dev_err(rdev->dev, "failled initializing CP (%d).\n", r); 630 dev_err(rdev->dev, "failed initializing CP (%d).\n", r);
631 return r; 631 return r;
632 } 632 }
633 r = r100_ib_init(rdev); 633 r = r100_ib_init(rdev);
634 if (r) { 634 if (r) {
635 dev_err(rdev->dev, "failled initializing IB (%d).\n", r); 635 dev_err(rdev->dev, "failed initializing IB (%d).\n", r);
636 return r; 636 return r;
637 } 637 }
638 638
diff --git a/drivers/gpu/drm/radeon/rv515.c b/drivers/gpu/drm/radeon/rv515.c
index 64b57af93714..6613ee9ecca3 100644
--- a/drivers/gpu/drm/radeon/rv515.c
+++ b/drivers/gpu/drm/radeon/rv515.c
@@ -398,12 +398,12 @@ static int rv515_startup(struct radeon_device *rdev)
398 /* 1M ring buffer */ 398 /* 1M ring buffer */
399 r = r100_cp_init(rdev, 1024 * 1024); 399 r = r100_cp_init(rdev, 1024 * 1024);
400 if (r) { 400 if (r) {
401 dev_err(rdev->dev, "failled initializing CP (%d).\n", r); 401 dev_err(rdev->dev, "failed initializing CP (%d).\n", r);
402 return r; 402 return r;
403 } 403 }
404 r = r100_ib_init(rdev); 404 r = r100_ib_init(rdev);
405 if (r) { 405 if (r) {
406 dev_err(rdev->dev, "failled initializing IB (%d).\n", r); 406 dev_err(rdev->dev, "failed initializing IB (%d).\n", r);
407 return r; 407 return r;
408 } 408 }
409 return 0; 409 return 0;
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
index 4cc7b717fedd..b974ac7df8df 100644
--- a/drivers/gpu/drm/radeon/rv770.c
+++ b/drivers/gpu/drm/radeon/rv770.c
@@ -1209,7 +1209,7 @@ int rv770_resume(struct radeon_device *rdev)
1209 1209
1210 r = r600_ib_test(rdev); 1210 r = r600_ib_test(rdev);
1211 if (r) { 1211 if (r) {
1212 DRM_ERROR("radeon: failled testing IB (%d).\n", r); 1212 DRM_ERROR("radeon: failed testing IB (%d).\n", r);
1213 return r; 1213 return r;
1214 } 1214 }
1215 1215
diff --git a/drivers/isdn/mISDN/hwchannel.c b/drivers/isdn/mISDN/hwchannel.c
index 199f374cf9da..f6e108d0125f 100644
--- a/drivers/isdn/mISDN/hwchannel.c
+++ b/drivers/isdn/mISDN/hwchannel.c
@@ -206,7 +206,7 @@ recv_Bchannel(struct bchannel *bch, unsigned int id)
206 hh->id = id; 206 hh->id = id;
207 if (bch->rcount >= 64) { 207 if (bch->rcount >= 64) {
208 printk(KERN_WARNING "B-channel %p receive queue overflow, " 208 printk(KERN_WARNING "B-channel %p receive queue overflow, "
209 "fushing!\n", bch); 209 "flushing!\n", bch);
210 skb_queue_purge(&bch->rqueue); 210 skb_queue_purge(&bch->rqueue);
211 bch->rcount = 0; 211 bch->rcount = 0;
212 return; 212 return;
@@ -231,7 +231,7 @@ recv_Bchannel_skb(struct bchannel *bch, struct sk_buff *skb)
231{ 231{
232 if (bch->rcount >= 64) { 232 if (bch->rcount >= 64) {
233 printk(KERN_WARNING "B-channel %p receive queue overflow, " 233 printk(KERN_WARNING "B-channel %p receive queue overflow, "
234 "fushing!\n", bch); 234 "flushing!\n", bch);
235 skb_queue_purge(&bch->rqueue); 235 skb_queue_purge(&bch->rqueue);
236 bch->rcount = 0; 236 bch->rcount = 0;
237 } 237 }
@@ -279,7 +279,7 @@ confirm_Bsend(struct bchannel *bch)
279 279
280 if (bch->rcount >= 64) { 280 if (bch->rcount >= 64) {
281 printk(KERN_WARNING "B-channel %p receive queue overflow, " 281 printk(KERN_WARNING "B-channel %p receive queue overflow, "
282 "fushing!\n", bch); 282 "flushing!\n", bch);
283 skb_queue_purge(&bch->rqueue); 283 skb_queue_purge(&bch->rqueue);
284 bch->rcount = 0; 284 bch->rcount = 0;
285 } 285 }
diff --git a/drivers/message/i2o/i2o_config.c b/drivers/message/i2o/i2o_config.c
index 7d3cc575c361..098de2b35784 100644
--- a/drivers/message/i2o/i2o_config.c
+++ b/drivers/message/i2o/i2o_config.c
@@ -1044,8 +1044,7 @@ static long i2o_cfg_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
1044 1044
1045static int cfg_open(struct inode *inode, struct file *file) 1045static int cfg_open(struct inode *inode, struct file *file)
1046{ 1046{
1047 struct i2o_cfg_info *tmp = 1047 struct i2o_cfg_info *tmp = kmalloc(sizeof(struct i2o_cfg_info),
1048 (struct i2o_cfg_info *)kmalloc(sizeof(struct i2o_cfg_info),
1049 GFP_KERNEL); 1048 GFP_KERNEL);
1050 unsigned long flags; 1049 unsigned long flags;
1051 1050
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index ef932ba55a0b..5ae1d9ee2cf1 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -722,9 +722,8 @@ static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr)
722 /* 722 /*
723 * MXC NANDFC can only perform full page+spare or 723 * MXC NANDFC can only perform full page+spare or
724 * spare-only read/write. When the upper layers 724 * spare-only read/write. When the upper layers
725 * layers perform a read/write buf operation, 725 * perform a read/write buf operation, the saved column
726 * we will used the saved column address to index into 726 * address is used to index into the full page.
727 * the full page.
728 */ 727 */
729 host->send_addr(host, 0, page_addr == -1); 728 host->send_addr(host, 0, page_addr == -1);
730 if (mtd->writesize > 512) 729 if (mtd->writesize > 512)
diff --git a/drivers/net/atl1c/atl1c.h b/drivers/net/atl1c/atl1c.h
index 9ab58097fa2e..7cb375e0e29c 100644
--- a/drivers/net/atl1c/atl1c.h
+++ b/drivers/net/atl1c/atl1c.h
@@ -265,7 +265,7 @@ struct atl1c_recv_ret_status {
265 __le32 word3; 265 __le32 word3;
266}; 266};
267 267
268/* RFD desciptor */ 268/* RFD descriptor */
269struct atl1c_rx_free_desc { 269struct atl1c_rx_free_desc {
270 __le64 buffer_addr; 270 __le64 buffer_addr;
271}; 271};
@@ -531,7 +531,7 @@ struct atl1c_rfd_ring {
531 struct atl1c_buffer *buffer_info; 531 struct atl1c_buffer *buffer_info;
532}; 532};
533 533
534/* receive return desciptor (rrd) ring */ 534/* receive return descriptor (rrd) ring */
535struct atl1c_rrd_ring { 535struct atl1c_rrd_ring {
536 void *desc; /* descriptor ring virtual address */ 536 void *desc; /* descriptor ring virtual address */
537 dma_addr_t dma; /* descriptor ring physical address */ 537 dma_addr_t dma; /* descriptor ring physical address */
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index 2d21c60085bc..348b4f1367c9 100644
--- a/drivers/net/qla3xxx.c
+++ b/drivers/net/qla3xxx.c
@@ -2460,7 +2460,7 @@ map_error:
2460 * The 3032 supports sglists by using the 3 addr/len pairs (ALP) 2460 * The 3032 supports sglists by using the 3 addr/len pairs (ALP)
2461 * in the IOCB plus a chain of outbound address lists (OAL) that 2461 * in the IOCB plus a chain of outbound address lists (OAL) that
2462 * each contain 5 ALPs. The last ALP of the IOCB (3rd) or OAL (5th) 2462 * each contain 5 ALPs. The last ALP of the IOCB (3rd) or OAL (5th)
2463 * will used to point to an OAL when more ALP entries are required. 2463 * will be used to point to an OAL when more ALP entries are required.
2464 * The IOCB is always the top of the chain followed by one or more 2464 * The IOCB is always the top of the chain followed by one or more
2465 * OALs (when necessary). 2465 * OALs (when necessary).
2466 */ 2466 */
diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h
index ede017872367..d225077964e2 100644
--- a/drivers/net/sungem.h
+++ b/drivers/net/sungem.h
@@ -843,7 +843,7 @@ struct gem_txd {
843 843
844/* GEM requires that RX descriptors are provided four at a time, 844/* GEM requires that RX descriptors are provided four at a time,
845 * aligned. Also, the RX ring may not wrap around. This means that 845 * aligned. Also, the RX ring may not wrap around. This means that
846 * there will be at least 4 unused desciptor entries in the middle 846 * there will be at least 4 unused descriptor entries in the middle
847 * of the RX ring at all times. 847 * of the RX ring at all times.
848 * 848 *
849 * Similar to HME, GEM assumes that it can write garbage bytes before 849 * Similar to HME, GEM assumes that it can write garbage bytes before
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 38b34a73866a..ad3d099bf5c1 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -39,7 +39,6 @@
39#include <linux/slab.h> 39#include <linux/slab.h>
40#include <linux/input.h> 40#include <linux/input.h>
41#include <linux/input/sparse-keymap.h> 41#include <linux/input/sparse-keymap.h>
42#include <linux/dmi.h>
43 42
44#include <acpi/acpi_drivers.h> 43#include <acpi/acpi_drivers.h>
45 44
diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h
index be5558ab84ea..95ee50385188 100644
--- a/drivers/scsi/aic7xxx/aic79xx.h
+++ b/drivers/scsi/aic7xxx/aic79xx.h
@@ -672,7 +672,7 @@ struct scb_data {
672/************************ Target Mode Definitions *****************************/ 672/************************ Target Mode Definitions *****************************/
673 673
674/* 674/*
675 * Connection desciptor for select-in requests in target mode. 675 * Connection descriptor for select-in requests in target mode.
676 */ 676 */
677struct target_cmd { 677struct target_cmd {
678 uint8_t scsiid; /* Our ID and the initiator's ID */ 678 uint8_t scsiid; /* Our ID and the initiator's ID */
diff --git a/drivers/scsi/aic7xxx/aic7xxx.h b/drivers/scsi/aic7xxx/aic7xxx.h
index e4e651cca3e4..17444bc18bca 100644
--- a/drivers/scsi/aic7xxx/aic7xxx.h
+++ b/drivers/scsi/aic7xxx/aic7xxx.h
@@ -618,7 +618,7 @@ struct scb_data {
618/************************ Target Mode Definitions *****************************/ 618/************************ Target Mode Definitions *****************************/
619 619
620/* 620/*
621 * Connection desciptor for select-in requests in target mode. 621 * Connection descriptor for select-in requests in target mode.
622 */ 622 */
623struct target_cmd { 623struct target_cmd {
624 uint8_t scsiid; /* Our ID and the initiator's ID */ 624 uint8_t scsiid; /* Our ID and the initiator's ID */
diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c b/drivers/scsi/aic7xxx/aic7xxx_core.c
index 3f5a542a7793..e021b4812d58 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_core.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_core.c
@@ -4780,7 +4780,7 @@ ahc_init_scbdata(struct ahc_softc *ahc)
4780 SLIST_INIT(&scb_data->sg_maps); 4780 SLIST_INIT(&scb_data->sg_maps);
4781 4781
4782 /* Allocate SCB resources */ 4782 /* Allocate SCB resources */
4783 scb_data->scbarray = (struct scb *)kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC); 4783 scb_data->scbarray = kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC);
4784 if (scb_data->scbarray == NULL) 4784 if (scb_data->scbarray == NULL)
4785 return (ENOMEM); 4785 return (ENOMEM);
4786 memset(scb_data->scbarray, 0, sizeof(struct scb) * AHC_SCB_MAX_ALLOC); 4786 memset(scb_data->scbarray, 0, sizeof(struct scb) * AHC_SCB_MAX_ALLOC);
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index 9aa048525eb2..c212694a9714 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -1412,7 +1412,7 @@ megaraid_isr_memmapped(int irq, void *devp)
1412 * @nstatus - number of completed commands 1412 * @nstatus - number of completed commands
1413 * @status - status of the last command completed 1413 * @status - status of the last command completed
1414 * 1414 *
1415 * Complete the comamnds and call the scsi mid-layer callback hooks. 1415 * Complete the commands and call the scsi mid-layer callback hooks.
1416 */ 1416 */
1417static void 1417static void
1418mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status) 1418mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status)
@@ -4296,7 +4296,7 @@ mega_support_cluster(adapter_t *adapter)
4296 * @adapter - pointer to our soft state 4296 * @adapter - pointer to our soft state
4297 * @dma_handle - DMA address of the buffer 4297 * @dma_handle - DMA address of the buffer
4298 * 4298 *
4299 * Issue internal comamnds while interrupts are available. 4299 * Issue internal commands while interrupts are available.
4300 * We only issue direct mailbox commands from within the driver. ioctl() 4300 * We only issue direct mailbox commands from within the driver. ioctl()
4301 * interface using these routines can issue passthru commands. 4301 * interface using these routines can issue passthru commands.
4302 */ 4302 */
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index f875e818905f..bbd10c81fd9c 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -890,7 +890,7 @@ megasas_issue_blocked_cmd(struct megasas_instance *instance,
890 * @instance: Adapter soft state 890 * @instance: Adapter soft state
891 * @cmd_to_abort: Previously issued cmd to be aborted 891 * @cmd_to_abort: Previously issued cmd to be aborted
892 * 892 *
893 * MFI firmware can abort previously issued AEN comamnd (automatic event 893 * MFI firmware can abort previously issued AEN command (automatic event
894 * notification). The megasas_issue_blocked_abort_cmd() issues such abort 894 * notification). The megasas_issue_blocked_abort_cmd() issues such abort
895 * cmd and waits for return status. 895 * cmd and waits for return status.
896 * Max wait time is MEGASAS_INTERNAL_CMD_WAIT_TIME secs 896 * Max wait time is MEGASAS_INTERNAL_CMD_WAIT_TIME secs
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c
index 54de1d1af1a7..521e2182d45b 100644
--- a/drivers/scsi/osst.c
+++ b/drivers/scsi/osst.c
@@ -1484,7 +1484,7 @@ static int osst_read_back_buffer_and_rewrite(struct osst_tape * STp, struct osst
1484 int dbg = debugging; 1484 int dbg = debugging;
1485#endif 1485#endif
1486 1486
1487 if ((buffer = (unsigned char *)vmalloc((nframes + 1) * OS_DATA_SIZE)) == NULL) 1487 if ((buffer = vmalloc((nframes + 1) * OS_DATA_SIZE)) == NULL)
1488 return (-EIO); 1488 return (-EIO);
1489 1489
1490 printk(KERN_INFO "%s:I: Reading back %d frames from drive buffer%s\n", 1490 printk(KERN_INFO "%s:I: Reading back %d frames from drive buffer%s\n",
@@ -2296,7 +2296,7 @@ static int osst_write_header(struct osst_tape * STp, struct osst_request ** aSRp
2296 if (STp->raw) return 0; 2296 if (STp->raw) return 0;
2297 2297
2298 if (STp->header_cache == NULL) { 2298 if (STp->header_cache == NULL) {
2299 if ((STp->header_cache = (os_header_t *)vmalloc(sizeof(os_header_t))) == NULL) { 2299 if ((STp->header_cache = vmalloc(sizeof(os_header_t))) == NULL) {
2300 printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name); 2300 printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name);
2301 return (-ENOMEM); 2301 return (-ENOMEM);
2302 } 2302 }
@@ -2484,7 +2484,7 @@ static int __osst_analyze_headers(struct osst_tape * STp, struct osst_request **
2484 name, ppos, update_frame_cntr); 2484 name, ppos, update_frame_cntr);
2485#endif 2485#endif
2486 if (STp->header_cache == NULL) { 2486 if (STp->header_cache == NULL) {
2487 if ((STp->header_cache = (os_header_t *)vmalloc(sizeof(os_header_t))) == NULL) { 2487 if ((STp->header_cache = vmalloc(sizeof(os_header_t))) == NULL) {
2488 printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name); 2488 printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name);
2489 return 0; 2489 return 0;
2490 } 2490 }
@@ -5851,9 +5851,7 @@ static int osst_probe(struct device *dev)
5851 /* if this is the first attach, build the infrastructure */ 5851 /* if this is the first attach, build the infrastructure */
5852 write_lock(&os_scsi_tapes_lock); 5852 write_lock(&os_scsi_tapes_lock);
5853 if (os_scsi_tapes == NULL) { 5853 if (os_scsi_tapes == NULL) {
5854 os_scsi_tapes = 5854 os_scsi_tapes = kmalloc(osst_max_dev * sizeof(struct osst_tape *), GFP_ATOMIC);
5855 (struct osst_tape **)kmalloc(osst_max_dev * sizeof(struct osst_tape *),
5856 GFP_ATOMIC);
5857 if (os_scsi_tapes == NULL) { 5855 if (os_scsi_tapes == NULL) {
5858 write_unlock(&os_scsi_tapes_lock); 5856 write_unlock(&os_scsi_tapes_lock);
5859 printk(KERN_ERR "osst :E: Unable to allocate array for OnStream SCSI tapes.\n"); 5857 printk(KERN_ERR "osst :E: Unable to allocate array for OnStream SCSI tapes.\n");
diff --git a/drivers/scsi/qla4xxx/ql4_isr.c b/drivers/scsi/qla4xxx/ql4_isr.c
index 6ffbe9727dff..03e028e6e809 100644
--- a/drivers/scsi/qla4xxx/ql4_isr.c
+++ b/drivers/scsi/qla4xxx/ql4_isr.c
@@ -1027,7 +1027,7 @@ void qla4xxx_process_aen(struct scsi_qla_host * ha, uint8_t process_aen)
1027 ((ddb_entry->default_time2wait + 1027 ((ddb_entry->default_time2wait +
1028 4) * HZ); 1028 4) * HZ);
1029 1029
1030 DEBUG2(printk("scsi%ld: ddb [%d] initate" 1030 DEBUG2(printk("scsi%ld: ddb [%d] initiate"
1031 " RELOGIN after %d seconds\n", 1031 " RELOGIN after %d seconds\n",
1032 ha->host_no, 1032 ha->host_no,
1033 ddb_entry->fw_ddb_index, 1033 ddb_entry->fw_ddb_index,
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 3fc1d256636f..967836ef5ab2 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -812,7 +812,7 @@ static void qla4xxx_timer(struct scsi_qla_host *ha)
812 ); 812 );
813 start_dpc++; 813 start_dpc++;
814 DEBUG(printk("scsi%ld:%d:%d: ddb [%d] " 814 DEBUG(printk("scsi%ld:%d:%d: ddb [%d] "
815 "initate relogin after" 815 "initiate relogin after"
816 " %d seconds\n", 816 " %d seconds\n",
817 ha->host_no, ddb_entry->bus, 817 ha->host_no, ddb_entry->bus,
818 ddb_entry->target, 818 ddb_entry->target,
diff --git a/drivers/target/target_core_hba.c b/drivers/target/target_core_hba.c
index 73f7d6d81b4c..6ec51cbc018e 100644
--- a/drivers/target/target_core_hba.c
+++ b/drivers/target/target_core_hba.c
@@ -37,7 +37,6 @@
37 37
38#include <target/target_core_base.h> 38#include <target/target_core_base.h>
39#include <target/target_core_device.h> 39#include <target/target_core_device.h>
40#include <target/target_core_device.h>
41#include <target/target_core_tpg.h> 40#include <target/target_core_tpg.h>
42#include <target/target_core_transport.h> 41#include <target/target_core_transport.h>
43 42
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c
index 7e315b7f8700..bef238f9ffd7 100644
--- a/drivers/tty/hvc/hvcs.c
+++ b/drivers/tty/hvc/hvcs.c
@@ -292,7 +292,7 @@ struct hvcs_struct {
292 /* 292 /*
293 * Any variable below the kref is valid before a tty is connected and 293 * Any variable below the kref is valid before a tty is connected and
294 * stays valid after the tty is disconnected. These shouldn't be 294 * stays valid after the tty is disconnected. These shouldn't be
295 * whacked until the koject refcount reaches zero though some entries 295 * whacked until the kobject refcount reaches zero though some entries
296 * may be changed via sysfs initiatives. 296 * may be changed via sysfs initiatives.
297 */ 297 */
298 struct kref kref; /* ref count & hvcs_struct lifetime */ 298 struct kref kref; /* ref count & hvcs_struct lifetime */
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index a9ad7f33526d..26403b8e4b9b 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -15,7 +15,6 @@
15 *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 15 *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
16 */ 16 */
17#include <linux/serial_reg.h> 17#include <linux/serial_reg.h>
18#include <linux/pci.h>
19#include <linux/module.h> 18#include <linux/module.h>
20#include <linux/pci.h> 19#include <linux/pci.h>
21#include <linux/serial_core.h> 20#include <linux/serial_core.h>
diff --git a/drivers/watchdog/sbc_epx_c3.c b/drivers/watchdog/sbc_epx_c3.c
index 28f1214457bd..3066a5127ca8 100644
--- a/drivers/watchdog/sbc_epx_c3.c
+++ b/drivers/watchdog/sbc_epx_c3.c
@@ -220,7 +220,7 @@ module_exit(watchdog_exit);
220MODULE_AUTHOR("Calin A. Culianu <calin@ajvar.org>"); 220MODULE_AUTHOR("Calin A. Culianu <calin@ajvar.org>");
221MODULE_DESCRIPTION("Hardware Watchdog Device for Winsystems EPX-C3 SBC. " 221MODULE_DESCRIPTION("Hardware Watchdog Device for Winsystems EPX-C3 SBC. "
222 "Note that there is no way to probe for this device -- " 222 "Note that there is no way to probe for this device -- "
223 "so only use it if you are *sure* you are runnning on this specific " 223 "so only use it if you are *sure* you are running on this specific "
224 "SBC system from Winsystems! It writes to IO ports 0x1ee and 0x1ef!"); 224 "SBC system from Winsystems! It writes to IO ports 0x1ee and 0x1ef!");
225MODULE_LICENSE("GPL"); 225MODULE_LICENSE("GPL");
226MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); 226MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index e1aa8d607bc7..100b07f021b4 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2493,7 +2493,7 @@ int close_ctree(struct btrfs_root *root)
2493 * ERROR state on disk. 2493 * ERROR state on disk.
2494 * 2494 *
2495 * 2. when btrfs flips readonly just in btrfs_commit_super, 2495 * 2. when btrfs flips readonly just in btrfs_commit_super,
2496 * and in such case, btrfs cannnot write sb via btrfs_commit_super, 2496 * and in such case, btrfs cannot write sb via btrfs_commit_super,
2497 * and since fs_state has been set BTRFS_SUPER_FLAG_ERROR flag, 2497 * and since fs_state has been set BTRFS_SUPER_FLAG_ERROR flag,
2498 * btrfs will cleanup all FS resources first and write sb then. 2498 * btrfs will cleanup all FS resources first and write sb then.
2499 */ 2499 */
diff --git a/fs/dcache.c b/fs/dcache.c
index a39fe47c466f..8b1f8425549f 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1808,7 +1808,7 @@ struct dentry *__d_lookup_rcu(struct dentry *parent, struct qstr *name,
1808 * false-negative result. d_lookup() protects against concurrent 1808 * false-negative result. d_lookup() protects against concurrent
1809 * renames using rename_lock seqlock. 1809 * renames using rename_lock seqlock.
1810 * 1810 *
1811 * See Documentation/vfs/dcache-locking.txt for more details. 1811 * See Documentation/filesystems/path-lookup.txt for more details.
1812 */ 1812 */
1813 hlist_bl_for_each_entry_rcu(dentry, node, &b->head, d_hash) { 1813 hlist_bl_for_each_entry_rcu(dentry, node, &b->head, d_hash) {
1814 struct inode *i; 1814 struct inode *i;
@@ -1928,7 +1928,7 @@ struct dentry *__d_lookup(struct dentry *parent, struct qstr *name)
1928 * false-negative result. d_lookup() protects against concurrent 1928 * false-negative result. d_lookup() protects against concurrent
1929 * renames using rename_lock seqlock. 1929 * renames using rename_lock seqlock.
1930 * 1930 *
1931 * See Documentation/vfs/dcache-locking.txt for more details. 1931 * See Documentation/filesystems/path-lookup.txt for more details.
1932 */ 1932 */
1933 rcu_read_lock(); 1933 rcu_read_lock();
1934 1934
diff --git a/fs/direct-io.c b/fs/direct-io.c
index b044705eedd4..dcb5577cde1d 100644
--- a/fs/direct-io.c
+++ b/fs/direct-io.c
@@ -645,11 +645,11 @@ static int dio_send_cur_page(struct dio *dio)
645 /* 645 /*
646 * See whether this new request is contiguous with the old. 646 * See whether this new request is contiguous with the old.
647 * 647 *
648 * Btrfs cannot handl having logically non-contiguous requests 648 * Btrfs cannot handle having logically non-contiguous requests
649 * submitted. For exmple if you have 649 * submitted. For example if you have
650 * 650 *
651 * Logical: [0-4095][HOLE][8192-12287] 651 * Logical: [0-4095][HOLE][8192-12287]
652 * Phyiscal: [0-4095] [4096-8181] 652 * Physical: [0-4095] [4096-8191]
653 * 653 *
654 * We cannot submit those pages together as one BIO. So if our 654 * We cannot submit those pages together as one BIO. So if our
655 * current logical offset in the file does not equal what would 655 * current logical offset in the file does not equal what would
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 4a09af9e9a63..ff12f7ac73ef 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -62,7 +62,7 @@
62 * This mutex is acquired by ep_free() during the epoll file 62 * This mutex is acquired by ep_free() during the epoll file
63 * cleanup path and it is also acquired by eventpoll_release_file() 63 * cleanup path and it is also acquired by eventpoll_release_file()
64 * if a file has been pushed inside an epoll set and it is then 64 * if a file has been pushed inside an epoll set and it is then
65 * close()d without a previous call toepoll_ctl(EPOLL_CTL_DEL). 65 * close()d without a previous call to epoll_ctl(EPOLL_CTL_DEL).
66 * It is also acquired when inserting an epoll fd onto another epoll 66 * It is also acquired when inserting an epoll fd onto another epoll
67 * fd. We do this so that we walk the epoll tree and ensure that this 67 * fd. We do this so that we walk the epoll tree and ensure that this
68 * insertion does not create a cycle of epoll file descriptors, which 68 * insertion does not create a cycle of epoll file descriptors, which
@@ -152,11 +152,11 @@ struct epitem {
152 152
153/* 153/*
154 * This structure is stored inside the "private_data" member of the file 154 * This structure is stored inside the "private_data" member of the file
155 * structure and rapresent the main data sructure for the eventpoll 155 * structure and represents the main data structure for the eventpoll
156 * interface. 156 * interface.
157 */ 157 */
158struct eventpoll { 158struct eventpoll {
159 /* Protect the this structure access */ 159 /* Protect the access to this structure */
160 spinlock_t lock; 160 spinlock_t lock;
161 161
162 /* 162 /*
@@ -793,7 +793,7 @@ static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd)
793 793
794/* 794/*
795 * This is the callback that is passed to the wait queue wakeup 795 * This is the callback that is passed to the wait queue wakeup
796 * machanism. It is called by the stored file descriptors when they 796 * mechanism. It is called by the stored file descriptors when they
797 * have events to report. 797 * have events to report.
798 */ 798 */
799static int ep_poll_callback(wait_queue_t *wait, unsigned mode, int sync, void *key) 799static int ep_poll_callback(wait_queue_t *wait, unsigned mode, int sync, void *key)
@@ -824,9 +824,9 @@ static int ep_poll_callback(wait_queue_t *wait, unsigned mode, int sync, void *k
824 goto out_unlock; 824 goto out_unlock;
825 825
826 /* 826 /*
827 * If we are trasfering events to userspace, we can hold no locks 827 * If we are transferring events to userspace, we can hold no locks
828 * (because we're accessing user memory, and because of linux f_op->poll() 828 * (because we're accessing user memory, and because of linux f_op->poll()
829 * semantics). All the events that happens during that period of time are 829 * semantics). All the events that happen during that period of time are
830 * chained in ep->ovflist and requeued later on. 830 * chained in ep->ovflist and requeued later on.
831 */ 831 */
832 if (unlikely(ep->ovflist != EP_UNACTIVE_PTR)) { 832 if (unlikely(ep->ovflist != EP_UNACTIVE_PTR)) {
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index ccce8a7e94ed..7516fb9c0bd5 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -131,7 +131,7 @@ static ext4_fsblk_t ext4_ext_find_goal(struct inode *inode,
131 * fragmenting the file system's free space. Maybe we 131 * fragmenting the file system's free space. Maybe we
132 * should have some hueristics or some way to allow 132 * should have some hueristics or some way to allow
133 * userspace to pass a hint to file system, 133 * userspace to pass a hint to file system,
134 * especiially if the latter case turns out to be 134 * especially if the latter case turns out to be
135 * common. 135 * common.
136 */ 136 */
137 ex = path[depth].p_ext; 137 ex = path[depth].p_ext;
@@ -2844,7 +2844,7 @@ fix_extent_len:
2844 * ext4_get_blocks_dio_write() when DIO to write 2844 * ext4_get_blocks_dio_write() when DIO to write
2845 * to an uninitialized extent. 2845 * to an uninitialized extent.
2846 * 2846 *
2847 * Writing to an uninitized extent may result in splitting the uninitialized 2847 * Writing to an uninitialized extent may result in splitting the uninitialized
2848 * extent into multiple /initialized uninitialized extents (up to three) 2848 * extent into multiple /initialized uninitialized extents (up to three)
2849 * There are three possibilities: 2849 * There are three possibilities:
2850 * a> There is no split required: Entire extent should be uninitialized 2850 * a> There is no split required: Entire extent should be uninitialized
diff --git a/fs/fuse/cuse.c b/fs/fuse/cuse.c
index 3e87cce5837d..7c39b885f969 100644
--- a/fs/fuse/cuse.c
+++ b/fs/fuse/cuse.c
@@ -458,7 +458,7 @@ static void cuse_fc_release(struct fuse_conn *fc)
458 * @file: file struct being opened 458 * @file: file struct being opened
459 * 459 *
460 * Userland CUSE server can create a CUSE device by opening /dev/cuse 460 * Userland CUSE server can create a CUSE device by opening /dev/cuse
461 * and replying to the initilaization request kernel sends. This 461 * and replying to the initialization request kernel sends. This
462 * function is responsible for handling CUSE device initialization. 462 * function is responsible for handling CUSE device initialization.
463 * Because the fd opened by this function is used during 463 * Because the fd opened by this function is used during
464 * initialization, this function only creates cuse_conn and sends 464 * initialization, this function only creates cuse_conn and sends
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c
index 8b61220cffc5..6b1305dc26c0 100644
--- a/fs/notify/fanotify/fanotify_user.c
+++ b/fs/notify/fanotify/fanotify_user.c
@@ -876,7 +876,7 @@ SYSCALL_ALIAS(sys_fanotify_mark, SyS_fanotify_mark);
876#endif 876#endif
877 877
878/* 878/*
879 * fanotify_user_setup - Our initialization function. Note that we cannnot return 879 * fanotify_user_setup - Our initialization function. Note that we cannot return
880 * error because we have compiled-in VFS hooks. So an (unlikely) failure here 880 * error because we have compiled-in VFS hooks. So an (unlikely) failure here
881 * must result in panic(). 881 * must result in panic().
882 */ 882 */
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
index 4cd5d5d78f9f..bd46e7c8a0ef 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -841,7 +841,7 @@ out:
841} 841}
842 842
843/* 843/*
844 * inotify_user_setup - Our initialization function. Note that we cannnot return 844 * inotify_user_setup - Our initialization function. Note that we cannot return
845 * error because we have compiled-in VFS hooks. So an (unlikely) failure here 845 * error because we have compiled-in VFS hooks. So an (unlikely) failure here
846 * must result in panic(). 846 * must result in panic().
847 */ 847 */
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index d417b3f9b0c7..f97b6f1c61dd 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -354,7 +354,7 @@ static inline int ocfs2_match(int len,
354/* 354/*
355 * Returns 0 if not found, -1 on failure, and 1 on success 355 * Returns 0 if not found, -1 on failure, and 1 on success
356 */ 356 */
357static int inline ocfs2_search_dirblock(struct buffer_head *bh, 357static inline int ocfs2_search_dirblock(struct buffer_head *bh,
358 struct inode *dir, 358 struct inode *dir,
359 const char *name, int namelen, 359 const char *name, int namelen,
360 unsigned long offset, 360 unsigned long offset,
diff --git a/include/asm-generic/user.h b/include/asm-generic/user.h
index 8b9c3c960aeb..35638c34700f 100644
--- a/include/asm-generic/user.h
+++ b/include/asm-generic/user.h
@@ -1,8 +1,8 @@
1#ifndef __ASM_GENERIC_USER_H 1#ifndef __ASM_GENERIC_USER_H
2#define __ASM_GENERIC_USER_H 2#define __ASM_GENERIC_USER_H
3/* 3/*
4 * This file may define a 'struct user' structure. However, it it only 4 * This file may define a 'struct user' structure. However, it is only
5 * used for a.out file, which are not supported on new architectures. 5 * used for a.out files, which are not supported on new architectures.
6 */ 6 */
7 7
8#endif /* __ASM_GENERIC_USER_H */ 8#endif /* __ASM_GENERIC_USER_H */
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 02ecb0189b1d..e56f835274c9 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -472,7 +472,7 @@ static inline int zone_is_oom_locked(const struct zone *zone)
472#ifdef CONFIG_NUMA 472#ifdef CONFIG_NUMA
473 473
474/* 474/*
475 * The NUMA zonelists are doubled becausse we need zonelists that restrict the 475 * The NUMA zonelists are doubled because we need zonelists that restrict the
476 * allocations to a single node for GFP_THISNODE. 476 * allocations to a single node for GFP_THISNODE.
477 * 477 *
478 * [0] : Zonelist with fallback 478 * [0] : Zonelist with fallback
diff --git a/init/Kconfig b/init/Kconfig
index d91de16cf637..56240e724d9a 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -745,9 +745,9 @@ config BLK_CGROUP
745 745
746 This option only enables generic Block IO controller infrastructure. 746 This option only enables generic Block IO controller infrastructure.
747 One needs to also enable actual IO controlling logic/policy. For 747 One needs to also enable actual IO controlling logic/policy. For
748 enabling proportional weight division of disk bandwidth in CFQ seti 748 enabling proportional weight division of disk bandwidth in CFQ, set
749 CONFIG_CFQ_GROUP_IOSCHED=y and for enabling throttling policy set 749 CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
750 CONFIG_BLK_THROTTLE=y. 750 CONFIG_BLK_DEV_THROTTLING=y.
751 751
752 See Documentation/cgroups/blkio-controller.txt for more information. 752 See Documentation/cgroups/blkio-controller.txt for more information.
753 753
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index db7b439d23ee..d9c8bcafb120 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -668,7 +668,7 @@ static struct list_head *rb_list_head(struct list_head *list)
668 * the reader page). But if the next page is a header page, 668 * the reader page). But if the next page is a header page,
669 * its flags will be non zero. 669 * its flags will be non zero.
670 */ 670 */
671static int inline 671static inline int
672rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer, 672rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer,
673 struct buffer_page *page, struct list_head *list) 673 struct buffer_page *page, struct list_head *list)
674{ 674{
diff --git a/mm/memory.c b/mm/memory.c
index 346ee7e041fd..e48945ab362b 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2172,10 +2172,10 @@ EXPORT_SYMBOL_GPL(apply_to_page_range);
2172 * handle_pte_fault chooses page fault handler according to an entry 2172 * handle_pte_fault chooses page fault handler according to an entry
2173 * which was read non-atomically. Before making any commitment, on 2173 * which was read non-atomically. Before making any commitment, on
2174 * those architectures or configurations (e.g. i386 with PAE) which 2174 * those architectures or configurations (e.g. i386 with PAE) which
2175 * might give a mix of unmatched parts, do_swap_page and do_file_page 2175 * might give a mix of unmatched parts, do_swap_page and do_nonlinear_fault
2176 * must check under lock before unmapping the pte and proceeding 2176 * must check under lock before unmapping the pte and proceeding
2177 * (but do_wp_page is only called after already making such a check; 2177 * (but do_wp_page is only called after already making such a check;
2178 * and do_anonymous_page and do_no_page can safely check later on). 2178 * and do_anonymous_page can safely check later on).
2179 */ 2179 */
2180static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd, 2180static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
2181 pte_t *page_table, pte_t orig_pte) 2181 pte_t *page_table, pte_t orig_pte)
@@ -2371,7 +2371,7 @@ reuse:
2371 * bit after it clear all dirty ptes, but before a racing 2371 * bit after it clear all dirty ptes, but before a racing
2372 * do_wp_page installs a dirty pte. 2372 * do_wp_page installs a dirty pte.
2373 * 2373 *
2374 * do_no_page is protected similarly. 2374 * __do_fault is protected similarly.
2375 */ 2375 */
2376 if (!page_mkwrite) { 2376 if (!page_mkwrite) {
2377 wait_on_page_locked(dirty_page); 2377 wait_on_page_locked(dirty_page);
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index b53ec99f1428..78062ab641ff 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -993,7 +993,7 @@ int do_migrate_pages(struct mm_struct *mm,
993 * most recent <s, d> pair that moved (s != d). If we find a pair 993 * most recent <s, d> pair that moved (s != d). If we find a pair
994 * that not only moved, but what's better, moved to an empty slot 994 * that not only moved, but what's better, moved to an empty slot
995 * (d is not set in tmp), then we break out then, with that pair. 995 * (d is not set in tmp), then we break out then, with that pair.
996 * Otherwise when we finish scannng from_tmp, we at least have the 996 * Otherwise when we finish scanning from_tmp, we at least have the
997 * most recent <s, d> pair that moved. If we get all the way through 997 * most recent <s, d> pair that moved. If we get all the way through
998 * the scan of tmp without finding any node that moved, much less 998 * the scan of tmp without finding any node that moved, much less
999 * moved to an empty node, then there is nothing left worth migrating. 999 * moved to an empty node, then there is nothing left worth migrating.
diff --git a/mm/shmem.c b/mm/shmem.c
index 41f82bb59eec..048a95a5244d 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -779,7 +779,7 @@ static int shmem_notify_change(struct dentry *dentry, struct iattr *attr)
779 * If truncating down to a partial page, then 779 * If truncating down to a partial page, then
780 * if that page is already allocated, hold it 780 * if that page is already allocated, hold it
781 * in memory until the truncation is over, so 781 * in memory until the truncation is over, so
782 * truncate_partial_page cannnot miss it were 782 * truncate_partial_page cannot miss it were
783 * it assigned to swap. 783 * it assigned to swap.
784 */ 784 */
785 if (newsize & (PAGE_CACHE_SIZE-1)) { 785 if (newsize & (PAGE_CACHE_SIZE-1)) {
diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c
index 133fd22ea287..7b39f3ed2fda 100644
--- a/net/core/dev_addr_lists.c
+++ b/net/core/dev_addr_lists.c
@@ -357,8 +357,8 @@ EXPORT_SYMBOL(dev_addr_add_multiple);
357/** 357/**
358 * dev_addr_del_multiple - Delete device addresses by another device 358 * dev_addr_del_multiple - Delete device addresses by another device
359 * @to_dev: device where the addresses will be deleted 359 * @to_dev: device where the addresses will be deleted
360 * @from_dev: device by which addresses the addresses will be deleted 360 * @from_dev: device supplying the addresses to be deleted
361 * @addr_type: address type - 0 means type will used from from_dev 361 * @addr_type: address type - 0 means type will be used from from_dev
362 * 362 *
363 * Deletes addresses in to device by the list of addresses in from device. 363 * Deletes addresses in to device by the list of addresses in from device.
364 * 364 *
diff --git a/net/ipv6/inet6_hashtables.c b/net/ipv6/inet6_hashtables.c
index 633a6c266136..b53197233709 100644
--- a/net/ipv6/inet6_hashtables.c
+++ b/net/ipv6/inet6_hashtables.c
@@ -124,7 +124,7 @@ out:
124} 124}
125EXPORT_SYMBOL(__inet6_lookup_established); 125EXPORT_SYMBOL(__inet6_lookup_established);
126 126
127static int inline compute_score(struct sock *sk, struct net *net, 127static inline int compute_score(struct sock *sk, struct net *net,
128 const unsigned short hnum, 128 const unsigned short hnum,
129 const struct in6_addr *daddr, 129 const struct in6_addr *daddr,
130 const int dif) 130 const int dif)
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 081dcaf6577b..ce4596ed1268 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -169,7 +169,7 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, int group_addr,
169 return cpu_to_le16(dur); 169 return cpu_to_le16(dur);
170} 170}
171 171
172static int inline is_ieee80211_device(struct ieee80211_local *local, 172static inline int is_ieee80211_device(struct ieee80211_local *local,
173 struct net_device *dev) 173 struct net_device *dev)
174{ 174{
175 return local == wdev_priv(dev->ieee80211_ptr); 175 return local == wdev_priv(dev->ieee80211_ptr);
diff --git a/sound/pci/au88x0/au88x0.h b/sound/pci/au88x0/au88x0.h
index cf46bba563cf..ecb8f4daf408 100644
--- a/sound/pci/au88x0/au88x0.h
+++ b/sound/pci/au88x0/au88x0.h
@@ -211,7 +211,7 @@ static void vortex_adbdma_startfifo(vortex_t * vortex, int adbdma);
211//static void vortex_adbdma_stopfifo(vortex_t *vortex, int adbdma); 211//static void vortex_adbdma_stopfifo(vortex_t *vortex, int adbdma);
212static void vortex_adbdma_pausefifo(vortex_t * vortex, int adbdma); 212static void vortex_adbdma_pausefifo(vortex_t * vortex, int adbdma);
213static void vortex_adbdma_resumefifo(vortex_t * vortex, int adbdma); 213static void vortex_adbdma_resumefifo(vortex_t * vortex, int adbdma);
214static int inline vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma); 214static inline int vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma);
215static void vortex_adbdma_resetup(vortex_t *vortex, int adbdma); 215static void vortex_adbdma_resetup(vortex_t *vortex, int adbdma);
216 216
217#ifndef CHIP_AU8810 217#ifndef CHIP_AU8810
@@ -219,7 +219,7 @@ static void vortex_wtdma_startfifo(vortex_t * vortex, int wtdma);
219static void vortex_wtdma_stopfifo(vortex_t * vortex, int wtdma); 219static void vortex_wtdma_stopfifo(vortex_t * vortex, int wtdma);
220static void vortex_wtdma_pausefifo(vortex_t * vortex, int wtdma); 220static void vortex_wtdma_pausefifo(vortex_t * vortex, int wtdma);
221static void vortex_wtdma_resumefifo(vortex_t * vortex, int wtdma); 221static void vortex_wtdma_resumefifo(vortex_t * vortex, int wtdma);
222static int inline vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma); 222static inline int vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma);
223#endif 223#endif
224 224
225/* global stuff. */ 225/* global stuff. */
diff --git a/sound/pci/au88x0/au88x0_core.c b/sound/pci/au88x0/au88x0_core.c
index 16c0bdfbb164..489150380eac 100644
--- a/sound/pci/au88x0/au88x0_core.c
+++ b/sound/pci/au88x0/au88x0_core.c
@@ -1249,7 +1249,7 @@ static void vortex_adbdma_resetup(vortex_t *vortex, int adbdma) {
1249 } 1249 }
1250} 1250}
1251 1251
1252static int inline vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma) 1252static inline int vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma)
1253{ 1253{
1254 stream_t *dma = &vortex->dma_adb[adbdma]; 1254 stream_t *dma = &vortex->dma_adb[adbdma];
1255 int temp, page, delta; 1255 int temp, page, delta;
@@ -1506,7 +1506,7 @@ static int vortex_wtdma_getcursubuffer(vortex_t * vortex, int wtdma)
1506 POS_SHIFT) & POS_MASK); 1506 POS_SHIFT) & POS_MASK);
1507} 1507}
1508#endif 1508#endif
1509static int inline vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma) 1509static inline int vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma)
1510{ 1510{
1511 stream_t *dma = &vortex->dma_wt[wtdma]; 1511 stream_t *dma = &vortex->dma_wt[wtdma];
1512 int temp; 1512 int temp;