arch/sh/kernel/cpu/fpu.c

Source file repositories/reference/linux-study-clean/arch/sh/kernel/cpu/fpu.c

File Facts

System
Linux kernel
Corpus path
arch/sh/kernel/cpu/fpu.c
Extension
.c
Size
1821 bytes
Lines
93
Domain
Architecture Layer
Bucket
arch/sh
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

if (ret) {
			/*
			 * ran out of memory!
			 */
			force_sig(SIGKILL);
			return;
		}
	}

	grab_fpu(regs);

	__fpu_state_restore();
}

BUILD_TRAP_HANDLER(fpu_state_restore)
{
	TRAP_HANDLER_DECL;

	fpu_state_restore(regs);
}
#endif /* CONFIG_SH_FPU */

Annotation

Implementation Notes