Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] Fix incorrect return value from ia64_setup_msi_irq()
[IA64] arch/ia64/sn/kernel/mca.c: undo lock when sn_oemdata can't be extended
[IA64] update sn2 defconfig to 64kb pages
[IA64] fix typo in per_cpu_offset
[IA64] /proc/cpuinfo "physical id" field cleanups
[IA64] vDSO vs --build-id
[IA64] check-segrel.lds vs --build-id
[IA64] vmcore_find_descriptor_size should be in __init
[IA64] ia64/mm/init.c: fix section mismatches

+86 -106
+54 -52
arch/ia64/configs/sn2_defconfig
··· 1 1 # 2 2 # Automatically generated make config: don't edit 3 - # Linux kernel version: 2.6.23-rc6 4 - # Tue Sep 18 11:24:01 2007 3 + # Linux kernel version: 2.6.23 4 + # Thu Oct 18 16:03:40 2007 5 5 # 6 6 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 7 7 ··· 28 28 CONFIG_LOG_BUF_SHIFT=20 29 29 CONFIG_CGROUPS=y 30 30 CONFIG_CPUSETS=y 31 + CONFIG_FAIR_GROUP_SCHED=y 32 + CONFIG_FAIR_USER_SCHED=y 31 33 CONFIG_SYSFS_DEPRECATED=y 32 34 CONFIG_RELAY=y 33 35 CONFIG_BLK_DEV_INITRD=y ··· 50 48 CONFIG_ANON_INODES=y 51 49 CONFIG_EPOLL=y 52 50 CONFIG_SIGNALFD=y 53 - CONFIG_TIMERFD=y 54 51 CONFIG_EVENTFD=y 55 52 CONFIG_SHMEM=y 56 53 CONFIG_VM_EVENT_COUNTERS=y ··· 70 69 CONFIG_BLOCK=y 71 70 # CONFIG_BLK_DEV_IO_TRACE is not set 72 71 CONFIG_BLK_DEV_BSG=y 72 + CONFIG_BLOCK_COMPAT=y 73 73 74 74 # 75 75 # IO Schedulers ··· 95 93 CONFIG_RWSEM_XCHGADD_ALGORITHM=y 96 94 # CONFIG_ARCH_HAS_ILOG2_U32 is not set 97 95 # CONFIG_ARCH_HAS_ILOG2_U64 is not set 96 + CONFIG_HUGETLB_PAGE_SIZE_VARIABLE=y 98 97 CONFIG_GENERIC_FIND_NEXT_BIT=y 99 98 CONFIG_GENERIC_CALIBRATE_DELAY=y 100 99 CONFIG_GENERIC_TIME=y ··· 116 113 CONFIG_MCKINLEY=y 117 114 # CONFIG_IA64_PAGE_SIZE_4KB is not set 118 115 # CONFIG_IA64_PAGE_SIZE_8KB is not set 119 - CONFIG_IA64_PAGE_SIZE_16KB=y 120 - # CONFIG_IA64_PAGE_SIZE_64KB is not set 121 - # CONFIG_PGTABLE_3 is not set 122 - CONFIG_PGTABLE_4=y 116 + # CONFIG_IA64_PAGE_SIZE_16KB is not set 117 + CONFIG_IA64_PAGE_SIZE_64KB=y 118 + CONFIG_PGTABLE_3=y 119 + # CONFIG_PGTABLE_4 is not set 123 120 # CONFIG_HZ_100 is not set 124 121 CONFIG_HZ_250=y 125 122 # CONFIG_HZ_300 is not set ··· 134 131 CONFIG_NR_CPUS=1024 135 132 # CONFIG_HOTPLUG_CPU is not set 136 133 CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y 134 + CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y 137 135 CONFIG_SCHED_SMT=y 138 136 CONFIG_PREEMPT_NONE=y 139 137 # CONFIG_PREEMPT_VOLUNTARY is not set ··· 148 144 CONFIG_FLAT_NODE_MEM_MAP=y 149 145 CONFIG_NEED_MULTIPLE_NODES=y 150 146 # CONFIG_SPARSEMEM_STATIC is not set 147 + CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y 151 148 CONFIG_SPLIT_PTLOCK_CPUS=4 152 149 CONFIG_MIGRATION=y 153 150 CONFIG_RESOURCES_64BIT=y ··· 176 171 CONFIG_IA64_MC_ERR_INJECT=y 177 172 CONFIG_SGI_SN=y 178 173 # CONFIG_IA64_ESI is not set 174 + # CONFIG_IA64_HP_AML_NFW is not set 179 175 180 176 # 181 177 # SN Devices ··· 226 220 CONFIG_PCI_SYSCALL=y 227 221 CONFIG_PCIEPORTBUS=y 228 222 CONFIG_HOTPLUG_PCI_PCIE=y 229 - # CONFIG_HOTPLUG_PCI_PCIE_POLL_EVENT_MODE is not set 230 223 CONFIG_PCIEAER=y 231 224 CONFIG_ARCH_SUPPORTS_MSI=y 232 225 # CONFIG_PCI_MSI is not set ··· 236 231 # CONFIG_HOTPLUG_PCI_CPCI is not set 237 232 # CONFIG_HOTPLUG_PCI_SHPC is not set 238 233 CONFIG_HOTPLUG_PCI_SGI=y 239 - 240 - # 241 - # PCCARD (PCMCIA/CardBus) support 242 - # 243 234 # CONFIG_PCCARD is not set 244 235 245 236 # ··· 272 271 CONFIG_INET_XFRM_MODE_TRANSPORT=y 273 272 CONFIG_INET_XFRM_MODE_TUNNEL=y 274 273 CONFIG_INET_XFRM_MODE_BEET=y 274 + CONFIG_INET_LRO=y 275 275 CONFIG_INET_DIAG=m 276 276 CONFIG_INET_TCP_DIAG=m 277 277 # CONFIG_TCP_CONG_ADVANCED is not set ··· 344 342 # 345 343 # Generic Driver Options 346 344 # 345 + CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 347 346 CONFIG_STANDALONE=y 348 347 CONFIG_PREVENT_FIRMWARE_BUILD=y 349 348 CONFIG_FW_LOADER=y ··· 405 402 # IDE chipset support/bugfixes 406 403 # 407 404 CONFIG_IDE_GENERIC=y 405 + # CONFIG_BLK_DEV_PLATFORM is not set 408 406 # CONFIG_BLK_DEV_IDEPNP is not set 407 + 408 + # 409 + # PCI IDE chipsets support 410 + # 409 411 CONFIG_BLK_DEV_IDEPCI=y 410 412 CONFIG_IDEPCI_SHARE_IRQ=y 411 413 CONFIG_IDEPCI_PCIBUS_ORDER=y ··· 418 410 # CONFIG_BLK_DEV_GENERIC is not set 419 411 # CONFIG_BLK_DEV_OPTI621 is not set 420 412 CONFIG_BLK_DEV_IDEDMA_PCI=y 421 - # CONFIG_BLK_DEV_IDEDMA_FORCED is not set 422 - # CONFIG_IDEDMA_ONLYDISK is not set 423 413 # CONFIG_BLK_DEV_AEC62XX is not set 424 414 # CONFIG_BLK_DEV_ALI15X3 is not set 425 415 # CONFIG_BLK_DEV_AMD74XX is not set ··· 445 439 # CONFIG_BLK_DEV_TC86C001 is not set 446 440 # CONFIG_IDE_ARM is not set 447 441 CONFIG_BLK_DEV_IDEDMA=y 448 - # CONFIG_IDEDMA_IVB is not set 449 442 # CONFIG_BLK_DEV_HD is not set 450 443 451 444 # ··· 487 482 CONFIG_SCSI_SAS_LIBSAS=y 488 483 # CONFIG_SCSI_SAS_ATA is not set 489 484 # CONFIG_SCSI_SAS_LIBSAS_DEBUG is not set 485 + CONFIG_SCSI_SRP_ATTRS=y 490 486 CONFIG_SCSI_LOWLEVEL=y 491 487 CONFIG_ISCSI_TCP=m 492 488 # CONFIG_BLK_DEV_3W_XXXX_RAID is not set ··· 498 492 # CONFIG_SCSI_AIC7XXX_OLD is not set 499 493 # CONFIG_SCSI_AIC79XX is not set 500 494 # CONFIG_SCSI_AIC94XX is not set 495 + # CONFIG_SCSI_ADVANSYS is not set 501 496 # CONFIG_SCSI_ARCMSR is not set 502 497 # CONFIG_MEGARAID_NEWGEN is not set 503 498 # CONFIG_MEGARAID_LEGACY is not set ··· 539 532 # CONFIG_SATA_VIA is not set 540 533 CONFIG_SATA_VITESSE=y 541 534 # CONFIG_SATA_INIC162X is not set 535 + # CONFIG_PATA_ACPI is not set 542 536 # CONFIG_PATA_ALI is not set 543 537 # CONFIG_PATA_AMD is not set 544 538 # CONFIG_PATA_ARTOP is not set ··· 564 556 # CONFIG_PATA_OLDPIIX is not set 565 557 # CONFIG_PATA_NETCELL is not set 566 558 # CONFIG_PATA_NS87410 is not set 559 + # CONFIG_PATA_NS87415 is not set 567 560 # CONFIG_PATA_OPTI is not set 568 561 # CONFIG_PATA_OPTIDMA is not set 569 562 # CONFIG_PATA_PDC_OLD is not set ··· 597 588 CONFIG_DM_MULTIPATH_EMC=m 598 589 # CONFIG_DM_MULTIPATH_RDAC is not set 599 590 # CONFIG_DM_DELAY is not set 600 - 601 - # 602 - # Fusion MPT device support 603 - # 604 591 CONFIG_FUSION=y 605 592 CONFIG_FUSION_SPI=y 606 593 CONFIG_FUSION_FC=y ··· 618 613 # CONFIG_MACVLAN is not set 619 614 # CONFIG_EQUALIZER is not set 620 615 # CONFIG_TUN is not set 616 + # CONFIG_VETH is not set 621 617 # CONFIG_NET_SB1000 is not set 618 + # CONFIG_IP1000 is not set 622 619 # CONFIG_ARCNET is not set 623 620 # CONFIG_NET_ETHERNET is not set 624 621 CONFIG_NETDEV_1000=y 625 622 # CONFIG_ACENIC is not set 626 623 # CONFIG_DL2K is not set 627 624 # CONFIG_E1000 is not set 625 + # CONFIG_E1000E is not set 628 626 # CONFIG_NS83820 is not set 629 627 # CONFIG_HAMACHI is not set 630 628 # CONFIG_YELLOWFIN is not set ··· 646 638 CONFIG_CHELSIO_T1_1G=y 647 639 # CONFIG_CHELSIO_T1_NAPI is not set 648 640 CONFIG_CHELSIO_T3=m 641 + CONFIG_IXGBE=m 649 642 # CONFIG_IXGB is not set 650 643 CONFIG_S2IO=m 651 644 # CONFIG_S2IO_NAPI is not set 652 645 # CONFIG_MYRI10GE is not set 653 646 # CONFIG_NETXEN_NIC is not set 647 + # CONFIG_NIU is not set 654 648 # CONFIG_MLX4_CORE is not set 649 + # CONFIG_TEHUTI is not set 655 650 # CONFIG_TR is not set 656 651 657 652 # ··· 680 669 # CONFIG_NET_FC is not set 681 670 # CONFIG_SHAPER is not set 682 671 CONFIG_NETCONSOLE=y 672 + # CONFIG_NETCONSOLE_DYNAMIC is not set 683 673 CONFIG_NETPOLL=y 684 674 # CONFIG_NETPOLL_TRAP is not set 685 675 CONFIG_NET_POLL_CONTROLLER=y ··· 702 690 CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 703 691 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 704 692 # CONFIG_INPUT_JOYDEV is not set 705 - # CONFIG_INPUT_TSDEV is not set 706 693 # CONFIG_INPUT_EVDEV is not set 707 694 # CONFIG_INPUT_EVBUG is not set 708 695 ··· 725 714 # Character devices 726 715 # 727 716 CONFIG_VT=y 717 + # CONFIG_VT_UNICODE is not set 728 718 CONFIG_VT_CONSOLE=y 729 719 CONFIG_HW_CONSOLE=y 730 720 # CONFIG_VT_HW_CONSOLE_BINDING is not set ··· 772 760 CONFIG_EFI_RTC=y 773 761 # CONFIG_R3964 is not set 774 762 # CONFIG_APPLICOM is not set 775 - CONFIG_AGP=y 776 - CONFIG_AGP_SGI_TIOCA=y 777 - # CONFIG_DRM is not set 778 763 CONFIG_RAW_DRIVER=m 779 764 CONFIG_MAX_RAW_DEVS=256 780 765 # CONFIG_HPET is not set ··· 791 782 # CONFIG_HWMON is not set 792 783 793 784 # 785 + # Sonics Silicon Backplane 786 + # 787 + CONFIG_SSB_POSSIBLE=y 788 + # CONFIG_SSB is not set 789 + 790 + # 794 791 # Multifunction device drivers 795 792 # 796 793 # CONFIG_MFD_SM501 is not set ··· 811 796 # 812 797 # Graphics support 813 798 # 799 + CONFIG_AGP=y 800 + CONFIG_AGP_SGI_TIOCA=y 801 + # CONFIG_DRM is not set 802 + # CONFIG_VGASTATE is not set 803 + CONFIG_VIDEO_OUTPUT_CONTROL=m 804 + # CONFIG_FB is not set 814 805 # CONFIG_BACKLIGHT_LCD_SUPPORT is not set 815 806 816 807 # 817 808 # Display device support 818 809 # 819 810 # CONFIG_DISPLAY_SUPPORT is not set 820 - # CONFIG_VGASTATE is not set 821 - CONFIG_VIDEO_OUTPUT_CONTROL=m 822 - # CONFIG_FB is not set 823 811 824 812 # 825 813 # Console display driver support ··· 838 820 CONFIG_HID_SUPPORT=y 839 821 CONFIG_HID=y 840 822 CONFIG_HID_DEBUG=y 823 + # CONFIG_HIDRAW is not set 841 824 842 825 # 843 826 # USB Input Devices ··· 970 951 # CONFIG_RTC_CLASS is not set 971 952 972 953 # 973 - # DMA Engine support 974 - # 975 - # CONFIG_DMA_ENGINE is not set 976 - 977 - # 978 - # DMA Clients 979 - # 980 - 981 - # 982 - # DMA Devices 983 - # 984 - 985 - # 986 954 # Userspace I/O 987 955 # 988 956 # CONFIG_UIO is not set ··· 1011 1005 CONFIG_INOTIFY=y 1012 1006 CONFIG_INOTIFY_USER=y 1013 1007 CONFIG_QUOTA=y 1008 + CONFIG_QUOTA_NETLINK_INTERFACE=y 1009 + CONFIG_PRINT_QUOTA_WARNING=y 1014 1010 # CONFIG_QFMT_V1 is not set 1015 1011 # CONFIG_QFMT_V2 is not set 1016 1012 CONFIG_QUOTACTL=y ··· 1051 1043 # CONFIG_TMPFS_POSIX_ACL is not set 1052 1044 CONFIG_HUGETLBFS=y 1053 1045 CONFIG_HUGETLB_PAGE=y 1054 - CONFIG_RAMFS=y 1055 1046 # CONFIG_CONFIGFS_FS is not set 1056 1047 1057 1048 # ··· 1069 1062 # CONFIG_QNX4FS_FS is not set 1070 1063 # CONFIG_SYSV_FS is not set 1071 1064 # CONFIG_UFS_FS is not set 1072 - 1073 - # 1074 - # Network File Systems 1075 - # 1065 + CONFIG_NETWORK_FILESYSTEMS=y 1076 1066 CONFIG_NFS_FS=m 1077 1067 CONFIG_NFS_V3=y 1078 1068 # CONFIG_NFS_V3_ACL is not set ··· 1086 1082 CONFIG_NFS_COMMON=y 1087 1083 CONFIG_SUNRPC=m 1088 1084 CONFIG_SUNRPC_GSS=m 1085 + CONFIG_SUNRPC_XPRT_RDMA=m 1089 1086 # CONFIG_SUNRPC_BIND34 is not set 1090 1087 CONFIG_RPCSEC_GSS_KRB5=m 1091 1088 # CONFIG_RPCSEC_GSS_SPKM3 is not set ··· 1123 1118 # CONFIG_KARMA_PARTITION is not set 1124 1119 CONFIG_EFI_PARTITION=y 1125 1120 # CONFIG_SYSV68_PARTITION is not set 1126 - 1127 - # 1128 - # Native Language Support 1129 - # 1130 1121 CONFIG_NLS=y 1131 1122 CONFIG_NLS_DEFAULT="iso8859-1" 1132 1123 CONFIG_NLS_CODEPAGE_437=y ··· 1163 1162 # CONFIG_NLS_KOI8_R is not set 1164 1163 # CONFIG_NLS_KOI8_U is not set 1165 1164 CONFIG_NLS_UTF8=y 1166 - 1167 - # 1168 - # Distributed Lock Manager 1169 - # 1170 1165 # CONFIG_DLM is not set 1171 1166 1172 1167 # ··· 1220 1223 # CONFIG_DEBUG_VM is not set 1221 1224 # CONFIG_DEBUG_LIST is not set 1222 1225 CONFIG_FORCED_INLINING=y 1226 + # CONFIG_BOOT_PRINTK_DELAY is not set 1223 1227 # CONFIG_RCU_TORTURE_TEST is not set 1224 1228 # CONFIG_FAULT_INJECTION is not set 1225 1229 CONFIG_IA64_GRANULE_16MB=y ··· 1236 1238 # 1237 1239 # CONFIG_KEYS is not set 1238 1240 # CONFIG_SECURITY is not set 1241 + # CONFIG_SECURITY_FILE_CAPABILITIES is not set 1239 1242 CONFIG_XOR_BLOCKS=y 1240 1243 CONFIG_ASYNC_CORE=y 1241 1244 CONFIG_ASYNC_MEMCPY=y ··· 1261 1262 CONFIG_CRYPTO_CBC=m 1262 1263 CONFIG_CRYPTO_PCBC=m 1263 1264 # CONFIG_CRYPTO_LRW is not set 1265 + # CONFIG_CRYPTO_XTS is not set 1264 1266 # CONFIG_CRYPTO_CRYPTD is not set 1265 1267 CONFIG_CRYPTO_DES=m 1266 1268 # CONFIG_CRYPTO_FCRYPT is not set ··· 1275 1275 # CONFIG_CRYPTO_ARC4 is not set 1276 1276 # CONFIG_CRYPTO_KHAZAD is not set 1277 1277 # CONFIG_CRYPTO_ANUBIS is not set 1278 + # CONFIG_CRYPTO_SEED is not set 1278 1279 CONFIG_CRYPTO_DEFLATE=m 1279 1280 # CONFIG_CRYPTO_MICHAEL_MIC is not set 1280 1281 CONFIG_CRYPTO_CRC32C=m 1281 1282 # CONFIG_CRYPTO_CAMELLIA is not set 1282 1283 # CONFIG_CRYPTO_TEST is not set 1284 + # CONFIG_CRYPTO_AUTHENC is not set 1283 1285 # CONFIG_CRYPTO_HW is not set
+1 -1
arch/ia64/kernel/efi.c
··· 1231 1231 1232 1232 #ifdef CONFIG_PROC_VMCORE 1233 1233 /* locate the size find a the descriptor at a certain address */ 1234 - unsigned long 1234 + unsigned long __init 1235 1235 vmcore_find_descriptor_size (unsigned long address) 1236 1236 { 1237 1237 void *efi_map_start, *efi_map_end, *p;
+3
arch/ia64/kernel/gate.lds.S
··· 20 20 .gnu.version_d : { *(.gnu.version_d) } 21 21 .gnu.version_r : { *(.gnu.version_r) } 22 22 23 + .note : { *(.note*) } :readable :note 24 + 23 25 .dynamic : { *(.dynamic) } :readable :dynamic 24 26 25 27 /* ··· 85 83 epc PT_LOAD FILEHDR PHDRS FLAGS(1); /* PF_X */ 86 84 #endif 87 85 dynamic PT_DYNAMIC FLAGS(4); /* PF_R */ 86 + note PT_NOTE FLAGS(4); /* PF_R */ 88 87 unwind PT_IA_64_UNWIND; 89 88 } 90 89
+1 -1
arch/ia64/kernel/msi_ia64.c
··· 109 109 write_msi_msg(irq, &msg); 110 110 set_irq_chip_and_handler(irq, &ia64_msi_chip, handle_edge_irq); 111 111 112 - return irq; 112 + return 0; 113 113 } 114 114 115 115 void ia64_teardown_msi_irq(unsigned int irq)
+8 -41
arch/ia64/kernel/setup.c
··· 417 417 #endif 418 418 } 419 419 420 - #ifdef CONFIG_SMP 421 - static void __init 422 - check_for_logical_procs (void) 423 - { 424 - pal_logical_to_physical_t info; 425 - s64 status; 426 - 427 - status = ia64_pal_logical_to_phys(0, &info); 428 - if (status == -1) { 429 - printk(KERN_INFO "No logical to physical processor mapping " 430 - "available\n"); 431 - return; 432 - } 433 - if (status) { 434 - printk(KERN_ERR "ia64_pal_logical_to_phys failed with %ld\n", 435 - status); 436 - return; 437 - } 438 - /* 439 - * Total number of siblings that BSP has. Though not all of them 440 - * may have booted successfully. The correct number of siblings 441 - * booted is in info.overview_num_log. 442 - */ 443 - smp_num_siblings = info.overview_tpc; 444 - smp_num_cpucores = info.overview_cpp; 445 - } 446 - #endif 447 - 448 420 static __initdata int nomca; 449 421 static __init int setup_nomca(char *s) 450 422 { ··· 512 540 513 541 #ifdef CONFIG_SMP 514 542 cpu_physical_id(0) = hard_smp_processor_id(); 515 - check_for_logical_procs(); 516 - if (smp_num_cpucores > 1) 517 - printk(KERN_INFO 518 - "cpu package is Multi-Core capable: number of cores=%d\n", 519 - smp_num_cpucores); 520 - if (smp_num_siblings > 1) 521 - printk(KERN_INFO 522 - "cpu package is Multi-Threading capable: number of siblings=%d\n", 523 - smp_num_siblings); 524 543 #endif 525 544 526 545 cpu_init(); /* initialize the bootstrap CPU */ ··· 624 661 lpj*HZ/500000, (lpj*HZ/5000) % 100); 625 662 #ifdef CONFIG_SMP 626 663 seq_printf(m, "siblings : %u\n", cpus_weight(cpu_core_map[cpunum])); 664 + if (c->socket_id != -1) 665 + seq_printf(m, "physical id: %u\n", c->socket_id); 627 666 if (c->threads_per_core > 1 || c->cores_per_socket > 1) 628 667 seq_printf(m, 629 - "physical id: %u\n" 630 - "core id : %u\n" 631 - "thread id : %u\n", 632 - c->socket_id, c->core_id, c->thread_id); 668 + "core id : %u\n" 669 + "thread id : %u\n", 670 + c->core_id, c->thread_id); 633 671 #endif 634 672 seq_printf(m,"\n"); 635 673 ··· 742 778 c->socket_id = -1; 743 779 744 780 identify_siblings(c); 781 + 782 + if (c->threads_per_core > smp_num_siblings) 783 + smp_num_siblings = c->threads_per_core; 745 784 #endif 746 785 c->ppn = cpuid.field.ppn; 747 786 c->number = cpuid.field.number;
+14 -7
arch/ia64/kernel/smpboot.c
··· 142 142 EXPORT_PER_CPU_SYMBOL(cpu_sibling_map); 143 143 144 144 int smp_num_siblings = 1; 145 - int smp_num_cpucores = 1; 146 145 147 146 /* which logical CPU number maps to which CPU (physical APIC ID) */ 148 147 volatile int ia64_cpu_to_sapicid[NR_CPUS]; ··· 885 886 u16 pltid; 886 887 pal_logical_to_physical_t info; 887 888 888 - if (smp_num_cpucores == 1 && smp_num_siblings == 1) 889 - return; 890 - 891 889 if ((status = ia64_pal_logical_to_phys(-1, &info)) != PAL_STATUS_SUCCESS) { 892 - printk(KERN_ERR "ia64_pal_logical_to_phys failed with %ld\n", 893 - status); 894 - return; 890 + if (status != PAL_STATUS_UNIMPLEMENTED) { 891 + printk(KERN_ERR 892 + "ia64_pal_logical_to_phys failed with %ld\n", 893 + status); 894 + return; 895 + } 896 + 897 + info.overview_ppid = 0; 898 + info.overview_cpp = 1; 899 + info.overview_tpc = 1; 895 900 } 896 901 if ((status = ia64_sal_physical_id_info(&pltid)) != PAL_STATUS_SUCCESS) { 897 902 printk(KERN_ERR "ia64_sal_pltid failed with %ld\n", status); ··· 903 900 } 904 901 905 902 c->socket_id = (pltid << 8) | info.overview_ppid; 903 + 904 + if (info.overview_cpp == 1 && info.overview_tpc == 1) 905 + return; 906 + 906 907 c->cores_per_socket = info.overview_cpp; 907 908 c->threads_per_core = info.overview_tpc; 908 909 c->num_log = info.overview_num_log;
+2 -2
arch/ia64/mm/init.c
··· 472 472 unsigned long zone; 473 473 }; 474 474 475 - static int 475 + static int __meminit 476 476 virtual_memmap_init (u64 start, u64 end, void *arg) 477 477 { 478 478 struct memmap_init_callback_data *args; ··· 503 503 return 0; 504 504 } 505 505 506 - void 506 + void __meminit 507 507 memmap_init (unsigned long size, int nid, unsigned long zone, 508 508 unsigned long start_pfn) 509 509 {
+1
arch/ia64/scripts/check-segrel.lds
··· 1 1 SECTIONS { 2 2 . = SIZEOF_HEADERS; 3 3 .rodata : { *(.rodata) } :ro 4 + .note : { *(.note*) } 4 5 . = 0xa0000; 5 6 .data : { *(.data) } :dat 6 7 /DISCARD/ : { *(*) }
+1
arch/ia64/sn/kernel/mca.c
··· 98 98 while (*sn_oemdata_size > sn_oemdata_bufsize) { 99 99 u8 *newbuf = vmalloc(*sn_oemdata_size); 100 100 if (!newbuf) { 101 + mutex_unlock(&sn_oemdata_mutex); 101 102 printk(KERN_ERR "%s: unable to extend sn_oemdata\n", 102 103 __FUNCTION__); 103 104 return 1;
+1 -1
include/asm-ia64/percpu.h
··· 46 46 #ifdef CONFIG_SMP 47 47 48 48 extern unsigned long __per_cpu_offset[NR_CPUS]; 49 - #define per_cpu_offset(x) (__per_cpu_offset(x)) 49 + #define per_cpu_offset(x) (__per_cpu_offset[x]) 50 50 51 51 /* Equal to __per_cpu_offset[smp_processor_id()], but faster to access: */ 52 52 DECLARE_PER_CPU(unsigned long, local_per_cpu_offset);
-1
include/asm-ia64/smp.h
··· 60 60 extern cpumask_t cpu_core_map[NR_CPUS]; 61 61 DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); 62 62 extern int smp_num_siblings; 63 - extern int smp_num_cpucores; 64 63 extern void __iomem *ipi_base_addr; 65 64 extern unsigned char smp_int_redirect; 66 65