Merge branch 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-microblaze

* 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-microblaze:
microblaze: Fix kind-of-intr checking against number of interrupts
microblaze: Update Microblaze defconfig

+34 -20
+32 -18
arch/microblaze/configs/nommu_defconfig
··· 1 # 2 # Automatically generated make config: don't edit 3 - # Linux kernel version: 2.6.29 4 - # Tue Mar 24 10:23:20 2009 5 # 6 CONFIG_MICROBLAZE=y 7 # CONFIG_SWAP is not set ··· 32 CONFIG_SYSVIPC=y 33 CONFIG_SYSVIPC_SYSCTL=y 34 CONFIG_POSIX_MQUEUE=y 35 CONFIG_BSD_PROCESS_ACCT=y 36 CONFIG_BSD_PROCESS_ACCT_V3=y 37 # CONFIG_TASKSTATS is not set ··· 64 CONFIG_KALLSYMS=y 65 CONFIG_KALLSYMS_ALL=y 66 CONFIG_KALLSYMS_EXTRA_PASS=y 67 # CONFIG_HOTPLUG is not set 68 CONFIG_PRINTK=y 69 CONFIG_BUG=y ··· 82 # CONFIG_SLUB is not set 83 # CONFIG_SLOB is not set 84 # CONFIG_PROFILING is not set 85 # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set 86 CONFIG_SLABINFO=y 87 CONFIG_RT_MUTEXES=y ··· 96 # CONFIG_MODULE_SRCVERSION_ALL is not set 97 CONFIG_BLOCK=y 98 # CONFIG_LBD is not set 99 - # CONFIG_BLK_DEV_IO_TRACE is not set 100 # CONFIG_BLK_DEV_BSG is not set 101 # CONFIG_BLK_DEV_INTEGRITY is not set 102 ··· 169 # CONFIG_PHYS_ADDR_T_64BIT is not set 170 CONFIG_ZONE_DMA_FLAG=0 171 CONFIG_VIRT_TO_BUS=y 172 173 # 174 # Exectuable file formats ··· 185 # 186 # Networking options 187 # 188 - CONFIG_COMPAT_NET_DEV_OPS=y 189 CONFIG_PACKET=y 190 # CONFIG_PACKET_MMAP is not set 191 CONFIG_UNIX=y ··· 236 # CONFIG_LAPB is not set 237 # CONFIG_ECONET is not set 238 # CONFIG_WAN_ROUTER is not set 239 # CONFIG_NET_SCHED is not set 240 # CONFIG_DCB is not set 241 ··· 249 # CONFIG_IRDA is not set 250 # CONFIG_BT is not set 251 # CONFIG_AF_RXRPC is not set 252 - # CONFIG_PHONET is not set 253 CONFIG_WIRELESS=y 254 # CONFIG_CFG80211 is not set 255 CONFIG_WIRELESS_OLD_REGULATORY=y ··· 383 # CONFIG_ATA is not set 384 # CONFIG_MD is not set 385 CONFIG_NETDEVICES=y 386 # CONFIG_DUMMY is not set 387 # CONFIG_BONDING is not set 388 # CONFIG_MACVLAN is not set ··· 393 # CONFIG_PHYLIB is not set 394 CONFIG_NET_ETHERNET=y 395 # CONFIG_MII is not set 396 # CONFIG_DNET is not set 397 # CONFIG_IBM_NEW_EMAC_ZMII is not set 398 # CONFIG_IBM_NEW_EMAC_RGMII is not set ··· 411 # 412 # CONFIG_WLAN_PRE80211 is not set 413 # CONFIG_WLAN_80211 is not set 414 - # CONFIG_IWLWIFI_LEDS is not set 415 416 # 417 # Enable WiMAX (Networking options) to see the WiMAX drivers ··· 460 CONFIG_LEGACY_PTY_COUNT=256 461 # CONFIG_IPMI_HANDLER is not set 462 CONFIG_HW_RANDOM=y 463 # CONFIG_RTC is not set 464 # CONFIG_GEN_RTC is not set 465 # CONFIG_R3964 is not set ··· 531 # 532 533 # 534 - # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; 535 # 536 # CONFIG_USB_GADGET is not set 537 ··· 544 # CONFIG_ACCESSIBILITY is not set 545 # CONFIG_RTC_CLASS is not set 546 # CONFIG_DMADEVICES is not set 547 # CONFIG_UIO is not set 548 # CONFIG_STAGING is not set 549 ··· 568 # CONFIG_AUTOFS_FS is not set 569 # CONFIG_AUTOFS4_FS is not set 570 # CONFIG_FUSE_FS is not set 571 572 # 573 # CD-ROM/DVD Filesystems ··· 613 # CONFIG_HPFS_FS is not set 614 # CONFIG_QNX4FS_FS is not set 615 CONFIG_ROMFS_FS=y 616 # CONFIG_SYSV_FS is not set 617 # CONFIG_UFS_FS is not set 618 CONFIG_NETWORK_FILESYSTEMS=y 619 CONFIG_NFS_FS=y 620 CONFIG_NFS_V3=y ··· 631 CONFIG_NFS_ACL_SUPPORT=y 632 CONFIG_NFS_COMMON=y 633 CONFIG_SUNRPC=y 634 - # CONFIG_SUNRPC_REGISTER_V4 is not set 635 # CONFIG_RPCSEC_GSS_KRB5 is not set 636 # CONFIG_RPCSEC_GSS_SPKM3 is not set 637 # CONFIG_SMB_FS is not set ··· 663 CONFIG_DETECT_SOFTLOCKUP=y 664 CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y 665 CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1 666 CONFIG_SCHED_DEBUG=y 667 CONFIG_SCHEDSTATS=y 668 CONFIG_TIMER_STATS=y ··· 697 # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set 698 # CONFIG_FAULT_INJECTION is not set 699 CONFIG_SYSCTL_SYSCALL_CHECK=y 700 - 701 - # 702 - # Tracers 703 - # 704 - # CONFIG_SCHED_TRACER is not set 705 - # CONFIG_CONTEXT_SWITCH_TRACER is not set 706 - # CONFIG_BOOT_TRACER is not set 707 - # CONFIG_TRACE_BRANCH_PROFILING is not set 708 - # CONFIG_DYNAMIC_PRINTK_DEBUG is not set 709 # CONFIG_SAMPLES is not set 710 CONFIG_EARLY_PRINTK=y 711 CONFIG_HEART_BEAT=y ··· 789 # Compression 790 # 791 # CONFIG_CRYPTO_DEFLATE is not set 792 # CONFIG_CRYPTO_LZO is not set 793 794 # ··· 797 # 798 # CONFIG_CRYPTO_ANSI_CPRNG is not set 799 CONFIG_CRYPTO_HW=y 800 801 # 802 # Library routines ··· 811 # CONFIG_CRC7 is not set 812 # CONFIG_LIBCRC32C is not set 813 CONFIG_ZLIB_INFLATE=y 814 - CONFIG_PLIST=y 815 CONFIG_HAS_IOMEM=y 816 CONFIG_HAS_IOPORT=y 817 CONFIG_HAS_DMA=y 818 CONFIG_HAVE_LMB=y
··· 1 # 2 # Automatically generated make config: don't edit 3 + # Linux kernel version: 2.6.30-rc5 4 + # Mon May 11 09:01:02 2009 5 # 6 CONFIG_MICROBLAZE=y 7 # CONFIG_SWAP is not set ··· 32 CONFIG_SYSVIPC=y 33 CONFIG_SYSVIPC_SYSCTL=y 34 CONFIG_POSIX_MQUEUE=y 35 + CONFIG_POSIX_MQUEUE_SYSCTL=y 36 CONFIG_BSD_PROCESS_ACCT=y 37 CONFIG_BSD_PROCESS_ACCT_V3=y 38 # CONFIG_TASKSTATS is not set ··· 63 CONFIG_KALLSYMS=y 64 CONFIG_KALLSYMS_ALL=y 65 CONFIG_KALLSYMS_EXTRA_PASS=y 66 + # CONFIG_STRIP_ASM_SYMS is not set 67 # CONFIG_HOTPLUG is not set 68 CONFIG_PRINTK=y 69 CONFIG_BUG=y ··· 80 # CONFIG_SLUB is not set 81 # CONFIG_SLOB is not set 82 # CONFIG_PROFILING is not set 83 + # CONFIG_MARKERS is not set 84 + # CONFIG_SLOW_WORK is not set 85 # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set 86 CONFIG_SLABINFO=y 87 CONFIG_RT_MUTEXES=y ··· 92 # CONFIG_MODULE_SRCVERSION_ALL is not set 93 CONFIG_BLOCK=y 94 # CONFIG_LBD is not set 95 # CONFIG_BLK_DEV_BSG is not set 96 # CONFIG_BLK_DEV_INTEGRITY is not set 97 ··· 166 # CONFIG_PHYS_ADDR_T_64BIT is not set 167 CONFIG_ZONE_DMA_FLAG=0 168 CONFIG_VIRT_TO_BUS=y 169 + CONFIG_UNEVICTABLE_LRU=y 170 + CONFIG_NOMMU_INITIAL_TRIM_EXCESS=1 171 172 # 173 # Exectuable file formats ··· 180 # 181 # Networking options 182 # 183 CONFIG_PACKET=y 184 # CONFIG_PACKET_MMAP is not set 185 CONFIG_UNIX=y ··· 232 # CONFIG_LAPB is not set 233 # CONFIG_ECONET is not set 234 # CONFIG_WAN_ROUTER is not set 235 + # CONFIG_PHONET is not set 236 # CONFIG_NET_SCHED is not set 237 # CONFIG_DCB is not set 238 ··· 244 # CONFIG_IRDA is not set 245 # CONFIG_BT is not set 246 # CONFIG_AF_RXRPC is not set 247 CONFIG_WIRELESS=y 248 # CONFIG_CFG80211 is not set 249 CONFIG_WIRELESS_OLD_REGULATORY=y ··· 379 # CONFIG_ATA is not set 380 # CONFIG_MD is not set 381 CONFIG_NETDEVICES=y 382 + CONFIG_COMPAT_NET_DEV_OPS=y 383 # CONFIG_DUMMY is not set 384 # CONFIG_BONDING is not set 385 # CONFIG_MACVLAN is not set ··· 388 # CONFIG_PHYLIB is not set 389 CONFIG_NET_ETHERNET=y 390 # CONFIG_MII is not set 391 + # CONFIG_ETHOC is not set 392 # CONFIG_DNET is not set 393 # CONFIG_IBM_NEW_EMAC_ZMII is not set 394 # CONFIG_IBM_NEW_EMAC_RGMII is not set ··· 405 # 406 # CONFIG_WLAN_PRE80211 is not set 407 # CONFIG_WLAN_80211 is not set 408 409 # 410 # Enable WiMAX (Networking options) to see the WiMAX drivers ··· 455 CONFIG_LEGACY_PTY_COUNT=256 456 # CONFIG_IPMI_HANDLER is not set 457 CONFIG_HW_RANDOM=y 458 + # CONFIG_HW_RANDOM_TIMERIOMEM is not set 459 # CONFIG_RTC is not set 460 # CONFIG_GEN_RTC is not set 461 # CONFIG_R3964 is not set ··· 525 # 526 527 # 528 + # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may 529 # 530 # CONFIG_USB_GADGET is not set 531 ··· 538 # CONFIG_ACCESSIBILITY is not set 539 # CONFIG_RTC_CLASS is not set 540 # CONFIG_DMADEVICES is not set 541 + # CONFIG_AUXDISPLAY is not set 542 # CONFIG_UIO is not set 543 # CONFIG_STAGING is not set 544 ··· 561 # CONFIG_AUTOFS_FS is not set 562 # CONFIG_AUTOFS4_FS is not set 563 # CONFIG_FUSE_FS is not set 564 + 565 + # 566 + # Caches 567 + # 568 + # CONFIG_FSCACHE is not set 569 570 # 571 # CD-ROM/DVD Filesystems ··· 601 # CONFIG_HPFS_FS is not set 602 # CONFIG_QNX4FS_FS is not set 603 CONFIG_ROMFS_FS=y 604 + CONFIG_ROMFS_BACKED_BY_BLOCK=y 605 + # CONFIG_ROMFS_BACKED_BY_MTD is not set 606 + # CONFIG_ROMFS_BACKED_BY_BOTH is not set 607 + CONFIG_ROMFS_ON_BLOCK=y 608 # CONFIG_SYSV_FS is not set 609 # CONFIG_UFS_FS is not set 610 + # CONFIG_NILFS2_FS is not set 611 CONFIG_NETWORK_FILESYSTEMS=y 612 CONFIG_NFS_FS=y 613 CONFIG_NFS_V3=y ··· 614 CONFIG_NFS_ACL_SUPPORT=y 615 CONFIG_NFS_COMMON=y 616 CONFIG_SUNRPC=y 617 # CONFIG_RPCSEC_GSS_KRB5 is not set 618 # CONFIG_RPCSEC_GSS_SPKM3 is not set 619 # CONFIG_SMB_FS is not set ··· 647 CONFIG_DETECT_SOFTLOCKUP=y 648 CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y 649 CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1 650 + CONFIG_DETECT_HUNG_TASK=y 651 + # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set 652 + CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 653 CONFIG_SCHED_DEBUG=y 654 CONFIG_SCHEDSTATS=y 655 CONFIG_TIMER_STATS=y ··· 678 # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set 679 # CONFIG_FAULT_INJECTION is not set 680 CONFIG_SYSCTL_SYSCALL_CHECK=y 681 + # CONFIG_PAGE_POISONING is not set 682 + # CONFIG_DYNAMIC_DEBUG is not set 683 # CONFIG_SAMPLES is not set 684 CONFIG_EARLY_PRINTK=y 685 CONFIG_HEART_BEAT=y ··· 777 # Compression 778 # 779 # CONFIG_CRYPTO_DEFLATE is not set 780 + # CONFIG_CRYPTO_ZLIB is not set 781 # CONFIG_CRYPTO_LZO is not set 782 783 # ··· 784 # 785 # CONFIG_CRYPTO_ANSI_CPRNG is not set 786 CONFIG_CRYPTO_HW=y 787 + # CONFIG_BINARY_PRINTF is not set 788 789 # 790 # Library routines ··· 797 # CONFIG_CRC7 is not set 798 # CONFIG_LIBCRC32C is not set 799 CONFIG_ZLIB_INFLATE=y 800 CONFIG_HAS_IOMEM=y 801 CONFIG_HAS_IOPORT=y 802 CONFIG_HAS_DMA=y 803 CONFIG_HAVE_LMB=y 804 + CONFIG_NLATTR=y
+2 -2
arch/microblaze/kernel/intc.c
··· 137 138 intr_type = 139 *(int *) of_get_property(intc, "xlnx,kind-of-intr", NULL); 140 - if (intr_type >= (1 << nr_irq)) 141 - printk(KERN_INFO " ERROR: Mishmash in king-of-intr param\n"); 142 143 #ifdef CONFIG_SELFMOD_INTC 144 selfmod_function((int *) arr_func, intc_baseaddr);
··· 137 138 intr_type = 139 *(int *) of_get_property(intc, "xlnx,kind-of-intr", NULL); 140 + if (intr_type >= (1 << (nr_irq + 1))) 141 + printk(KERN_INFO " ERROR: Mismatch in kind-of-intr param\n"); 142 143 #ifdef CONFIG_SELFMOD_INTC 144 selfmod_function((int *) arr_func, intc_baseaddr);