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