Skip to content
  • Toshihiro HANAWA's avatar
    m32r: Fix IPI function calls for SMP · 0a3d31b7
    Toshihiro HANAWA authored
    This patch fixes the m32r SMP kernel after 2.6.27.
    
    A part of the following patch breaks m32r SMP operation.
    > m32r: convert to generic helpers for IPI function calls
    > commit 7b7426c8
    
    
    
    In the above patch, a CALL_FUNC_SINGLE_IPI was newly introduced,
    but the its IPI vector number was wrong in the patch code.
    
    The m32r SMP kernel hanged-up during boot operation, because
    the CPU_BOOT_IPI was called instead of CALL_FUNC_SINGLE_IPI
    (CPU_BOOT_IPI had no side effect at that time because the 2nd
    core had already been started up),
    as a result, csd_unlock() was not called, then a dead lock
    occurred in csd_lock_wait() after the detection of Compact Flash
    memory as IDE generic disk.
    
    Signed-off-by: default avatarToshihiro HANAWA <hanawa@ccs.tsukuba.ac.jp>
    Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
    0a3d31b7