arch/um/include/asm/fpu/api.h

Source file repositories/reference/linux-study-clean/arch/um/include/asm/fpu/api.h

File Facts

System
Linux kernel
Corpus path
arch/um/include/asm/fpu/api.h
Extension
.h
Size
473 bytes
Lines
23
Domain
Architecture Layer
Bucket
arch/um
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

#ifndef _ASM_UM_FPU_API_H
#define _ASM_UM_FPU_API_H

#include <linux/types.h>

/* Copyright (c) 2020 Cambridge Greys Ltd
 * Copyright (c) 2020 Red Hat Inc.
 * A set of "dummy" defines to allow the direct inclusion
 * of x86 optimized copy, xor, etc routines into the
 * UML code tree. */

#define kernel_fpu_begin() (void)0
#define kernel_fpu_end() (void)0

static inline bool irq_fpu_usable(void)
{
	return true;
}


#endif

Annotation

Implementation Notes