summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/ieee754.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-20 01:20:08 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 15:11:12 +0200
commit1eaf198d3aee7b71a5deb9dca45481a706381f80 (patch)
tree7bffd970c23b1ccc7204258a45655cc6137bb8a6 /arch/mips/math-emu/ieee754.h
parent08f1faa02ae5e513b10d6e44967a22dc20307158 (diff)
downloadlinux-stable-1eaf198d3aee7b71a5deb9dca45481a706381f80.tar.gz
linux-stable-1eaf198d3aee7b71a5deb9dca45481a706381f80.tar.bz2
linux-stable-1eaf198d3aee7b71a5deb9dca45481a706381f80.zip
MIPS: math-emu: Cleanup stdarg usage including apparently bogus comment.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754.h')
-rw-r--r--arch/mips/math-emu/ieee754.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/mips/math-emu/ieee754.h b/arch/mips/math-emu/ieee754.h
index 952c1808b568..6d9a89051b27 100644
--- a/arch/mips/math-emu/ieee754.h
+++ b/arch/mips/math-emu/ieee754.h
@@ -24,6 +24,7 @@
#ifndef __ARCH_MIPS_MATH_EMU_IEEE754_H
#define __ARCH_MIPS_MATH_EMU_IEEE754_H
+#include <stdarg.h>
#include <linux/compiler.h>
#include <asm/byteorder.h>
#include <linux/kernel.h>
@@ -31,14 +32,6 @@
#include <linux/sched.h>
#include <asm/bitfield.h>
-/*
- * Not very pretty, but the Linux kernel's normal va_list definition
- * does not allow it to be used as a structure element, as it is here.
- */
-#ifndef _STDARG_H
-#include <stdarg.h>
-#endif
-
struct ieee754dp_const {
__BITFIELD_FIELD(unsigned sign:1,
__BITFIELD_FIELD(unsigned bexp:11,