Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • include
  • asm-i386
  • smp.h
Find file Blame History Permalink
  • Ashok Raj's avatar
    [PATCH] make smp_prepare_cpu to a weak function · 52a119fe
    Ashok Raj authored Jun 25, 2005
    
    
    I really wish smp_prepare_cpu() would disappear eventually.  In the interim
    this is ideally a weak function, so we dont end up changing several places
    to define this dummy in headers.
    
    Today since the dummy declaration is done only in drivers/base/cpu.c but
    the function is called in kernel/power/smp.c i get undefined reference in
    my cpu hotplug code for x86_64 under development.
    
    Signed-off-by: default avatarAshok Raj <ashok.raj@intel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    52a119fe