1. 29 Oct, 2007 5 commits
    • Alex Chiang's avatar
      [IA64] /proc/cpuinfo "physical id" field cleanups · 113134fc
      Alex Chiang authored
      Clean up the process for presenting the "physical id" field in
      /proc/cpuinfo.
      
      	- remove global smp_num_cpucores, as it is mostly useless
      
      	- remove check_for_logical_procs(), since we do the same
      	  functionality in identify_siblings()
      
      	- reflow logic in identify_siblings(). If an older CPU
      	  does not implement PAL_LOGICAL_TO_PHYSICAL, we may still
      	  be able to get useful information from SAL_PHYSICAL_ID_INFO
      
      	- in identify_siblings(), threads/cores are a property of
      	  the CPU, not the platform
      
      	- remove useless printk's about multi-core / thread
      	  capability in identify_siblings(), as that information
      	  is readily available in /proc/cpuinfo, and printing for
      	  the BSP only adds little value
      
      	- smp_num_siblings is now meaningful if any CPU in the
      	  system supports threads, not just the BSP
      
      	- expose "physical id" field, even on CPUs that are not
      	  multi-core / multi-threaded (as long as we have a valid
      	  value). Now we know what sockets Madisons live in too.
      Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      113134fc
    • Roland McGrath's avatar
      [IA64] vDSO vs --build-id · 172c5106
      Roland McGrath authored
      When gcc uses --build-id by default, the gate.lds.S linker script runs afoul
      of the new note section and produces a bad DSO image.  This fixes it.
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      172c5106
    • Roland McGrath's avatar
      [IA64] check-segrel.lds vs --build-id · d650c37b
      Roland McGrath authored
      Some versions of ld with --build-id support will crash when using the flag
      with a linker script that discards notes.  This bites ia64's check-segrel.lds.
      The bug is easy to avoid.
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      d650c37b
    • Simon Horman's avatar
      [IA64] vmcore_find_descriptor_size should be in __init · 1775fe85
      Simon Horman authored
      vmcore_find_descriptor_size() is only called by
      reserve_elfcorehdr(), which is in __init, so it seems to me that
      vmcore_find_descriptor_size() should be there too.
      Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      1775fe85
    • Adrian Bunk's avatar
      [IA64] ia64/mm/init.c: fix section mismatches · 18b8befd
      Adrian Bunk authored
      This patch fixes the following section mismatches:
      
      <--  snip  -->
      
      ...
      WARNING: vmlinux.o(.text+0x5b5c2): Section mismatch: reference to .init.text:memmap_init_zone (between 'memmap_init' and 'virtual_memmap_init')
      WARNING: vmlinux.o(.text+0x5b842): Section mismatch: reference to .init.text:memmap_init_zone (between 'virtual_memmap_init' and 'ia64_mmu_init')
      ...
      
      <--  snip  -->
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      18b8befd
  2. 28 Oct, 2007 8 commits
  3. 27 Oct, 2007 27 commits