• Andrew Morton's avatar
    [PATCH] sqrt() fixes · e44db7e2
    Andrew Morton authored
    It turns out that the int_sqrt() function in oom_kill.c gets it wrong.
    
    But fb_sqrt() in fbmon.c gets its math right.  Move that function into
    lib/int_sqrt.c, and consolidate.
    
    (oom_kill.c fix from Thomas Schlichter <schlicht@uni-mannheim.de>)
    e44db7e2
fbmon.c 30.6 KB