summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/uapi/asm/udftrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/include/uapi/asm/udftrap.h')
-rw-r--r--arch/nds32/include/uapi/asm/udftrap.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/nds32/include/uapi/asm/udftrap.h b/arch/nds32/include/uapi/asm/udftrap.h
new file mode 100644
index 000000000000..433f79d679c0
--- /dev/null
+++ b/arch/nds32/include/uapi/asm/udftrap.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2005-2018 Andes Technology Corporation */
+#ifndef _ASM_SETFPUTRAP
+#define _ASM_SETFPUTRAP
+
+/*
+ * Options for setfputrap system call
+ */
+#define DISABLE_UDFTRAP 0 /* disable underflow exception trap */
+#define ENABLE_UDFTRAP 1 /* enable undeflos exception trap */
+#define GET_UDFTRAP 2 /* only get undeflos exception trap status */
+
+#endif /* _ASM_CACHECTL */
OpenPOWER on IntegriCloud