lkml.org 
[lkml]   [2015]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/10] MIPS: CPS: skip Config1 presence check
    Date
    The Config1 register is architecturally defined as required, and is thus
    present in all systems which may make use of cps-vec.S. Skip the check
    for its presence via the Config.M bit.

    Signed-off-by: Paul Burton <paul.burton@imgtec.com>
    ---

    arch/mips/kernel/cps-vec.S | 4 +---
    1 file changed, 1 insertion(+), 3 deletions(-)

    diff --git a/arch/mips/kernel/cps-vec.S b/arch/mips/kernel/cps-vec.S
    index 5407ce4..84af91a 100644
    --- a/arch/mips/kernel/cps-vec.S
    +++ b/arch/mips/kernel/cps-vec.S
    @@ -50,9 +50,7 @@
    * MT is not supported then branch to nomt.
    */
    .macro has_mt dest, nomt
    - mfc0 \dest, CP0_CONFIG
    - bgez \dest, \nomt
    - mfc0 \dest, CP0_CONFIG, 1
    + mfc0 \dest, CP0_CONFIG, 1
    bgez \dest, \nomt
    mfc0 \dest, CP0_CONFIG, 2
    bgez \dest, \nomt
    --
    2.5.3


    \
     
     \ /
      Last update: 2015-09-22 20:41    [W:3.054 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site