Subversion Repositories HelenOS-historic

Rev

Rev 906 | Rev 1060 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 906 Rev 935
Line 114... Line 114...
114
    if (!t->saved_fpu_context)
114
    if (!t->saved_fpu_context)
115
        return -1;
115
        return -1;
116
#  endif
116
#  endif
117
#endif  
117
#endif  
118
 
118
 
119
    pfn = frame_alloc_rc(ONE_FRAME, FRAME_KA | kmflags,&status);
119
    pfn = frame_alloc_rc(STACK_FRAMES, FRAME_KA | kmflags,&status);
120
    if (status) {
120
    if (status) {
121
#ifdef ARCH_HAS_FPU
121
#ifdef ARCH_HAS_FPU
122
        if (t->saved_fpu_context)
122
        if (t->saved_fpu_context)
123
            slab_free(fpu_context_slab,t->saved_fpu_context);
123
            slab_free(fpu_context_slab,t->saved_fpu_context);
124
#endif
124
#endif