• Kumar Gala's avatar
    powerpc/math-emu: Use kernel generic math-emu code · d2b194ed
    Kumar Gala authored
    The math emulation code is centered around a set of generic macros that
    provide the core of the emulation that are shared by the various
    architectures and other projects (like glibc).  Each arch implements its
    own sfp-machine.h to specific various arch specific details.
    
    For historic reasons that are now lost the powerpc math-emu code had
    its own version of the common headers.  This moves us to using the
    kernel generic version and thus getting fixes when those are updated.
    
    Also cleaned up exception/error reporting from the FP emulation functions.
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    d2b194ed
math.c 11.9 KB