diff options
37 files changed, 307 insertions, 143 deletions
diff --git a/arch/ia64/configs/generic_defconfig b/arch/ia64/configs/generic_defconfig index e05f9e1d3fa..27eb67604c5 100644 --- a/arch/ia64/configs/generic_defconfig +++ b/arch/ia64/configs/generic_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.27-rc1 | 3 | # Linux kernel version: 2.6.28-rc7 |
| 4 | # Mon Aug 4 15:38:01 2008 | 4 | # Mon Dec 8 08:12:07 2008 |
| 5 | # | 5 | # |
| 6 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 6 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 7 | 7 | ||
| @@ -26,6 +26,7 @@ CONFIG_LOG_BUF_SHIFT=20 | |||
| 26 | CONFIG_CGROUPS=y | 26 | CONFIG_CGROUPS=y |
| 27 | # CONFIG_CGROUP_DEBUG is not set | 27 | # CONFIG_CGROUP_DEBUG is not set |
| 28 | # CONFIG_CGROUP_NS is not set | 28 | # CONFIG_CGROUP_NS is not set |
| 29 | # CONFIG_CGROUP_FREEZER is not set | ||
| 29 | # CONFIG_CGROUP_DEVICE is not set | 30 | # CONFIG_CGROUP_DEVICE is not set |
| 30 | CONFIG_CPUSETS=y | 31 | CONFIG_CPUSETS=y |
| 31 | # CONFIG_GROUP_SCHED is not set | 32 | # CONFIG_GROUP_SCHED is not set |
| @@ -46,7 +47,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y | |||
| 46 | CONFIG_SYSCTL=y | 47 | CONFIG_SYSCTL=y |
| 47 | # CONFIG_EMBEDDED is not set | 48 | # CONFIG_EMBEDDED is not set |
| 48 | CONFIG_SYSCTL_SYSCALL=y | 49 | CONFIG_SYSCTL_SYSCALL=y |
| 49 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
| 50 | CONFIG_KALLSYMS=y | 50 | CONFIG_KALLSYMS=y |
| 51 | CONFIG_KALLSYMS_ALL=y | 51 | CONFIG_KALLSYMS_ALL=y |
| 52 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 52 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
| @@ -63,7 +63,9 @@ CONFIG_SIGNALFD=y | |||
| 63 | CONFIG_TIMERFD=y | 63 | CONFIG_TIMERFD=y |
| 64 | CONFIG_EVENTFD=y | 64 | CONFIG_EVENTFD=y |
| 65 | CONFIG_SHMEM=y | 65 | CONFIG_SHMEM=y |
| 66 | CONFIG_AIO=y | ||
| 66 | CONFIG_VM_EVENT_COUNTERS=y | 67 | CONFIG_VM_EVENT_COUNTERS=y |
| 68 | CONFIG_PCI_QUIRKS=y | ||
| 67 | CONFIG_SLUB_DEBUG=y | 69 | CONFIG_SLUB_DEBUG=y |
| 68 | # CONFIG_SLAB is not set | 70 | # CONFIG_SLAB is not set |
| 69 | CONFIG_SLUB=y | 71 | CONFIG_SLUB=y |
| @@ -72,15 +74,11 @@ CONFIG_SLUB=y | |||
| 72 | # CONFIG_MARKERS is not set | 74 | # CONFIG_MARKERS is not set |
| 73 | CONFIG_HAVE_OPROFILE=y | 75 | CONFIG_HAVE_OPROFILE=y |
| 74 | # CONFIG_KPROBES is not set | 76 | # CONFIG_KPROBES is not set |
| 75 | # CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is not set | ||
| 76 | # CONFIG_HAVE_IOREMAP_PROT is not set | ||
| 77 | CONFIG_HAVE_KPROBES=y | 77 | CONFIG_HAVE_KPROBES=y |
| 78 | CONFIG_HAVE_KRETPROBES=y | 78 | CONFIG_HAVE_KRETPROBES=y |
| 79 | # CONFIG_HAVE_ARCH_TRACEHOOK is not set | 79 | CONFIG_HAVE_ARCH_TRACEHOOK=y |
| 80 | CONFIG_HAVE_DMA_ATTRS=y | 80 | CONFIG_HAVE_DMA_ATTRS=y |
| 81 | CONFIG_USE_GENERIC_SMP_HELPERS=y | 81 | CONFIG_USE_GENERIC_SMP_HELPERS=y |
| 82 | # CONFIG_HAVE_CLK is not set | ||
| 83 | CONFIG_PROC_PAGE_MONITOR=y | ||
| 84 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 82 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
| 85 | CONFIG_SLABINFO=y | 83 | CONFIG_SLABINFO=y |
| 86 | CONFIG_RT_MUTEXES=y | 84 | CONFIG_RT_MUTEXES=y |
| @@ -113,6 +111,7 @@ CONFIG_DEFAULT_AS=y | |||
| 113 | # CONFIG_DEFAULT_NOOP is not set | 111 | # CONFIG_DEFAULT_NOOP is not set |
| 114 | CONFIG_DEFAULT_IOSCHED="anticipatory" | 112 | CONFIG_DEFAULT_IOSCHED="anticipatory" |
| 115 | CONFIG_CLASSIC_RCU=y | 113 | CONFIG_CLASSIC_RCU=y |
| 114 | # CONFIG_FREEZER is not set | ||
| 116 | 115 | ||
| 117 | # | 116 | # |
| 118 | # Processor type and features | 117 | # Processor type and features |
| @@ -125,8 +124,6 @@ CONFIG_MMU=y | |||
| 125 | CONFIG_SWIOTLB=y | 124 | CONFIG_SWIOTLB=y |
| 126 | CONFIG_IOMMU_HELPER=y | 125 | CONFIG_IOMMU_HELPER=y |
| 127 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | 126 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y |
| 128 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
| 129 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
| 130 | CONFIG_HUGETLB_PAGE_SIZE_VARIABLE=y | 127 | CONFIG_HUGETLB_PAGE_SIZE_VARIABLE=y |
| 131 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 128 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
| 132 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 129 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
| @@ -139,13 +136,16 @@ CONFIG_GENERIC_IOMAP=y | |||
| 139 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | 136 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y |
| 140 | CONFIG_IA64_UNCACHED_ALLOCATOR=y | 137 | CONFIG_IA64_UNCACHED_ALLOCATOR=y |
| 141 | CONFIG_AUDIT_ARCH=y | 138 | CONFIG_AUDIT_ARCH=y |
| 139 | # CONFIG_PARAVIRT_GUEST is not set | ||
| 142 | CONFIG_IA64_GENERIC=y | 140 | CONFIG_IA64_GENERIC=y |
| 143 | # CONFIG_IA64_DIG is not set | 141 | # CONFIG_IA64_DIG is not set |
| 142 | # CONFIG_IA64_DIG_VTD is not set | ||
| 144 | # CONFIG_IA64_HP_ZX1 is not set | 143 | # CONFIG_IA64_HP_ZX1 is not set |
| 145 | # CONFIG_IA64_HP_ZX1_SWIOTLB is not set | 144 | # CONFIG_IA64_HP_ZX1_SWIOTLB is not set |
| 146 | # CONFIG_IA64_SGI_SN2 is not set | 145 | # CONFIG_IA64_SGI_SN2 is not set |
| 147 | # CONFIG_IA64_SGI_UV is not set | 146 | # CONFIG_IA64_SGI_UV is not set |
| 148 | # CONFIG_IA64_HP_SIM is not set | 147 | # CONFIG_IA64_HP_SIM is not set |
| 148 | # CONFIG_IA64_XEN_GUEST is not set | ||
| 149 | # CONFIG_ITANIUM is not set | 149 | # CONFIG_ITANIUM is not set |
| 150 | CONFIG_MCKINLEY=y | 150 | CONFIG_MCKINLEY=y |
| 151 | # CONFIG_IA64_PAGE_SIZE_4KB is not set | 151 | # CONFIG_IA64_PAGE_SIZE_4KB is not set |
| @@ -182,16 +182,17 @@ CONFIG_DISCONTIGMEM_MANUAL=y | |||
| 182 | CONFIG_DISCONTIGMEM=y | 182 | CONFIG_DISCONTIGMEM=y |
| 183 | CONFIG_FLAT_NODE_MEM_MAP=y | 183 | CONFIG_FLAT_NODE_MEM_MAP=y |
| 184 | CONFIG_NEED_MULTIPLE_NODES=y | 184 | CONFIG_NEED_MULTIPLE_NODES=y |
| 185 | # CONFIG_SPARSEMEM_STATIC is not set | ||
| 186 | CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y | 185 | CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y |
| 187 | CONFIG_PAGEFLAGS_EXTENDED=y | 186 | CONFIG_PAGEFLAGS_EXTENDED=y |
| 188 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 187 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
| 189 | CONFIG_MIGRATION=y | 188 | CONFIG_MIGRATION=y |
| 190 | CONFIG_RESOURCES_64BIT=y | 189 | CONFIG_RESOURCES_64BIT=y |
| 190 | CONFIG_PHYS_ADDR_T_64BIT=y | ||
| 191 | CONFIG_ZONE_DMA_FLAG=1 | 191 | CONFIG_ZONE_DMA_FLAG=1 |
| 192 | CONFIG_BOUNCE=y | 192 | CONFIG_BOUNCE=y |
| 193 | CONFIG_NR_QUICK=1 | 193 | CONFIG_NR_QUICK=1 |
| 194 | CONFIG_VIRT_TO_BUS=y | 194 | CONFIG_VIRT_TO_BUS=y |
| 195 | CONFIG_UNEVICTABLE_LRU=y | ||
| 195 | CONFIG_MMU_NOTIFIER=y | 196 | CONFIG_MMU_NOTIFIER=y |
| 196 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | 197 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y |
| 197 | CONFIG_ARCH_DISCONTIGMEM_ENABLE=y | 198 | CONFIG_ARCH_DISCONTIGMEM_ENABLE=y |
| @@ -231,12 +232,12 @@ CONFIG_EFI_VARS=y | |||
| 231 | CONFIG_EFI_PCDP=y | 232 | CONFIG_EFI_PCDP=y |
| 232 | CONFIG_DMIID=y | 233 | CONFIG_DMIID=y |
| 233 | CONFIG_BINFMT_ELF=y | 234 | CONFIG_BINFMT_ELF=y |
| 235 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
| 236 | # CONFIG_HAVE_AOUT is not set | ||
| 234 | CONFIG_BINFMT_MISC=m | 237 | CONFIG_BINFMT_MISC=m |
| 235 | 238 | ||
| 236 | # CONFIG_DMAR is not set | ||
| 237 | |||
| 238 | # | 239 | # |
| 239 | # Power management and ACPI | 240 | # Power management and ACPI options |
| 240 | # | 241 | # |
| 241 | CONFIG_PM=y | 242 | CONFIG_PM=y |
| 242 | # CONFIG_PM_DEBUG is not set | 243 | # CONFIG_PM_DEBUG is not set |
| @@ -248,7 +249,6 @@ CONFIG_ACPI_PROC_EVENT=y | |||
| 248 | CONFIG_ACPI_BUTTON=m | 249 | CONFIG_ACPI_BUTTON=m |
| 249 | CONFIG_ACPI_FAN=m | 250 | CONFIG_ACPI_FAN=m |
| 250 | CONFIG_ACPI_DOCK=y | 251 | CONFIG_ACPI_DOCK=y |
| 251 | # CONFIG_ACPI_BAY is not set | ||
| 252 | CONFIG_ACPI_PROCESSOR=m | 252 | CONFIG_ACPI_PROCESSOR=m |
| 253 | CONFIG_ACPI_HOTPLUG_CPU=y | 253 | CONFIG_ACPI_HOTPLUG_CPU=y |
| 254 | CONFIG_ACPI_THERMAL=m | 254 | CONFIG_ACPI_THERMAL=m |
| @@ -256,9 +256,7 @@ CONFIG_ACPI_NUMA=y | |||
| 256 | # CONFIG_ACPI_CUSTOM_DSDT is not set | 256 | # CONFIG_ACPI_CUSTOM_DSDT is not set |
| 257 | CONFIG_ACPI_BLACKLIST_YEAR=0 | 257 | CONFIG_ACPI_BLACKLIST_YEAR=0 |
| 258 | # CONFIG_ACPI_DEBUG is not set | 258 | # CONFIG_ACPI_DEBUG is not set |
| 259 | CONFIG_ACPI_EC=y | ||
| 260 | # CONFIG_ACPI_PCI_SLOT is not set | 259 | # CONFIG_ACPI_PCI_SLOT is not set |
| 261 | CONFIG_ACPI_POWER=y | ||
| 262 | CONFIG_ACPI_SYSTEM=y | 260 | CONFIG_ACPI_SYSTEM=y |
| 263 | CONFIG_ACPI_CONTAINER=m | 261 | CONFIG_ACPI_CONTAINER=m |
| 264 | 262 | ||
| @@ -275,7 +273,7 @@ CONFIG_PCI_DOMAINS=y | |||
| 275 | CONFIG_PCI_SYSCALL=y | 273 | CONFIG_PCI_SYSCALL=y |
| 276 | # CONFIG_PCIEPORTBUS is not set | 274 | # CONFIG_PCIEPORTBUS is not set |
| 277 | CONFIG_ARCH_SUPPORTS_MSI=y | 275 | CONFIG_ARCH_SUPPORTS_MSI=y |
| 278 | # CONFIG_PCI_MSI is not set | 276 | CONFIG_PCI_MSI=y |
| 279 | CONFIG_PCI_LEGACY=y | 277 | CONFIG_PCI_LEGACY=y |
| 280 | # CONFIG_PCI_DEBUG is not set | 278 | # CONFIG_PCI_DEBUG is not set |
| 281 | CONFIG_HOTPLUG_PCI=m | 279 | CONFIG_HOTPLUG_PCI=m |
| @@ -286,6 +284,7 @@ CONFIG_HOTPLUG_PCI_ACPI=m | |||
| 286 | # CONFIG_HOTPLUG_PCI_SHPC is not set | 284 | # CONFIG_HOTPLUG_PCI_SHPC is not set |
| 287 | # CONFIG_HOTPLUG_PCI_SGI is not set | 285 | # CONFIG_HOTPLUG_PCI_SGI is not set |
| 288 | # CONFIG_PCCARD is not set | 286 | # CONFIG_PCCARD is not set |
| 287 | CONFIG_DMAR=y | ||
| 289 | CONFIG_NET=y | 288 | CONFIG_NET=y |
| 290 | 289 | ||
| 291 | # | 290 | # |
| @@ -333,6 +332,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 333 | # CONFIG_TIPC is not set | 332 | # CONFIG_TIPC is not set |
| 334 | # CONFIG_ATM is not set | 333 | # CONFIG_ATM is not set |
| 335 | # CONFIG_BRIDGE is not set | 334 | # CONFIG_BRIDGE is not set |
| 335 | # CONFIG_NET_DSA is not set | ||
| 336 | # CONFIG_VLAN_8021Q is not set | 336 | # CONFIG_VLAN_8021Q is not set |
| 337 | # CONFIG_DECNET is not set | 337 | # CONFIG_DECNET is not set |
| 338 | # CONFIG_LLC2 is not set | 338 | # CONFIG_LLC2 is not set |
| @@ -353,11 +353,10 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 353 | # CONFIG_IRDA is not set | 353 | # CONFIG_IRDA is not set |
| 354 | # CONFIG_BT is not set | 354 | # CONFIG_BT is not set |
| 355 | # CONFIG_AF_RXRPC is not set | 355 | # CONFIG_AF_RXRPC is not set |
| 356 | 356 | # CONFIG_PHONET is not set | |
| 357 | # | 357 | CONFIG_WIRELESS=y |
| 358 | # Wireless | ||
| 359 | # | ||
| 360 | # CONFIG_CFG80211 is not set | 358 | # CONFIG_CFG80211 is not set |
| 359 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
| 361 | # CONFIG_WIRELESS_EXT is not set | 360 | # CONFIG_WIRELESS_EXT is not set |
| 362 | # CONFIG_MAC80211 is not set | 361 | # CONFIG_MAC80211 is not set |
| 363 | # CONFIG_IEEE80211 is not set | 362 | # CONFIG_IEEE80211 is not set |
| @@ -385,7 +384,7 @@ CONFIG_PROC_EVENTS=y | |||
| 385 | # CONFIG_MTD is not set | 384 | # CONFIG_MTD is not set |
| 386 | # CONFIG_PARPORT is not set | 385 | # CONFIG_PARPORT is not set |
| 387 | CONFIG_PNP=y | 386 | CONFIG_PNP=y |
| 388 | # CONFIG_PNP_DEBUG is not set | 387 | # CONFIG_PNP_DEBUG_MESSAGES is not set |
| 389 | 388 | ||
| 390 | # | 389 | # |
| 391 | # Protocols | 390 | # Protocols |
| @@ -419,10 +418,9 @@ CONFIG_SGI_XP=m | |||
| 419 | # CONFIG_HP_ILO is not set | 418 | # CONFIG_HP_ILO is not set |
| 420 | CONFIG_SGI_GRU=m | 419 | CONFIG_SGI_GRU=m |
| 421 | # CONFIG_SGI_GRU_DEBUG is not set | 420 | # CONFIG_SGI_GRU_DEBUG is not set |
| 421 | # CONFIG_C2PORT is not set | ||
| 422 | CONFIG_HAVE_IDE=y | 422 | CONFIG_HAVE_IDE=y |
| 423 | CONFIG_IDE=y | 423 | CONFIG_IDE=y |
| 424 | CONFIG_IDE_MAX_HWIFS=4 | ||
| 425 | CONFIG_BLK_DEV_IDE=y | ||
| 426 | 424 | ||
| 427 | # | 425 | # |
| 428 | # Please see Documentation/ide/ide.txt for help/info on IDE drives | 426 | # Please see Documentation/ide/ide.txt for help/info on IDE drives |
| @@ -430,12 +428,12 @@ CONFIG_BLK_DEV_IDE=y | |||
| 430 | CONFIG_IDE_TIMINGS=y | 428 | CONFIG_IDE_TIMINGS=y |
| 431 | CONFIG_IDE_ATAPI=y | 429 | CONFIG_IDE_ATAPI=y |
| 432 | # CONFIG_BLK_DEV_IDE_SATA is not set | 430 | # CONFIG_BLK_DEV_IDE_SATA is not set |
| 433 | CONFIG_BLK_DEV_IDEDISK=y | 431 | CONFIG_IDE_GD=y |
| 434 | # CONFIG_IDEDISK_MULTI_MODE is not set | 432 | CONFIG_IDE_GD_ATA=y |
| 433 | # CONFIG_IDE_GD_ATAPI is not set | ||
| 435 | CONFIG_BLK_DEV_IDECD=y | 434 | CONFIG_BLK_DEV_IDECD=y |
| 436 | CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y | 435 | CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y |
| 437 | # CONFIG_BLK_DEV_IDETAPE is not set | 436 | # CONFIG_BLK_DEV_IDETAPE is not set |
| 438 | CONFIG_BLK_DEV_IDEFLOPPY=y | ||
| 439 | CONFIG_BLK_DEV_IDESCSI=m | 437 | CONFIG_BLK_DEV_IDESCSI=m |
| 440 | # CONFIG_BLK_DEV_IDEACPI is not set | 438 | # CONFIG_BLK_DEV_IDEACPI is not set |
| 441 | # CONFIG_IDE_TASK_IOCTL is not set | 439 | # CONFIG_IDE_TASK_IOCTL is not set |
| @@ -705,6 +703,9 @@ CONFIG_TULIP=m | |||
| 705 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 703 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
| 706 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 704 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
| 707 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | 705 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set |
| 706 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
| 707 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
| 708 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
| 708 | CONFIG_NET_PCI=y | 709 | CONFIG_NET_PCI=y |
| 709 | # CONFIG_PCNET32 is not set | 710 | # CONFIG_PCNET32 is not set |
| 710 | # CONFIG_AMD8111_ETH is not set | 711 | # CONFIG_AMD8111_ETH is not set |
| @@ -725,11 +726,11 @@ CONFIG_E100=m | |||
| 725 | # CONFIG_TLAN is not set | 726 | # CONFIG_TLAN is not set |
| 726 | # CONFIG_VIA_RHINE is not set | 727 | # CONFIG_VIA_RHINE is not set |
| 727 | # CONFIG_SC92031 is not set | 728 | # CONFIG_SC92031 is not set |
| 729 | # CONFIG_ATL2 is not set | ||
| 728 | CONFIG_NETDEV_1000=y | 730 | CONFIG_NETDEV_1000=y |
| 729 | # CONFIG_ACENIC is not set | 731 | # CONFIG_ACENIC is not set |
| 730 | # CONFIG_DL2K is not set | 732 | # CONFIG_DL2K is not set |
| 731 | CONFIG_E1000=y | 733 | CONFIG_E1000=y |
| 732 | # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set | ||
| 733 | # CONFIG_E1000E is not set | 734 | # CONFIG_E1000E is not set |
| 734 | # CONFIG_IP1000 is not set | 735 | # CONFIG_IP1000 is not set |
| 735 | CONFIG_IGB=y | 736 | CONFIG_IGB=y |
| @@ -747,18 +748,22 @@ CONFIG_TIGON3=y | |||
| 747 | # CONFIG_QLA3XXX is not set | 748 | # CONFIG_QLA3XXX is not set |
| 748 | # CONFIG_ATL1 is not set | 749 | # CONFIG_ATL1 is not set |
| 749 | # CONFIG_ATL1E is not set | 750 | # CONFIG_ATL1E is not set |
| 751 | # CONFIG_JME is not set | ||
| 750 | CONFIG_NETDEV_10000=y | 752 | CONFIG_NETDEV_10000=y |
| 751 | # CONFIG_CHELSIO_T1 is not set | 753 | # CONFIG_CHELSIO_T1 is not set |
| 752 | # CONFIG_CHELSIO_T3 is not set | 754 | # CONFIG_CHELSIO_T3 is not set |
| 755 | # CONFIG_ENIC is not set | ||
| 753 | # CONFIG_IXGBE is not set | 756 | # CONFIG_IXGBE is not set |
| 754 | # CONFIG_IXGB is not set | 757 | # CONFIG_IXGB is not set |
| 755 | # CONFIG_S2IO is not set | 758 | # CONFIG_S2IO is not set |
| 756 | # CONFIG_MYRI10GE is not set | 759 | # CONFIG_MYRI10GE is not set |
| 757 | # CONFIG_NETXEN_NIC is not set | 760 | # CONFIG_NETXEN_NIC is not set |
| 758 | # CONFIG_NIU is not set | 761 | # CONFIG_NIU is not set |
| 762 | # CONFIG_MLX4_EN is not set | ||
| 759 | # CONFIG_MLX4_CORE is not set | 763 | # CONFIG_MLX4_CORE is not set |
| 760 | # CONFIG_TEHUTI is not set | 764 | # CONFIG_TEHUTI is not set |
| 761 | # CONFIG_BNX2X is not set | 765 | # CONFIG_BNX2X is not set |
| 766 | # CONFIG_QLGE is not set | ||
| 762 | # CONFIG_SFC is not set | 767 | # CONFIG_SFC is not set |
| 763 | # CONFIG_TR is not set | 768 | # CONFIG_TR is not set |
| 764 | 769 | ||
| @@ -826,9 +831,11 @@ CONFIG_MOUSE_PS2_LOGIPS2PP=y | |||
| 826 | CONFIG_MOUSE_PS2_SYNAPTICS=y | 831 | CONFIG_MOUSE_PS2_SYNAPTICS=y |
| 827 | CONFIG_MOUSE_PS2_LIFEBOOK=y | 832 | CONFIG_MOUSE_PS2_LIFEBOOK=y |
| 828 | CONFIG_MOUSE_PS2_TRACKPOINT=y | 833 | CONFIG_MOUSE_PS2_TRACKPOINT=y |
| 834 | # CONFIG_MOUSE_PS2_ELANTECH is not set | ||
| 829 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | 835 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set |
| 830 | # CONFIG_MOUSE_SERIAL is not set | 836 | # CONFIG_MOUSE_SERIAL is not set |
| 831 | # CONFIG_MOUSE_APPLETOUCH is not set | 837 | # CONFIG_MOUSE_APPLETOUCH is not set |
| 838 | # CONFIG_MOUSE_BCM5974 is not set | ||
| 832 | # CONFIG_MOUSE_VSXXXAA is not set | 839 | # CONFIG_MOUSE_VSXXXAA is not set |
| 833 | # CONFIG_INPUT_JOYSTICK is not set | 840 | # CONFIG_INPUT_JOYSTICK is not set |
| 834 | # CONFIG_INPUT_TABLET is not set | 841 | # CONFIG_INPUT_TABLET is not set |
| @@ -942,15 +949,16 @@ CONFIG_HWMON=y | |||
| 942 | # CONFIG_SENSORS_VT8231 is not set | 949 | # CONFIG_SENSORS_VT8231 is not set |
| 943 | # CONFIG_SENSORS_W83627HF is not set | 950 | # CONFIG_SENSORS_W83627HF is not set |
| 944 | # CONFIG_SENSORS_W83627EHF is not set | 951 | # CONFIG_SENSORS_W83627EHF is not set |
| 952 | # CONFIG_SENSORS_LIS3LV02D is not set | ||
| 945 | # CONFIG_HWMON_DEBUG_CHIP is not set | 953 | # CONFIG_HWMON_DEBUG_CHIP is not set |
| 946 | CONFIG_THERMAL=m | 954 | CONFIG_THERMAL=m |
| 947 | # CONFIG_THERMAL_HWMON is not set | 955 | # CONFIG_THERMAL_HWMON is not set |
| 948 | # CONFIG_WATCHDOG is not set | 956 | # CONFIG_WATCHDOG is not set |
| 957 | CONFIG_SSB_POSSIBLE=y | ||
| 949 | 958 | ||
| 950 | # | 959 | # |
| 951 | # Sonics Silicon Backplane | 960 | # Sonics Silicon Backplane |
| 952 | # | 961 | # |
| 953 | CONFIG_SSB_POSSIBLE=y | ||
| 954 | # CONFIG_SSB is not set | 962 | # CONFIG_SSB is not set |
| 955 | 963 | ||
| 956 | # | 964 | # |
| @@ -959,6 +967,8 @@ CONFIG_SSB_POSSIBLE=y | |||
| 959 | # CONFIG_MFD_CORE is not set | 967 | # CONFIG_MFD_CORE is not set |
| 960 | # CONFIG_MFD_SM501 is not set | 968 | # CONFIG_MFD_SM501 is not set |
| 961 | # CONFIG_HTC_PASIC3 is not set | 969 | # CONFIG_HTC_PASIC3 is not set |
| 970 | # CONFIG_MFD_TMIO is not set | ||
| 971 | # CONFIG_REGULATOR is not set | ||
| 962 | 972 | ||
| 963 | # | 973 | # |
| 964 | # Multimedia devices | 974 | # Multimedia devices |
| @@ -1009,6 +1019,7 @@ CONFIG_VGA_CONSOLE=y | |||
| 1009 | # CONFIG_VGACON_SOFT_SCROLLBACK is not set | 1019 | # CONFIG_VGACON_SOFT_SCROLLBACK is not set |
| 1010 | CONFIG_DUMMY_CONSOLE=y | 1020 | CONFIG_DUMMY_CONSOLE=y |
| 1011 | CONFIG_SOUND=m | 1021 | CONFIG_SOUND=m |
| 1022 | CONFIG_SOUND_OSS_CORE=y | ||
| 1012 | CONFIG_SND=m | 1023 | CONFIG_SND=m |
| 1013 | CONFIG_SND_TIMER=m | 1024 | CONFIG_SND_TIMER=m |
| 1014 | CONFIG_SND_PCM=m | 1025 | CONFIG_SND_PCM=m |
| @@ -1113,8 +1124,7 @@ CONFIG_HID=y | |||
| 1113 | # USB Input Devices | 1124 | # USB Input Devices |
| 1114 | # | 1125 | # |
| 1115 | CONFIG_USB_HID=m | 1126 | CONFIG_USB_HID=m |
| 1116 | # CONFIG_USB_HIDINPUT_POWERBOOK is not set | 1127 | # CONFIG_HID_PID is not set |
| 1117 | # CONFIG_HID_FF is not set | ||
| 1118 | # CONFIG_USB_HIDDEV is not set | 1128 | # CONFIG_USB_HIDDEV is not set |
| 1119 | 1129 | ||
| 1120 | # | 1130 | # |
| @@ -1122,6 +1132,34 @@ CONFIG_USB_HID=m | |||
| 1122 | # | 1132 | # |
| 1123 | # CONFIG_USB_KBD is not set | 1133 | # CONFIG_USB_KBD is not set |
| 1124 | # CONFIG_USB_MOUSE is not set | 1134 | # CONFIG_USB_MOUSE is not set |
| 1135 | |||
| 1136 | # | ||
| 1137 | # Special HID drivers | ||
| 1138 | # | ||
| 1139 | CONFIG_HID_COMPAT=y | ||
| 1140 | CONFIG_HID_A4TECH=m | ||
| 1141 | CONFIG_HID_APPLE=m | ||
| 1142 | CONFIG_HID_BELKIN=m | ||
| 1143 | CONFIG_HID_BRIGHT=m | ||
| 1144 | CONFIG_HID_CHERRY=m | ||
| 1145 | CONFIG_HID_CHICONY=m | ||
| 1146 | CONFIG_HID_CYPRESS=m | ||
| 1147 | CONFIG_HID_DELL=m | ||
| 1148 | CONFIG_HID_EZKEY=m | ||
| 1149 | CONFIG_HID_GYRATION=m | ||
| 1150 | CONFIG_HID_LOGITECH=m | ||
| 1151 | # CONFIG_LOGITECH_FF is not set | ||
| 1152 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | ||
| 1153 | CONFIG_HID_MICROSOFT=m | ||
| 1154 | CONFIG_HID_MONTEREY=m | ||
| 1155 | CONFIG_HID_PANTHERLORD=m | ||
| 1156 | # CONFIG_PANTHERLORD_FF is not set | ||
| 1157 | CONFIG_HID_PETALYNX=m | ||
| 1158 | CONFIG_HID_SAMSUNG=m | ||
| 1159 | CONFIG_HID_SONY=m | ||
| 1160 | CONFIG_HID_SUNPLUS=m | ||
| 1161 | # CONFIG_THRUSTMASTER_FF is not set | ||
| 1162 | # CONFIG_ZEROPLUS_FF is not set | ||
| 1125 | CONFIG_USB_SUPPORT=y | 1163 | CONFIG_USB_SUPPORT=y |
| 1126 | CONFIG_USB_ARCH_HAS_HCD=y | 1164 | CONFIG_USB_ARCH_HAS_HCD=y |
| 1127 | CONFIG_USB_ARCH_HAS_OHCI=y | 1165 | CONFIG_USB_ARCH_HAS_OHCI=y |
| @@ -1138,6 +1176,9 @@ CONFIG_USB_DEVICE_CLASS=y | |||
| 1138 | # CONFIG_USB_DYNAMIC_MINORS is not set | 1176 | # CONFIG_USB_DYNAMIC_MINORS is not set |
| 1139 | # CONFIG_USB_SUSPEND is not set | 1177 | # CONFIG_USB_SUSPEND is not set |
| 1140 | # CONFIG_USB_OTG is not set | 1178 | # CONFIG_USB_OTG is not set |
| 1179 | CONFIG_USB_MON=y | ||
| 1180 | # CONFIG_USB_WUSB is not set | ||
| 1181 | # CONFIG_USB_WUSB_CBAF is not set | ||
| 1141 | 1182 | ||
| 1142 | # | 1183 | # |
| 1143 | # USB Host Controller Drivers | 1184 | # USB Host Controller Drivers |
| @@ -1155,6 +1196,12 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y | |||
| 1155 | CONFIG_USB_UHCI_HCD=m | 1196 | CONFIG_USB_UHCI_HCD=m |
| 1156 | # CONFIG_USB_SL811_HCD is not set | 1197 | # CONFIG_USB_SL811_HCD is not set |
| 1157 | # CONFIG_USB_R8A66597_HCD is not set | 1198 | # CONFIG_USB_R8A66597_HCD is not set |
| 1199 | # CONFIG_USB_WHCI_HCD is not set | ||
| 1200 | # CONFIG_USB_HWA_HCD is not set | ||
| 1201 | |||
| 1202 | # | ||
| 1203 | # Enable Host or Gadget support to see Inventra options | ||
| 1204 | # | ||
| 1158 | 1205 | ||
| 1159 | # | 1206 | # |
| 1160 | # USB Device Class drivers | 1207 | # USB Device Class drivers |
| @@ -1162,13 +1209,14 @@ CONFIG_USB_UHCI_HCD=m | |||
| 1162 | # CONFIG_USB_ACM is not set | 1209 | # CONFIG_USB_ACM is not set |
| 1163 | # CONFIG_USB_PRINTER is not set | 1210 | # CONFIG_USB_PRINTER is not set |
| 1164 | # CONFIG_USB_WDM is not set | 1211 | # CONFIG_USB_WDM is not set |
| 1212 | # CONFIG_USB_TMC is not set | ||
| 1165 | 1213 | ||
| 1166 | # | 1214 | # |
| 1167 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 1215 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; |
| 1168 | # | 1216 | # |
| 1169 | 1217 | ||
| 1170 | # | 1218 | # |
| 1171 | # may also be needed; see USB_STORAGE Help for more information | 1219 | # see USB_STORAGE Help for more information |
| 1172 | # | 1220 | # |
| 1173 | CONFIG_USB_STORAGE=m | 1221 | CONFIG_USB_STORAGE=m |
| 1174 | # CONFIG_USB_STORAGE_DEBUG is not set | 1222 | # CONFIG_USB_STORAGE_DEBUG is not set |
| @@ -1191,7 +1239,6 @@ CONFIG_USB_STORAGE=m | |||
| 1191 | # | 1239 | # |
| 1192 | # CONFIG_USB_MDC800 is not set | 1240 | # CONFIG_USB_MDC800 is not set |
| 1193 | # CONFIG_USB_MICROTEK is not set | 1241 | # CONFIG_USB_MICROTEK is not set |
| 1194 | CONFIG_USB_MON=y | ||
| 1195 | 1242 | ||
| 1196 | # | 1243 | # |
| 1197 | # USB port drivers | 1244 | # USB port drivers |
| @@ -1204,7 +1251,7 @@ CONFIG_USB_MON=y | |||
| 1204 | # CONFIG_USB_EMI62 is not set | 1251 | # CONFIG_USB_EMI62 is not set |
| 1205 | # CONFIG_USB_EMI26 is not set | 1252 | # CONFIG_USB_EMI26 is not set |
| 1206 | # CONFIG_USB_ADUTUX is not set | 1253 | # CONFIG_USB_ADUTUX is not set |
| 1207 | # CONFIG_USB_AUERSWALD is not set | 1254 | # CONFIG_USB_SEVSEG is not set |
| 1208 | # CONFIG_USB_RIO500 is not set | 1255 | # CONFIG_USB_RIO500 is not set |
| 1209 | # CONFIG_USB_LEGOTOWER is not set | 1256 | # CONFIG_USB_LEGOTOWER is not set |
| 1210 | # CONFIG_USB_LCD is not set | 1257 | # CONFIG_USB_LCD is not set |
| @@ -1222,7 +1269,9 @@ CONFIG_USB_MON=y | |||
| 1222 | # CONFIG_USB_IOWARRIOR is not set | 1269 | # CONFIG_USB_IOWARRIOR is not set |
| 1223 | # CONFIG_USB_TEST is not set | 1270 | # CONFIG_USB_TEST is not set |
| 1224 | # CONFIG_USB_ISIGHTFW is not set | 1271 | # CONFIG_USB_ISIGHTFW is not set |
| 1272 | # CONFIG_USB_VST is not set | ||
| 1225 | # CONFIG_USB_GADGET is not set | 1273 | # CONFIG_USB_GADGET is not set |
| 1274 | # CONFIG_UWB is not set | ||
| 1226 | # CONFIG_MMC is not set | 1275 | # CONFIG_MMC is not set |
| 1227 | # CONFIG_MEMSTICK is not set | 1276 | # CONFIG_MEMSTICK is not set |
| 1228 | # CONFIG_NEW_LEDS is not set | 1277 | # CONFIG_NEW_LEDS is not set |
| @@ -1246,6 +1295,15 @@ CONFIG_INFINIBAND_IPOIB_DEBUG=y | |||
| 1246 | # CONFIG_RTC_CLASS is not set | 1295 | # CONFIG_RTC_CLASS is not set |
| 1247 | # CONFIG_DMADEVICES is not set | 1296 | # CONFIG_DMADEVICES is not set |
| 1248 | # CONFIG_UIO is not set | 1297 | # CONFIG_UIO is not set |
| 1298 | # CONFIG_STAGING is not set | ||
| 1299 | CONFIG_STAGING_EXCLUDE_BUILD=y | ||
| 1300 | |||
| 1301 | # | ||
| 1302 | # HP Simulator drivers | ||
| 1303 | # | ||
| 1304 | # CONFIG_HP_SIMETH is not set | ||
| 1305 | # CONFIG_HP_SIMSERIAL is not set | ||
| 1306 | # CONFIG_HP_SIMSCSI is not set | ||
| 1249 | CONFIG_MSPEC=m | 1307 | CONFIG_MSPEC=m |
| 1250 | 1308 | ||
| 1251 | # | 1309 | # |
| @@ -1260,7 +1318,7 @@ CONFIG_EXT3_FS=y | |||
| 1260 | CONFIG_EXT3_FS_XATTR=y | 1318 | CONFIG_EXT3_FS_XATTR=y |
| 1261 | CONFIG_EXT3_FS_POSIX_ACL=y | 1319 | CONFIG_EXT3_FS_POSIX_ACL=y |
| 1262 | CONFIG_EXT3_FS_SECURITY=y | 1320 | CONFIG_EXT3_FS_SECURITY=y |
| 1263 | # CONFIG_EXT4DEV_FS is not set | 1321 | # CONFIG_EXT4_FS is not set |
| 1264 | CONFIG_JBD=y | 1322 | CONFIG_JBD=y |
| 1265 | CONFIG_FS_MBCACHE=y | 1323 | CONFIG_FS_MBCACHE=y |
| 1266 | CONFIG_REISERFS_FS=y | 1324 | CONFIG_REISERFS_FS=y |
| @@ -1271,6 +1329,7 @@ CONFIG_REISERFS_FS_POSIX_ACL=y | |||
| 1271 | CONFIG_REISERFS_FS_SECURITY=y | 1329 | CONFIG_REISERFS_FS_SECURITY=y |
| 1272 | # CONFIG_JFS_FS is not set | 1330 | # CONFIG_JFS_FS is not set |
| 1273 | CONFIG_FS_POSIX_ACL=y | 1331 | CONFIG_FS_POSIX_ACL=y |
| 1332 | CONFIG_FILE_LOCKING=y | ||
| 1274 | CONFIG_XFS_FS=y | 1333 | CONFIG_XFS_FS=y |
| 1275 | # CONFIG_XFS_QUOTA is not set | 1334 | # CONFIG_XFS_QUOTA is not set |
| 1276 | # CONFIG_XFS_POSIX_ACL is not set | 1335 | # CONFIG_XFS_POSIX_ACL is not set |
| @@ -1282,8 +1341,8 @@ CONFIG_DNOTIFY=y | |||
| 1282 | CONFIG_INOTIFY=y | 1341 | CONFIG_INOTIFY=y |
| 1283 | CONFIG_INOTIFY_USER=y | 1342 | CONFIG_INOTIFY_USER=y |
| 1284 | # CONFIG_QUOTA is not set | 1343 | # CONFIG_QUOTA is not set |
| 1285 | CONFIG_AUTOFS_FS=y | 1344 | CONFIG_AUTOFS_FS=m |
| 1286 | CONFIG_AUTOFS4_FS=y | 1345 | CONFIG_AUTOFS4_FS=m |
| 1287 | # CONFIG_FUSE_FS is not set | 1346 | # CONFIG_FUSE_FS is not set |
| 1288 | 1347 | ||
| 1289 | # | 1348 | # |
| @@ -1314,6 +1373,7 @@ CONFIG_PROC_FS=y | |||
| 1314 | CONFIG_PROC_KCORE=y | 1373 | CONFIG_PROC_KCORE=y |
| 1315 | CONFIG_PROC_VMCORE=y | 1374 | CONFIG_PROC_VMCORE=y |
| 1316 | CONFIG_PROC_SYSCTL=y | 1375 | CONFIG_PROC_SYSCTL=y |
| 1376 | CONFIG_PROC_PAGE_MONITOR=y | ||
| 1317 | CONFIG_SYSFS=y | 1377 | CONFIG_SYSFS=y |
| 1318 | CONFIG_TMPFS=y | 1378 | CONFIG_TMPFS=y |
| 1319 | # CONFIG_TMPFS_POSIX_ACL is not set | 1379 | # CONFIG_TMPFS_POSIX_ACL is not set |
| @@ -1356,6 +1416,7 @@ CONFIG_NFS_COMMON=y | |||
| 1356 | CONFIG_SUNRPC=m | 1416 | CONFIG_SUNRPC=m |
| 1357 | CONFIG_SUNRPC_GSS=m | 1417 | CONFIG_SUNRPC_GSS=m |
| 1358 | CONFIG_SUNRPC_XPRT_RDMA=m | 1418 | CONFIG_SUNRPC_XPRT_RDMA=m |
| 1419 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
| 1359 | CONFIG_RPCSEC_GSS_KRB5=m | 1420 | CONFIG_RPCSEC_GSS_KRB5=m |
| 1360 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1421 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
| 1361 | CONFIG_SMB_FS=m | 1422 | CONFIG_SMB_FS=m |
| @@ -1433,38 +1494,6 @@ CONFIG_NLS_KOI8_R=m | |||
| 1433 | CONFIG_NLS_KOI8_U=m | 1494 | CONFIG_NLS_KOI8_U=m |
| 1434 | CONFIG_NLS_UTF8=m | 1495 | CONFIG_NLS_UTF8=m |
| 1435 | # CONFIG_DLM is not set | 1496 | # CONFIG_DLM is not set |
| 1436 | CONFIG_HAVE_KVM=y | ||
| 1437 | CONFIG_VIRTUALIZATION=y | ||
| 1438 | # CONFIG_KVM is not set | ||
| 1439 | |||
| 1440 | # | ||
| 1441 | # Library routines | ||
| 1442 | # | ||
| 1443 | CONFIG_BITREVERSE=y | ||
| 1444 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
| 1445 | # CONFIG_CRC_CCITT is not set | ||
| 1446 | # CONFIG_CRC16 is not set | ||
| 1447 | CONFIG_CRC_T10DIF=y | ||
| 1448 | CONFIG_CRC_ITU_T=m | ||
| 1449 | CONFIG_CRC32=y | ||
| 1450 | # CONFIG_CRC7 is not set | ||
| 1451 | # CONFIG_LIBCRC32C is not set | ||
| 1452 | CONFIG_GENERIC_ALLOCATOR=y | ||
| 1453 | CONFIG_PLIST=y | ||
| 1454 | CONFIG_HAS_IOMEM=y | ||
| 1455 | CONFIG_HAS_IOPORT=y | ||
| 1456 | CONFIG_HAS_DMA=y | ||
| 1457 | CONFIG_GENERIC_HARDIRQS=y | ||
| 1458 | CONFIG_GENERIC_IRQ_PROBE=y | ||
| 1459 | CONFIG_GENERIC_PENDING_IRQ=y | ||
| 1460 | CONFIG_IRQ_PER_CPU=y | ||
| 1461 | |||
| 1462 | # | ||
| 1463 | # HP Simulator drivers | ||
| 1464 | # | ||
| 1465 | # CONFIG_HP_SIMETH is not set | ||
| 1466 | # CONFIG_HP_SIMSERIAL is not set | ||
| 1467 | # CONFIG_HP_SIMSCSI is not set | ||
| 1468 | 1497 | ||
| 1469 | # | 1498 | # |
| 1470 | # Kernel hacking | 1499 | # Kernel hacking |
| @@ -1503,8 +1532,19 @@ CONFIG_DEBUG_MEMORY_INIT=y | |||
| 1503 | # CONFIG_DEBUG_SG is not set | 1532 | # CONFIG_DEBUG_SG is not set |
| 1504 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1533 | # CONFIG_BOOT_PRINTK_DELAY is not set |
| 1505 | # CONFIG_RCU_TORTURE_TEST is not set | 1534 | # CONFIG_RCU_TORTURE_TEST is not set |
| 1535 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
| 1506 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1536 | # CONFIG_BACKTRACE_SELF_TEST is not set |
| 1537 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
| 1507 | # CONFIG_FAULT_INJECTION is not set | 1538 | # CONFIG_FAULT_INJECTION is not set |
| 1539 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
| 1540 | |||
| 1541 | # | ||
| 1542 | # Tracers | ||
| 1543 | # | ||
| 1544 | # CONFIG_SCHED_TRACER is not set | ||
| 1545 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
| 1546 | # CONFIG_BOOT_TRACER is not set | ||
| 1547 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | ||
| 1508 | # CONFIG_SAMPLES is not set | 1548 | # CONFIG_SAMPLES is not set |
| 1509 | CONFIG_IA64_GRANULE_16MB=y | 1549 | CONFIG_IA64_GRANULE_16MB=y |
| 1510 | # CONFIG_IA64_GRANULE_64MB is not set | 1550 | # CONFIG_IA64_GRANULE_64MB is not set |
| @@ -1519,14 +1559,19 @@ CONFIG_SYSVIPC_COMPAT=y | |||
| 1519 | # | 1559 | # |
| 1520 | # CONFIG_KEYS is not set | 1560 | # CONFIG_KEYS is not set |
| 1521 | # CONFIG_SECURITY is not set | 1561 | # CONFIG_SECURITY is not set |
| 1562 | # CONFIG_SECURITYFS is not set | ||
| 1522 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1563 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
| 1523 | CONFIG_CRYPTO=y | 1564 | CONFIG_CRYPTO=y |
| 1524 | 1565 | ||
| 1525 | # | 1566 | # |
| 1526 | # Crypto core or helper | 1567 | # Crypto core or helper |
| 1527 | # | 1568 | # |
| 1569 | # CONFIG_CRYPTO_FIPS is not set | ||
| 1528 | CONFIG_CRYPTO_ALGAPI=y | 1570 | CONFIG_CRYPTO_ALGAPI=y |
| 1571 | CONFIG_CRYPTO_AEAD=m | ||
| 1529 | CONFIG_CRYPTO_BLKCIPHER=m | 1572 | CONFIG_CRYPTO_BLKCIPHER=m |
| 1573 | CONFIG_CRYPTO_HASH=m | ||
| 1574 | CONFIG_CRYPTO_RNG=m | ||
| 1530 | CONFIG_CRYPTO_MANAGER=m | 1575 | CONFIG_CRYPTO_MANAGER=m |
| 1531 | # CONFIG_CRYPTO_GF128MUL is not set | 1576 | # CONFIG_CRYPTO_GF128MUL is not set |
| 1532 | # CONFIG_CRYPTO_NULL is not set | 1577 | # CONFIG_CRYPTO_NULL is not set |
| @@ -1599,5 +1644,36 @@ CONFIG_CRYPTO_DES=m | |||
| 1599 | # | 1644 | # |
| 1600 | # CONFIG_CRYPTO_DEFLATE is not set | 1645 | # CONFIG_CRYPTO_DEFLATE is not set |
| 1601 | # CONFIG_CRYPTO_LZO is not set | 1646 | # CONFIG_CRYPTO_LZO is not set |
| 1647 | |||
| 1648 | # | ||
| 1649 | # Random Number Generation | ||
| 1650 | # | ||
| 1651 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
| 1602 | CONFIG_CRYPTO_HW=y | 1652 | CONFIG_CRYPTO_HW=y |
| 1603 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | 1653 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set |
| 1654 | CONFIG_HAVE_KVM=y | ||
| 1655 | CONFIG_VIRTUALIZATION=y | ||
| 1656 | # CONFIG_KVM is not set | ||
| 1657 | # CONFIG_VIRTIO_PCI is not set | ||
| 1658 | # CONFIG_VIRTIO_BALLOON is not set | ||
| 1659 | |||
| 1660 | # | ||
| 1661 | # Library routines | ||
| 1662 | # | ||
| 1663 | CONFIG_BITREVERSE=y | ||
| 1664 | # CONFIG_CRC_CCITT is not set | ||
| 1665 | # CONFIG_CRC16 is not set | ||
| 1666 | CONFIG_CRC_T10DIF=y | ||
| 1667 | CONFIG_CRC_ITU_T=m | ||
| 1668 | CONFIG_CRC32=y | ||
| 1669 | # CONFIG_CRC7 is not set | ||
| 1670 | # CONFIG_LIBCRC32C is not set | ||
| 1671 | CONFIG_GENERIC_ALLOCATOR=y | ||
| 1672 | CONFIG_PLIST=y | ||
| 1673 | CONFIG_HAS_IOMEM=y | ||
| 1674 | CONFIG_HAS_IOPORT=y | ||
| 1675 | CONFIG_HAS_DMA=y | ||
| 1676 | CONFIG_GENERIC_HARDIRQS=y | ||
| 1677 | CONFIG_GENERIC_IRQ_PROBE=y | ||
| 1678 | CONFIG_GENERIC_PENDING_IRQ=y | ||
| 1679 | CONFIG_IRQ_PER_CPU=y | ||
diff --git a/arch/ia64/include/asm/paravirt_privop.h b/arch/ia64/include/asm/paravirt_privop.h index 0b597424fcf..33c8e55f577 100644 --- a/arch/ia64/include/asm/paravirt_privop.h +++ b/arch/ia64/include/asm/paravirt_privop.h | |||
| @@ -83,7 +83,6 @@ extern unsigned long ia64_native_getreg_func(int regnum); | |||
| 83 | #define paravirt_getreg(reg) \ | 83 | #define paravirt_getreg(reg) \ |
| 84 | ({ \ | 84 | ({ \ |
| 85 | unsigned long res; \ | 85 | unsigned long res; \ |
| 86 | BUILD_BUG_ON(!__builtin_constant_p(reg)); \ | ||
| 87 | if ((reg) == _IA64_REG_IP) \ | 86 | if ((reg) == _IA64_REG_IP) \ |
| 88 | res = ia64_native_getreg(_IA64_REG_IP); \ | 87 | res = ia64_native_getreg(_IA64_REG_IP); \ |
| 89 | else \ | 88 | else \ |
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c index 26228e2d01a..c75b914f2d6 100644 --- a/arch/ia64/kernel/topology.c +++ b/arch/ia64/kernel/topology.c | |||
| @@ -53,10 +53,12 @@ int __ref arch_register_cpu(int num) | |||
| 53 | } | 53 | } |
| 54 | EXPORT_SYMBOL(arch_register_cpu); | 54 | EXPORT_SYMBOL(arch_register_cpu); |
| 55 | 55 | ||
| 56 | void arch_unregister_cpu(int num) | 56 | void __ref arch_unregister_cpu(int num) |
| 57 | { | 57 | { |
| 58 | unregister_cpu(&sysfs_cpus[num].cpu); | 58 | unregister_cpu(&sysfs_cpus[num].cpu); |
| 59 | #ifdef CONFIG_ACPI | ||
| 59 | unmap_cpu_from_node(num, cpu_to_node(num)); | 60 | unmap_cpu_from_node(num, cpu_to_node(num)); |
| 61 | #endif | ||
| 60 | } | 62 | } |
| 61 | EXPORT_SYMBOL(arch_unregister_cpu); | 63 | EXPORT_SYMBOL(arch_unregister_cpu); |
| 62 | #else | 64 | #else |
diff --git a/arch/ia64/sn/kernel/irq.c b/arch/ia64/sn/kernel/irq.c index 96c31b4180c..0c66dbdd1d7 100644 --- a/arch/ia64/sn/kernel/irq.c +++ b/arch/ia64/sn/kernel/irq.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * License. See the file "COPYING" in the main directory of this archive | 5 | * License. See the file "COPYING" in the main directory of this archive |
| 6 | * for more details. | 6 | * for more details. |
| 7 | * | 7 | * |
| 8 | * Copyright (c) 2000-2007 Silicon Graphics, Inc. All Rights Reserved. | 8 | * Copyright (c) 2000-2008 Silicon Graphics, Inc. All Rights Reserved. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/irq.h> | 11 | #include <linux/irq.h> |
| @@ -375,6 +375,7 @@ void sn_irq_fixup(struct pci_dev *pci_dev, struct sn_irq_info *sn_irq_info) | |||
| 375 | int cpu = nasid_slice_to_cpuid(nasid, slice); | 375 | int cpu = nasid_slice_to_cpuid(nasid, slice); |
| 376 | #ifdef CONFIG_SMP | 376 | #ifdef CONFIG_SMP |
| 377 | int cpuphys; | 377 | int cpuphys; |
| 378 | irq_desc_t *desc; | ||
| 378 | #endif | 379 | #endif |
| 379 | 380 | ||
| 380 | pci_dev_get(pci_dev); | 381 | pci_dev_get(pci_dev); |
| @@ -391,6 +392,12 @@ void sn_irq_fixup(struct pci_dev *pci_dev, struct sn_irq_info *sn_irq_info) | |||
| 391 | #ifdef CONFIG_SMP | 392 | #ifdef CONFIG_SMP |
| 392 | cpuphys = cpu_physical_id(cpu); | 393 | cpuphys = cpu_physical_id(cpu); |
| 393 | set_irq_affinity_info(sn_irq_info->irq_irq, cpuphys, 0); | 394 | set_irq_affinity_info(sn_irq_info->irq_irq, cpuphys, 0); |
| 395 | desc = irq_to_desc(sn_irq_info->irq_irq); | ||
| 396 | /* | ||
| 397 | * Affinity was set by the PROM, prevent it from | ||
| 398 | * being reset by the request_irq() path. | ||
| 399 | */ | ||
| 400 | desc->status |= IRQ_AFFINITY_SET; | ||
| 394 | #endif | 401 | #endif |
| 395 | } | 402 | } |
| 396 | 403 | ||
diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index bb1d2492964..02c5b8a9fb6 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c | |||
| @@ -200,7 +200,7 @@ static int __cpuinitdata shub_1_1_found; | |||
| 200 | * Set flag for enabling shub specific wars | 200 | * Set flag for enabling shub specific wars |
| 201 | */ | 201 | */ |
| 202 | 202 | ||
| 203 | static inline int __init is_shub_1_1(int nasid) | 203 | static inline int __cpuinit is_shub_1_1(int nasid) |
| 204 | { | 204 | { |
| 205 | unsigned long id; | 205 | unsigned long id; |
| 206 | int rev; | 206 | int rev; |
| @@ -212,7 +212,7 @@ static inline int __init is_shub_1_1(int nasid) | |||
| 212 | return rev <= 2; | 212 | return rev <= 2; |
| 213 | } | 213 | } |
| 214 | 214 | ||
| 215 | static void __init sn_check_for_wars(void) | 215 | static void __cpuinit sn_check_for_wars(void) |
| 216 | { | 216 | { |
| 217 | int cnode; | 217 | int cnode; |
| 218 | 218 | ||
| @@ -512,7 +512,6 @@ static void __init sn_init_pdas(char **cmdline_p) | |||
| 512 | for_each_online_node(cnode) { | 512 | for_each_online_node(cnode) { |
| 513 | nodepdaindr[cnode] = | 513 | nodepdaindr[cnode] = |
| 514 | alloc_bootmem_node(NODE_DATA(cnode), sizeof(nodepda_t)); | 514 | alloc_bootmem_node(NODE_DATA(cnode), sizeof(nodepda_t)); |
| 515 | memset(nodepdaindr[cnode], 0, sizeof(nodepda_t)); | ||
| 516 | memset(nodepdaindr[cnode]->phys_cpuid, -1, | 515 | memset(nodepdaindr[cnode]->phys_cpuid, -1, |
| 517 | sizeof(nodepdaindr[cnode]->phys_cpuid)); | 516 | sizeof(nodepdaindr[cnode]->phys_cpuid)); |
| 518 | spin_lock_init(&nodepdaindr[cnode]->ptc_lock); | 517 | spin_lock_init(&nodepdaindr[cnode]->ptc_lock); |
| @@ -521,11 +520,9 @@ static void __init sn_init_pdas(char **cmdline_p) | |||
| 521 | /* | 520 | /* |
| 522 | * Allocate & initialize nodepda for TIOs. For now, put them on node 0. | 521 | * Allocate & initialize nodepda for TIOs. For now, put them on node 0. |
| 523 | */ | 522 | */ |
| 524 | for (cnode = num_online_nodes(); cnode < num_cnodes; cnode++) { | 523 | for (cnode = num_online_nodes(); cnode < num_cnodes; cnode++) |
| 525 | nodepdaindr[cnode] = | 524 | nodepdaindr[cnode] = |
| 526 | alloc_bootmem_node(NODE_DATA(0), sizeof(nodepda_t)); | 525 | alloc_bootmem_node(NODE_DATA(0), sizeof(nodepda_t)); |
| 527 | memset(nodepdaindr[cnode], 0, sizeof(nodepda_t)); | ||
| 528 | } | ||
| 529 | 526 | ||
| 530 | /* | 527 | /* |
| 531 | * Now copy the array of nodepda pointers to each nodepda. | 528 | * Now copy the array of nodepda pointers to each nodepda. |
diff --git a/arch/mips/include/asm/pci.h b/arch/mips/include/asm/pci.h index 5510c53b7fe..053e4634ace 100644 --- a/arch/mips/include/asm/pci.h +++ b/arch/mips/include/asm/pci.h | |||
| @@ -79,6 +79,11 @@ static inline void pcibios_penalize_isa_irq(int irq, int active) | |||
| 79 | /* We don't do dynamic PCI IRQ allocation */ | 79 | /* We don't do dynamic PCI IRQ allocation */ |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | #define HAVE_PCI_MMAP | ||
| 83 | |||
| 84 | extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | ||
| 85 | enum pci_mmap_state mmap_state, int write_combine); | ||
| 86 | |||
| 82 | /* | 87 | /* |
| 83 | * Dynamic DMA mapping stuff. | 88 | * Dynamic DMA mapping stuff. |
| 84 | * MIPS has everything mapped statically. | 89 | * MIPS has everything mapped statically. |
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index a377e9d2d02..62cae740e25 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c | |||
| @@ -354,6 +354,30 @@ EXPORT_SYMBOL(PCIBIOS_MIN_IO); | |||
| 354 | EXPORT_SYMBOL(PCIBIOS_MIN_MEM); | 354 | EXPORT_SYMBOL(PCIBIOS_MIN_MEM); |
| 355 | #endif | 355 | #endif |
| 356 | 356 | ||
| 357 | int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | ||
| 358 | enum pci_mmap_state mmap_state, int write_combine) | ||
| 359 | { | ||
| 360 | unsigned long prot; | ||
| 361 | |||
| 362 | /* | ||
| 363 | * I/O space can be accessed via normal processor loads and stores on | ||
| 364 | * this platform but for now we elect not to do this and portable | ||
| 365 | * drivers should not do this anyway. | ||
| 366 | */ | ||
| 367 | if (mmap_state == pci_mmap_io) | ||
| 368 | return -EINVAL; | ||
| 369 | |||
| 370 | /* | ||
| 371 | * Ignore write-combine; for now only return uncached mappings. | ||
| 372 | */ | ||
| 373 | prot = pgprot_val(vma->vm_page_prot); | ||
| 374 | prot = (prot & ~_CACHE_MASK) | _CACHE_UNCACHED; | ||
| 375 | vma->vm_page_prot = __pgprot(prot); | ||
| 376 | |||
| 377 | return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, | ||
| 378 | vma->vm_end - vma->vm_start, vma->vm_page_prot); | ||
| 379 | } | ||
| 380 | |||
| 357 | char * (*pcibios_plat_setup)(char *str) __devinitdata; | 381 | char * (*pcibios_plat_setup)(char *str) __devinitdata; |
| 358 | 382 | ||
| 359 | char *__devinit pcibios_setup(char *str) | 383 | char *__devinit pcibios_setup(char *str) |
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 19d579d74d2..8f44ebb0dec 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c | |||
| @@ -16,6 +16,8 @@ | |||
| 16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
| 17 | #include <linux/syscalls.h> | 17 | #include <linux/syscalls.h> |
| 18 | #include <linux/utsname.h> | 18 | #include <linux/utsname.h> |
| 19 | #include <linux/socket.h> | ||
| 20 | #include <linux/un.h> | ||
| 19 | #include <linux/workqueue.h> | 21 | #include <linux/workqueue.h> |
| 20 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
| 21 | #include <asm/uaccess.h> | 23 | #include <asm/uaccess.h> |
| @@ -785,7 +787,7 @@ static int __init mconsole_init(void) | |||
| 785 | /* long to avoid size mismatch warnings from gcc */ | 787 | /* long to avoid size mismatch warnings from gcc */ |
| 786 | long sock; | 788 | long sock; |
| 787 | int err; | 789 | int err; |
| 788 | char file[256]; | 790 | char file[UNIX_PATH_MAX]; |
| 789 | 791 | ||
| 790 | if (umid_file_name("mconsole", file, sizeof(file))) | 792 | if (umid_file_name("mconsole", file, sizeof(file))) |
| 791 | return -1; | 793 | return -1; |
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index edda7b6b077..dc7a8c352da 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
| @@ -302,7 +302,7 @@ static struct kobj_type kobj_pkt_type_wqueue = { | |||
| 302 | static void pkt_sysfs_dev_new(struct pktcdvd_device *pd) | 302 | static void pkt_sysfs_dev_new(struct pktcdvd_device *pd) |
| 303 | { | 303 | { |
| 304 | if (class_pktcdvd) { | 304 | if (class_pktcdvd) { |
| 305 | pd->dev = device_create(class_pktcdvd, NULL, pd->pkt_dev, NULL, | 305 | pd->dev = device_create(class_pktcdvd, NULL, MKDEV(0, 0), NULL, |
| 306 | "%s", pd->name); | 306 | "%s", pd->name); |
| 307 | if (IS_ERR(pd->dev)) | 307 | if (IS_ERR(pd->dev)) |
| 308 | pd->dev = NULL; | 308 | pd->dev = NULL; |
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 46610b09041..ab9c01e462e 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c | |||
| @@ -974,6 +974,7 @@ at_context_queue_packet(struct context *ctx, struct fw_packet *packet) | |||
| 974 | packet->ack = RCODE_SEND_ERROR; | 974 | packet->ack = RCODE_SEND_ERROR; |
| 975 | return -1; | 975 | return -1; |
| 976 | } | 976 | } |
| 977 | packet->payload_bus = payload_bus; | ||
| 977 | 978 | ||
| 978 | d[2].req_count = cpu_to_le16(packet->payload_length); | 979 | d[2].req_count = cpu_to_le16(packet->payload_length); |
| 979 | d[2].data_address = cpu_to_le32(payload_bus); | 980 | d[2].data_address = cpu_to_le32(payload_bus); |
| @@ -1025,7 +1026,6 @@ static int handle_at_packet(struct context *context, | |||
| 1025 | struct driver_data *driver_data; | 1026 | struct driver_data *driver_data; |
| 1026 | struct fw_packet *packet; | 1027 | struct fw_packet *packet; |
| 1027 | struct fw_ohci *ohci = context->ohci; | 1028 | struct fw_ohci *ohci = context->ohci; |
| 1028 | dma_addr_t payload_bus; | ||
| 1029 | int evt; | 1029 | int evt; |
| 1030 | 1030 | ||
| 1031 | if (last->transfer_status == 0) | 1031 | if (last->transfer_status == 0) |
| @@ -1038,9 +1038,8 @@ static int handle_at_packet(struct context *context, | |||
| 1038 | /* This packet was cancelled, just continue. */ | 1038 | /* This packet was cancelled, just continue. */ |
| 1039 | return 1; | 1039 | return 1; |
| 1040 | 1040 | ||
| 1041 | payload_bus = le32_to_cpu(last->data_address); | 1041 | if (packet->payload_bus) |
| 1042 | if (payload_bus != 0) | 1042 | dma_unmap_single(ohci->card.device, packet->payload_bus, |
| 1043 | dma_unmap_single(ohci->card.device, payload_bus, | ||
| 1044 | packet->payload_length, DMA_TO_DEVICE); | 1043 | packet->payload_length, DMA_TO_DEVICE); |
| 1045 | 1044 | ||
| 1046 | evt = le16_to_cpu(last->transfer_status) & 0x1f; | 1045 | evt = le16_to_cpu(last->transfer_status) & 0x1f; |
| @@ -1697,6 +1696,10 @@ static int ohci_cancel_packet(struct fw_card *card, struct fw_packet *packet) | |||
| 1697 | if (packet->ack != 0) | 1696 | if (packet->ack != 0) |
| 1698 | goto out; | 1697 | goto out; |
| 1699 | 1698 | ||
| 1699 | if (packet->payload_bus) | ||
| 1700 | dma_unmap_single(ohci->card.device, packet->payload_bus, | ||
| 1701 | packet->payload_length, DMA_TO_DEVICE); | ||
| 1702 | |||
| 1700 | log_ar_at_event('T', packet->speed, packet->header, 0x20); | 1703 | log_ar_at_event('T', packet->speed, packet->header, 0x20); |
| 1701 | driver_data->packet = NULL; | 1704 | driver_data->packet = NULL; |
| 1702 | packet->ack = RCODE_CANCELLED; | 1705 | packet->ack = RCODE_CANCELLED; |
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c index 022ac4fabb6..2884f876397 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c | |||
| @@ -207,6 +207,7 @@ fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, | |||
| 207 | packet->speed = speed; | 207 | packet->speed = speed; |
| 208 | packet->generation = generation; | 208 | packet->generation = generation; |
| 209 | packet->ack = 0; | 209 | packet->ack = 0; |
| 210 | packet->payload_bus = 0; | ||
| 210 | } | 211 | } |
| 211 | 212 | ||
| 212 | /** | 213 | /** |
| @@ -581,6 +582,8 @@ fw_fill_response(struct fw_packet *response, u32 *request_header, | |||
| 581 | BUG(); | 582 | BUG(); |
| 582 | return; | 583 | return; |
| 583 | } | 584 | } |
| 585 | |||
| 586 | response->payload_bus = 0; | ||
| 584 | } | 587 | } |
| 585 | EXPORT_SYMBOL(fw_fill_response); | 588 | EXPORT_SYMBOL(fw_fill_response); |
| 586 | 589 | ||
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h index aed7dbb17cd..839466f0a79 100644 --- a/drivers/firewire/fw-transaction.h +++ b/drivers/firewire/fw-transaction.h | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | #include <linux/list.h> | 27 | #include <linux/list.h> |
| 28 | #include <linux/spinlock_types.h> | 28 | #include <linux/spinlock_types.h> |
| 29 | #include <linux/timer.h> | 29 | #include <linux/timer.h> |
| 30 | #include <linux/types.h> | ||
| 30 | #include <linux/workqueue.h> | 31 | #include <linux/workqueue.h> |
| 31 | 32 | ||
| 32 | #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4) | 33 | #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4) |
| @@ -153,6 +154,7 @@ struct fw_packet { | |||
| 153 | size_t header_length; | 154 | size_t header_length; |
| 154 | void *payload; | 155 | void *payload; |
| 155 | size_t payload_length; | 156 | size_t payload_length; |
| 157 | dma_addr_t payload_bus; | ||
| 156 | u32 timestamp; | 158 | u32 timestamp; |
| 157 | 159 | ||
| 158 | /* | 160 | /* |
diff --git a/drivers/ide/sgiioc4.c b/drivers/ide/sgiioc4.c index 7defa0ae201..a687a7dfea6 100644 --- a/drivers/ide/sgiioc4.c +++ b/drivers/ide/sgiioc4.c | |||
| @@ -550,7 +550,7 @@ static const struct ide_dma_ops sgiioc4_dma_ops = { | |||
| 550 | .dma_timeout = ide_dma_timeout, | 550 | .dma_timeout = ide_dma_timeout, |
| 551 | }; | 551 | }; |
| 552 | 552 | ||
| 553 | static const struct ide_port_info sgiioc4_port_info __devinitdata = { | 553 | static const struct ide_port_info sgiioc4_port_info __devinitconst = { |
| 554 | .name = DRV_NAME, | 554 | .name = DRV_NAME, |
| 555 | .chipset = ide_pci, | 555 | .chipset = ide_pci, |
| 556 | .init_dma = ide_dma_sgiioc4, | 556 | .init_dma = ide_dma_sgiioc4, |
| @@ -633,7 +633,7 @@ out: | |||
| 633 | return ret; | 633 | return ret; |
| 634 | } | 634 | } |
| 635 | 635 | ||
| 636 | int | 636 | int __devinit |
| 637 | ioc4_ide_attach_one(struct ioc4_driver_data *idd) | 637 | ioc4_ide_attach_one(struct ioc4_driver_data *idd) |
| 638 | { | 638 | { |
| 639 | /* PCI-RT does not bring out IDE connection. | 639 | /* PCI-RT does not bring out IDE connection. |
| @@ -645,7 +645,7 @@ ioc4_ide_attach_one(struct ioc4_driver_data *idd) | |||
| 645 | return pci_init_sgiioc4(idd->idd_pdev); | 645 | return pci_init_sgiioc4(idd->idd_pdev); |
| 646 | } | 646 | } |
| 647 | 647 | ||
| 648 | static struct ioc4_submodule ioc4_ide_submodule = { | 648 | static struct ioc4_submodule __devinitdata ioc4_ide_submodule = { |
| 649 | .is_name = "IOC4_ide", | 649 | .is_name = "IOC4_ide", |
| 650 | .is_owner = THIS_MODULE, | 650 | .is_owner = THIS_MODULE, |
| 651 | .is_probe = ioc4_ide_attach_one, | 651 | .is_probe = ioc4_ide_attach_one, |
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index 9e39f73282e..d333ae22459 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c | |||
| @@ -1685,6 +1685,7 @@ static int nodemgr_host_thread(void *data) | |||
| 1685 | g = get_hpsb_generation(host); | 1685 | g = get_hpsb_generation(host); |
| 1686 | for (i = 0; i < 4 ; i++) { | 1686 | for (i = 0; i < 4 ; i++) { |
| 1687 | msleep_interruptible(63); | 1687 | msleep_interruptible(63); |
| 1688 | try_to_freeze(); | ||
| 1688 | if (kthread_should_stop()) | 1689 | if (kthread_should_stop()) |
| 1689 | goto exit; | 1690 | goto exit; |
| 1690 | 1691 | ||
| @@ -1725,6 +1726,7 @@ static int nodemgr_host_thread(void *data) | |||
| 1725 | /* Sleep 3 seconds */ | 1726 | /* Sleep 3 seconds */ |
| 1726 | for (i = 3000/200; i; i--) { | 1727 | for (i = 3000/200; i; i--) { |
| 1727 | msleep_interruptible(200); | 1728 | msleep_interruptible(200); |
| 1729 | try_to_freeze(); | ||
| 1728 | if (kthread_should_stop()) | 1730 | if (kthread_should_stop()) |
| 1729 | goto exit; | 1731 | goto exit; |
| 1730 | 1732 | ||
diff --git a/drivers/misc/sgi-gru/grufault.c b/drivers/misc/sgi-gru/grufault.c index 8c389d606c3..3ee698ad859 100644 --- a/drivers/misc/sgi-gru/grufault.c +++ b/drivers/misc/sgi-gru/grufault.c | |||
| @@ -254,7 +254,11 @@ static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr, | |||
| 254 | return 1; | 254 | return 1; |
| 255 | 255 | ||
| 256 | *paddr = pte_pfn(pte) << PAGE_SHIFT; | 256 | *paddr = pte_pfn(pte) << PAGE_SHIFT; |
| 257 | #ifdef CONFIG_HUGETLB_PAGE | ||
| 257 | *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; | 258 | *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; |
| 259 | #else | ||
| 260 | *pageshift = PAGE_SHIFT; | ||
| 261 | #endif | ||
| 258 | return 0; | 262 | return 0; |
| 259 | 263 | ||
| 260 | err: | 264 | err: |
diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c index 341d7a5b45a..4e91419e891 100644 --- a/drivers/rtc/rtc-ds1672.c +++ b/drivers/rtc/rtc-ds1672.c | |||
| @@ -209,12 +209,18 @@ static int ds1672_probe(struct i2c_client *client, | |||
| 209 | return err; | 209 | return err; |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | static struct i2c_device_id ds1672_id[] = { | ||
| 213 | { "ds1672", 0 }, | ||
| 214 | { } | ||
| 215 | }; | ||
| 216 | |||
| 212 | static struct i2c_driver ds1672_driver = { | 217 | static struct i2c_driver ds1672_driver = { |
| 213 | .driver = { | 218 | .driver = { |
| 214 | .name = "rtc-ds1672", | 219 | .name = "rtc-ds1672", |
| 215 | }, | 220 | }, |
| 216 | .probe = &ds1672_probe, | 221 | .probe = &ds1672_probe, |
| 217 | .remove = &ds1672_remove, | 222 | .remove = &ds1672_remove, |
| 223 | .id_table = ds1672_id, | ||
| 218 | }; | 224 | }; |
| 219 | 225 | ||
| 220 | static int __init ds1672_init(void) | 226 | static int __init ds1672_init(void) |
diff --git a/drivers/rtc/rtc-max6900.c b/drivers/rtc/rtc-max6900.c index 80782798763..a4f6665ab3c 100644 --- a/drivers/rtc/rtc-max6900.c +++ b/drivers/rtc/rtc-max6900.c | |||
| @@ -247,12 +247,18 @@ max6900_probe(struct i2c_client *client, const struct i2c_device_id *id) | |||
| 247 | return 0; | 247 | return 0; |
| 248 | } | 248 | } |
| 249 | 249 | ||
| 250 | static struct i2c_device_id max6900_id[] = { | ||
| 251 | { "max6900", 0 }, | ||
| 252 | { } | ||
| 253 | }; | ||
| 254 | |||
| 250 | static struct i2c_driver max6900_driver = { | 255 | static struct i2c_driver max6900_driver = { |
| 251 | .driver = { | 256 | .driver = { |
| 252 | .name = "rtc-max6900", | 257 | .name = "rtc-max6900", |
| 253 | }, | 258 | }, |
| 254 | .probe = max6900_probe, | 259 | .probe = max6900_probe, |
| 255 | .remove = max6900_remove, | 260 | .remove = max6900_remove, |
| 261 | .id_table = max6900_id, | ||
| 256 | }; | 262 | }; |
| 257 | 263 | ||
| 258 | static int __init max6900_init(void) | 264 | static int __init max6900_init(void) |
diff --git a/drivers/rtc/rtc-twl4030.c b/drivers/rtc/rtc-twl4030.c index abe87a4d266..01d8da9afdc 100644 --- a/drivers/rtc/rtc-twl4030.c +++ b/drivers/rtc/rtc-twl4030.c | |||
| @@ -337,7 +337,7 @@ static int twl4030_rtc_ioctl(struct device *dev, unsigned int cmd, | |||
| 337 | } | 337 | } |
| 338 | 338 | ||
| 339 | #else | 339 | #else |
| 340 | #define omap_rtc_ioctl NULL | 340 | #define twl4030_rtc_ioctl NULL |
| 341 | #endif | 341 | #endif |
| 342 | 342 | ||
| 343 | static irqreturn_t twl4030_rtc_interrupt(int irq, void *rtc) | 343 | static irqreturn_t twl4030_rtc_interrupt(int irq, void *rtc) |
diff --git a/drivers/serial/ioc3_serial.c b/drivers/serial/ioc3_serial.c index 6dd98f9fb89..ae3699d77dd 100644 --- a/drivers/serial/ioc3_serial.c +++ b/drivers/serial/ioc3_serial.c | |||
| @@ -2149,7 +2149,7 @@ out4: | |||
| 2149 | return ret; | 2149 | return ret; |
| 2150 | } | 2150 | } |
| 2151 | 2151 | ||
| 2152 | static struct ioc3_submodule ioc3uart_submodule = { | 2152 | static struct ioc3_submodule ioc3uart_ops = { |
| 2153 | .name = "IOC3uart", | 2153 | .name = "IOC3uart", |
| 2154 | .probe = ioc3uart_probe, | 2154 | .probe = ioc3uart_probe, |
| 2155 | .remove = ioc3uart_remove, | 2155 | .remove = ioc3uart_remove, |
| @@ -2173,7 +2173,7 @@ static int __devinit ioc3uart_init(void) | |||
| 2173 | __func__); | 2173 | __func__); |
| 2174 | return ret; | 2174 | return ret; |
| 2175 | } | 2175 | } |
| 2176 | ret = ioc3_register_submodule(&ioc3uart_submodule); | 2176 | ret = ioc3_register_submodule(&ioc3uart_ops); |
| 2177 | if (ret) | 2177 | if (ret) |
| 2178 | uart_unregister_driver(&ioc3_uart); | 2178 | uart_unregister_driver(&ioc3_uart); |
| 2179 | return ret; | 2179 | return ret; |
| @@ -2181,7 +2181,7 @@ static int __devinit ioc3uart_init(void) | |||
| 2181 | 2181 | ||
| 2182 | static void __devexit ioc3uart_exit(void) | 2182 | static void __devexit ioc3uart_exit(void) |
| 2183 | { | 2183 | { |
| 2184 | ioc3_unregister_submodule(&ioc3uart_submodule); | 2184 | ioc3_unregister_submodule(&ioc3uart_ops); |
| 2185 | uart_unregister_driver(&ioc3_uart); | 2185 | uart_unregister_driver(&ioc3_uart); |
| 2186 | } | 2186 | } |
| 2187 | 2187 | ||
diff --git a/drivers/serial/s3c2440.c b/drivers/serial/s3c2440.c index 317d239ab74..29cbb0afef8 100644 --- a/drivers/serial/s3c2440.c +++ b/drivers/serial/s3c2440.c | |||
| @@ -177,5 +177,5 @@ module_exit(s3c2440_serial_exit); | |||
| 177 | 177 | ||
| 178 | MODULE_DESCRIPTION("Samsung S3C2440,S3C2442 SoC Serial port driver"); | 178 | MODULE_DESCRIPTION("Samsung S3C2440,S3C2442 SoC Serial port driver"); |
| 179 | MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); | 179 | MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); |
| 180 | MODULE_LICENSE("GPLi v2"); | 180 | MODULE_LICENSE("GPL v2"); |
| 181 | MODULE_ALIAS("platform:s3c2440-uart"); | 181 | MODULE_ALIAS("platform:s3c2440-uart"); |
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 67ff370d80a..0b2adefe9e3 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
| @@ -3531,12 +3531,18 @@ static void fbcon_exit(void) | |||
| 3531 | softback_buf = 0UL; | 3531 | softback_buf = 0UL; |
| 3532 | 3532 | ||
| 3533 | for (i = 0; i < FB_MAX; i++) { | 3533 | for (i = 0; i < FB_MAX; i++) { |
| 3534 | int pending; | ||
| 3535 | |||
| 3534 | mapped = 0; | 3536 | mapped = 0; |
| 3535 | info = registered_fb[i]; | 3537 | info = registered_fb[i]; |
| 3536 | 3538 | ||
| 3537 | if (info == NULL) | 3539 | if (info == NULL) |
| 3538 | continue; | 3540 | continue; |
| 3539 | 3541 | ||
| 3542 | pending = cancel_work_sync(&info->queue); | ||
| 3543 | DPRINTK("fbcon: %s pending work\n", (pending ? "canceled" : | ||
| 3544 | "no")); | ||
| 3545 | |||
| 3540 | for (j = first_fb_vc; j <= last_fb_vc; j++) { | 3546 | for (j = first_fb_vc; j <= last_fb_vc; j++) { |
| 3541 | if (con2fb_map[j] == i) | 3547 | if (con2fb_map[j] == i) |
| 3542 | mapped = 1; | 3548 | mapped = 1; |
diff --git a/drivers/video/mb862xx/mb862xxfb.c b/drivers/video/mb862xx/mb862xxfb.c index 38718d95fbb..fb64234a382 100644 --- a/drivers/video/mb862xx/mb862xxfb.c +++ b/drivers/video/mb862xx/mb862xxfb.c | |||
| @@ -927,9 +927,9 @@ static int __devinit mb862xx_pci_probe(struct pci_dev *pdev, | |||
| 927 | } | 927 | } |
| 928 | 928 | ||
| 929 | dev_dbg(dev, "fb phys 0x%llx 0x%lx\n", | 929 | dev_dbg(dev, "fb phys 0x%llx 0x%lx\n", |
| 930 | (u64)par->fb_base_phys, (ulong)par->mapped_vram); | 930 | (unsigned long long)par->fb_base_phys, (ulong)par->mapped_vram); |
| 931 | dev_dbg(dev, "mmio phys 0x%llx 0x%lx\n", | 931 | dev_dbg(dev, "mmio phys 0x%llx 0x%lx\n", |
| 932 | (u64)par->mmio_base_phys, (ulong)par->mmio_len); | 932 | (unsigned long long)par->mmio_base_phys, (ulong)par->mmio_len); |
| 933 | 933 | ||
| 934 | if (mb862xx_pci_gdc_init(par)) | 934 | if (mb862xx_pci_gdc_init(par)) |
| 935 | goto io_unmap; | 935 | goto io_unmap; |
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index d2003cdc36a..db35cfdb3c8 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c | |||
| @@ -609,8 +609,8 @@ int ext4_has_free_blocks(struct ext4_sb_info *sbi, s64 nblocks) | |||
| 609 | 609 | ||
| 610 | if (free_blocks - (nblocks + root_blocks + dirty_blocks) < | 610 | if (free_blocks - (nblocks + root_blocks + dirty_blocks) < |
| 611 | EXT4_FREEBLOCKS_WATERMARK) { | 611 | EXT4_FREEBLOCKS_WATERMARK) { |
| 612 | free_blocks = percpu_counter_sum(fbc); | 612 | free_blocks = percpu_counter_sum_positive(fbc); |
| 613 | dirty_blocks = percpu_counter_sum(dbc); | 613 | dirty_blocks = percpu_counter_sum_positive(dbc); |
| 614 | if (dirty_blocks < 0) { | 614 | if (dirty_blocks < 0) { |
| 615 | printk(KERN_CRIT "Dirty block accounting " | 615 | printk(KERN_CRIT "Dirty block accounting " |
| 616 | "went wrong %lld\n", | 616 | "went wrong %lld\n", |
diff --git a/fs/inotify.c b/fs/inotify.c index 7bbed1b8982..dae3f28f30d 100644 --- a/fs/inotify.c +++ b/fs/inotify.c | |||
| @@ -428,11 +428,13 @@ void inotify_unmount_inodes(struct list_head *list) | |||
| 428 | watches = &inode->inotify_watches; | 428 | watches = &inode->inotify_watches; |
| 429 | list_for_each_entry_safe(watch, next_w, watches, i_list) { | 429 | list_for_each_entry_safe(watch, next_w, watches, i_list) { |
| 430 | struct inotify_handle *ih= watch->ih; | 430 | struct inotify_handle *ih= watch->ih; |
| 431 | get_inotify_watch(watch); | ||
| 431 | mutex_lock(&ih->mutex); | 432 | mutex_lock(&ih->mutex); |
| 432 | ih->in_ops->handle_event(watch, watch->wd, IN_UNMOUNT, 0, | 433 | ih->in_ops->handle_event(watch, watch->wd, IN_UNMOUNT, 0, |
| 433 | NULL, NULL); | 434 | NULL, NULL); |
| 434 | inotify_remove_watch_locked(ih, watch); | 435 | inotify_remove_watch_locked(ih, watch); |
| 435 | mutex_unlock(&ih->mutex); | 436 | mutex_unlock(&ih->mutex); |
| 437 | put_inotify_watch(watch); | ||
| 436 | } | 438 | } |
| 437 | mutex_unlock(&inode->inotify_mutex); | 439 | mutex_unlock(&inode->inotify_mutex); |
| 438 | iput(inode); | 440 | iput(inode); |
diff --git a/fs/proc/base.c b/fs/proc/base.c index 486cf3fe713..d4677603c88 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
| @@ -371,7 +371,7 @@ static int lstats_show_proc(struct seq_file *m, void *v) | |||
| 371 | task->latency_record[i].time, | 371 | task->latency_record[i].time, |
| 372 | task->latency_record[i].max); | 372 | task->latency_record[i].max); |
| 373 | for (q = 0; q < LT_BACKTRACEDEPTH; q++) { | 373 | for (q = 0; q < LT_BACKTRACEDEPTH; q++) { |
| 374 | char sym[KSYM_NAME_LEN]; | 374 | char sym[KSYM_SYMBOL_LEN]; |
| 375 | char *c; | 375 | char *c; |
| 376 | if (!task->latency_record[i].backtrace[q]) | 376 | if (!task->latency_record[i].backtrace[q]) |
| 377 | break; | 377 | break; |
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index b770c095e45..3a8bdd7f575 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c | |||
| @@ -557,9 +557,9 @@ static u64 swap_pte_to_pagemap_entry(pte_t pte) | |||
| 557 | return swp_type(e) | (swp_offset(e) << MAX_SWAPFILES_SHIFT); | 557 | return swp_type(e) | (swp_offset(e) << MAX_SWAPFILES_SHIFT); |
| 558 | } | 558 | } |
| 559 | 559 | ||
| 560 | static unsigned long pte_to_pagemap_entry(pte_t pte) | 560 | static u64 pte_to_pagemap_entry(pte_t pte) |
| 561 | { | 561 | { |
| 562 | unsigned long pme = 0; | 562 | u64 pme = 0; |
| 563 | if (is_swap_pte(pte)) | 563 | if (is_swap_pte(pte)) |
| 564 | pme = PM_PFRAME(swap_pte_to_pagemap_entry(pte)) | 564 | pme = PM_PFRAME(swap_pte_to_pagemap_entry(pte)) |
| 565 | | PM_PSHIFT(PAGE_SHIFT) | PM_SWAP; | 565 | | PM_PSHIFT(PAGE_SHIFT) | PM_SWAP; |
diff --git a/include/asm-generic/atomic.h b/include/asm-generic/atomic.h index 4ec0a296bde..7abdaa91ccd 100644 --- a/include/asm-generic/atomic.h +++ b/include/asm-generic/atomic.h | |||
| @@ -251,7 +251,7 @@ static inline long atomic_long_add_unless(atomic_long_t *l, long a, long u) | |||
| 251 | #define atomic_long_cmpxchg(l, old, new) \ | 251 | #define atomic_long_cmpxchg(l, old, new) \ |
| 252 | (atomic_cmpxchg((atomic_t *)(l), (old), (new))) | 252 | (atomic_cmpxchg((atomic_t *)(l), (old), (new))) |
| 253 | #define atomic_long_xchg(v, new) \ | 253 | #define atomic_long_xchg(v, new) \ |
| 254 | (atomic_xchg((atomic_t *)(l), (new))) | 254 | (atomic_xchg((atomic_t *)(v), (new))) |
| 255 | 255 | ||
| 256 | #endif /* BITS_PER_LONG == 64 */ | 256 | #endif /* BITS_PER_LONG == 64 */ |
| 257 | 257 | ||
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 703eb53cfa2..9c5bc6be2b0 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | #include <linux/ktime.h> | 6 | #include <linux/ktime.h> |
| 7 | #include <linux/init.h> | 7 | #include <linux/init.h> |
| 8 | #include <linux/types.h> | 8 | #include <linux/types.h> |
| 9 | #include <linux/module.h> | ||
| 9 | #include <linux/kallsyms.h> | 10 | #include <linux/kallsyms.h> |
| 10 | 11 | ||
| 11 | #ifdef CONFIG_FUNCTION_TRACER | 12 | #ifdef CONFIG_FUNCTION_TRACER |
| @@ -231,7 +232,7 @@ ftrace_init_module(unsigned long *start, unsigned long *end) { } | |||
| 231 | 232 | ||
| 232 | struct boot_trace { | 233 | struct boot_trace { |
| 233 | pid_t caller; | 234 | pid_t caller; |
| 234 | char func[KSYM_NAME_LEN]; | 235 | char func[KSYM_SYMBOL_LEN]; |
| 235 | int result; | 236 | int result; |
| 236 | unsigned long long duration; /* usecs */ | 237 | unsigned long long duration; /* usecs */ |
| 237 | ktime_t calltime; | 238 | ktime_t calltime; |
diff --git a/kernel/latencytop.c b/kernel/latencytop.c index 5e7b45c5692..449db466bdb 100644 --- a/kernel/latencytop.c +++ b/kernel/latencytop.c | |||
| @@ -191,7 +191,7 @@ static int lstats_show(struct seq_file *m, void *v) | |||
| 191 | latency_record[i].time, | 191 | latency_record[i].time, |
| 192 | latency_record[i].max); | 192 | latency_record[i].max); |
| 193 | for (q = 0; q < LT_BACKTRACEDEPTH; q++) { | 193 | for (q = 0; q < LT_BACKTRACEDEPTH; q++) { |
| 194 | char sym[KSYM_NAME_LEN]; | 194 | char sym[KSYM_SYMBOL_LEN]; |
| 195 | char *c; | 195 | char *c; |
| 196 | if (!latency_record[i].backtrace[q]) | 196 | if (!latency_record[i].backtrace[q]) |
| 197 | break; | 197 | break; |
diff --git a/kernel/relay.c b/kernel/relay.c index 32b0befdcb6..09ac2008f77 100644 --- a/kernel/relay.c +++ b/kernel/relay.c | |||
| @@ -1317,12 +1317,9 @@ static ssize_t relay_file_splice_read(struct file *in, | |||
| 1317 | if (ret < 0) | 1317 | if (ret < 0) |
| 1318 | break; | 1318 | break; |
| 1319 | else if (!ret) { | 1319 | else if (!ret) { |
| 1320 | if (spliced) | 1320 | if (flags & SPLICE_F_NONBLOCK) |
| 1321 | break; | ||
| 1322 | if (flags & SPLICE_F_NONBLOCK) { | ||
| 1323 | ret = -EAGAIN; | 1321 | ret = -EAGAIN; |
| 1324 | break; | 1322 | break; |
| 1325 | } | ||
| 1326 | } | 1323 | } |
| 1327 | 1324 | ||
| 1328 | *ppos += ret; | 1325 | *ppos += ret; |
diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index a8663890a88..b255b939bc1 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c | |||
| @@ -62,10 +62,7 @@ s64 __percpu_counter_sum(struct percpu_counter *fbc) | |||
| 62 | for_each_online_cpu(cpu) { | 62 | for_each_online_cpu(cpu) { |
| 63 | s32 *pcount = per_cpu_ptr(fbc->counters, cpu); | 63 | s32 *pcount = per_cpu_ptr(fbc->counters, cpu); |
| 64 | ret += *pcount; | 64 | ret += *pcount; |
| 65 | *pcount = 0; | ||
| 66 | } | 65 | } |
| 67 | fbc->count = ret; | ||
| 68 | |||
| 69 | spin_unlock(&fbc->lock); | 66 | spin_unlock(&fbc->lock); |
| 70 | return ret; | 67 | return ret; |
| 71 | } | 68 | } |
| @@ -104,13 +101,13 @@ void percpu_counter_destroy(struct percpu_counter *fbc) | |||
| 104 | if (!fbc->counters) | 101 | if (!fbc->counters) |
| 105 | return; | 102 | return; |
| 106 | 103 | ||
| 107 | free_percpu(fbc->counters); | ||
| 108 | fbc->counters = NULL; | ||
| 109 | #ifdef CONFIG_HOTPLUG_CPU | 104 | #ifdef CONFIG_HOTPLUG_CPU |
| 110 | mutex_lock(&percpu_counters_lock); | 105 | mutex_lock(&percpu_counters_lock); |
| 111 | list_del(&fbc->list); | 106 | list_del(&fbc->list); |
| 112 | mutex_unlock(&percpu_counters_lock); | 107 | mutex_unlock(&percpu_counters_lock); |
| 113 | #endif | 108 | #endif |
| 109 | free_percpu(fbc->counters); | ||
| 110 | fbc->counters = NULL; | ||
| 114 | } | 111 | } |
| 115 | EXPORT_SYMBOL(percpu_counter_destroy); | 112 | EXPORT_SYMBOL(percpu_counter_destroy); |
| 116 | 113 | ||
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 2a56124dbc2..801c08b046e 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
| @@ -176,7 +176,7 @@ int bdi_register(struct backing_dev_info *bdi, struct device *parent, | |||
| 176 | int ret = 0; | 176 | int ret = 0; |
| 177 | struct device *dev; | 177 | struct device *dev; |
| 178 | 178 | ||
| 179 | if (WARN_ON(bdi->dev)) | 179 | if (bdi->dev) /* The driver needs to use separate queues per device */ |
| 180 | goto exit; | 180 | goto exit; |
| 181 | 181 | ||
| 182 | va_start(args, fmt); | 182 | va_start(args, fmt); |
diff --git a/mm/migrate.c b/mm/migrate.c index 1e0d6b237f4..d8f07667fc8 100644 --- a/mm/migrate.c +++ b/mm/migrate.c | |||
| @@ -987,25 +987,18 @@ out: | |||
| 987 | /* | 987 | /* |
| 988 | * Determine the nodes of an array of pages and store it in an array of status. | 988 | * Determine the nodes of an array of pages and store it in an array of status. |
| 989 | */ | 989 | */ |
| 990 | static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, | 990 | static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, |
| 991 | const void __user * __user *pages, | 991 | const void __user **pages, int *status) |
| 992 | int __user *status) | ||
| 993 | { | 992 | { |
| 994 | unsigned long i; | 993 | unsigned long i; |
| 995 | int err; | ||
| 996 | 994 | ||
| 997 | down_read(&mm->mmap_sem); | 995 | down_read(&mm->mmap_sem); |
| 998 | 996 | ||
| 999 | for (i = 0; i < nr_pages; i++) { | 997 | for (i = 0; i < nr_pages; i++) { |
| 1000 | const void __user *p; | 998 | unsigned long addr = (unsigned long)(*pages); |
| 1001 | unsigned long addr; | ||
| 1002 | struct vm_area_struct *vma; | 999 | struct vm_area_struct *vma; |
| 1003 | struct page *page; | 1000 | struct page *page; |
| 1004 | 1001 | int err; | |
| 1005 | err = -EFAULT; | ||
| 1006 | if (get_user(p, pages+i)) | ||
| 1007 | goto out; | ||
| 1008 | addr = (unsigned long) p; | ||
| 1009 | 1002 | ||
| 1010 | vma = find_vma(mm, addr); | 1003 | vma = find_vma(mm, addr); |
| 1011 | if (!vma) | 1004 | if (!vma) |
| @@ -1024,12 +1017,52 @@ static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, | |||
| 1024 | 1017 | ||
| 1025 | err = page_to_nid(page); | 1018 | err = page_to_nid(page); |
| 1026 | set_status: | 1019 | set_status: |
| 1027 | put_user(err, status+i); | 1020 | *status = err; |
| 1021 | |||
| 1022 | pages++; | ||
| 1023 | status++; | ||
| 1024 | } | ||
| 1025 | |||
| 1026 | up_read(&mm->mmap_sem); | ||
| 1027 | } | ||
| 1028 | |||
| 1029 | /* | ||
| 1030 | * Determine the nodes of a user array of pages and store it in | ||
| 1031 | * a user array of status. | ||
| 1032 | */ | ||
| 1033 | static int do_pages_stat(struct mm_struct *mm, unsigned long nr_pages, | ||
| 1034 | const void __user * __user *pages, | ||
| 1035 | int __user *status) | ||
| 1036 | { | ||
| 1037 | #define DO_PAGES_STAT_CHUNK_NR 16 | ||
| 1038 | const void __user *chunk_pages[DO_PAGES_STAT_CHUNK_NR]; | ||
| 1039 | int chunk_status[DO_PAGES_STAT_CHUNK_NR]; | ||
| 1040 | unsigned long i, chunk_nr = DO_PAGES_STAT_CHUNK_NR; | ||
| 1041 | int err; | ||
| 1042 | |||
| 1043 | for (i = 0; i < nr_pages; i += chunk_nr) { | ||
| 1044 | if (chunk_nr + i > nr_pages) | ||
| 1045 | chunk_nr = nr_pages - i; | ||
| 1046 | |||
| 1047 | err = copy_from_user(chunk_pages, &pages[i], | ||
| 1048 | chunk_nr * sizeof(*chunk_pages)); | ||
| 1049 | if (err) { | ||
| 1050 | err = -EFAULT; | ||
| 1051 | goto out; | ||
| 1052 | } | ||
| 1053 | |||
| 1054 | do_pages_stat_array(mm, chunk_nr, chunk_pages, chunk_status); | ||
| 1055 | |||
| 1056 | err = copy_to_user(&status[i], chunk_status, | ||
| 1057 | chunk_nr * sizeof(*chunk_status)); | ||
| 1058 | if (err) { | ||
| 1059 | err = -EFAULT; | ||
| 1060 | goto out; | ||
| 1061 | } | ||
| 1028 | } | 1062 | } |
| 1029 | err = 0; | 1063 | err = 0; |
| 1030 | 1064 | ||
| 1031 | out: | 1065 | out: |
| 1032 | up_read(&mm->mmap_sem); | ||
| 1033 | return err; | 1066 | return err; |
| 1034 | } | 1067 | } |
| 1035 | 1068 | ||
diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 0b3cbf090a6..ab27ff75051 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c | |||
| @@ -49,6 +49,9 @@ static int __init alloc_node_page_cgroup(int nid) | |||
| 49 | start_pfn = NODE_DATA(nid)->node_start_pfn; | 49 | start_pfn = NODE_DATA(nid)->node_start_pfn; |
| 50 | nr_pages = NODE_DATA(nid)->node_spanned_pages; | 50 | nr_pages = NODE_DATA(nid)->node_spanned_pages; |
| 51 | 51 | ||
| 52 | if (!nr_pages) | ||
| 53 | return 0; | ||
| 54 | |||
| 52 | table_size = sizeof(struct page_cgroup) * nr_pages; | 55 | table_size = sizeof(struct page_cgroup) * nr_pages; |
| 53 | 56 | ||
| 54 | base = __alloc_bootmem_node_nopanic(NODE_DATA(nid), | 57 | base = __alloc_bootmem_node_nopanic(NODE_DATA(nid), |
| @@ -3597,7 +3597,7 @@ static int list_locations(struct kmem_cache *s, char *buf, | |||
| 3597 | for (i = 0; i < t.count; i++) { | 3597 | for (i = 0; i < t.count; i++) { |
| 3598 | struct location *l = &t.loc[i]; | 3598 | struct location *l = &t.loc[i]; |
| 3599 | 3599 | ||
| 3600 | if (len > PAGE_SIZE - 100) | 3600 | if (len > PAGE_SIZE - KSYM_SYMBOL_LEN - 100) |
| 3601 | break; | 3601 | break; |
| 3602 | len += sprintf(buf + len, "%7ld ", l->count); | 3602 | len += sprintf(buf + len, "%7ld ", l->count); |
| 3603 | 3603 | ||
| @@ -299,7 +299,6 @@ void lru_add_drain(void) | |||
| 299 | put_cpu(); | 299 | put_cpu(); |
| 300 | } | 300 | } |
| 301 | 301 | ||
| 302 | #if defined(CONFIG_NUMA) || defined(CONFIG_UNEVICTABLE_LRU) | ||
| 303 | static void lru_add_drain_per_cpu(struct work_struct *dummy) | 302 | static void lru_add_drain_per_cpu(struct work_struct *dummy) |
| 304 | { | 303 | { |
| 305 | lru_add_drain(); | 304 | lru_add_drain(); |
| @@ -313,18 +312,6 @@ int lru_add_drain_all(void) | |||
| 313 | return schedule_on_each_cpu(lru_add_drain_per_cpu); | 312 | return schedule_on_each_cpu(lru_add_drain_per_cpu); |
| 314 | } | 313 | } |
| 315 | 314 | ||
| 316 | #else | ||
| 317 | |||
| 318 | /* | ||
| 319 | * Returns 0 for success | ||
| 320 | */ | ||
| 321 | int lru_add_drain_all(void) | ||
| 322 | { | ||
| 323 | lru_add_drain(); | ||
| 324 | return 0; | ||
| 325 | } | ||
| 326 | #endif | ||
| 327 | |||
| 328 | /* | 315 | /* |
| 329 | * Batched page_cache_release(). Decrement the reference count on all the | 316 | * Batched page_cache_release(). Decrement the reference count on all the |
| 330 | * passed pages. If it fell to zero then remove the page from the LRU and | 317 | * passed pages. If it fell to zero then remove the page from the LRU and |
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index f3f6e075856..1ddb77ba399 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
| @@ -1717,7 +1717,7 @@ static int s_show(struct seq_file *m, void *p) | |||
| 1717 | v->addr, v->addr + v->size, v->size); | 1717 | v->addr, v->addr + v->size, v->size); |
| 1718 | 1718 | ||
| 1719 | if (v->caller) { | 1719 | if (v->caller) { |
| 1720 | char buff[2 * KSYM_NAME_LEN]; | 1720 | char buff[KSYM_SYMBOL_LEN]; |
| 1721 | 1721 | ||
| 1722 | seq_putc(m, ' '); | 1722 | seq_putc(m, ' '); |
| 1723 | sprint_symbol(buff, (unsigned long)v->caller); | 1723 | sprint_symbol(buff, (unsigned long)v->caller); |
