1f9bac91bSBenno Rice 2c3e289e1SNathan Whitehorn#ifdef __powerpc64__ 3c3e289e1SNathan Whitehorn#include <powerpc/aim/locore64.S> 4c3e289e1SNathan Whitehorn#else 5c3e289e1SNathan Whitehorn#include <powerpc/aim/locore32.S> 6c3e289e1SNathan Whitehorn#endif 7f9bac91bSBenno Rice 8cbc3c68dSJustin Hibbits/* 9cbc3c68dSJustin Hibbits * XXX: This should be moved to a shared AIM/booke asm file, if one ever is 10cbc3c68dSJustin Hibbits * created. 11cbc3c68dSJustin Hibbits */ 12cbc3c68dSJustin HibbitsENTRY(get_spr) 13cbc3c68dSJustin Hibbits mfspr %r3, 0 14cbc3c68dSJustin Hibbits blr 15*78599c32SConrad MeyerEND(get_spr) 16