MIPS: math-emu: Cleanup stdarg usage including apparently bogus comment.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 19 Apr 2014 23:20:08 +0000 (01:20 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 May 2014 13:11:12 +0000 (15:11 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/ieee754.c
arch/mips/math-emu/ieee754.h
arch/mips/math-emu/ieee754dp.c
arch/mips/math-emu/ieee754sp.c

index 68c2996..43a9a08 100644 (file)
@@ -28,6 +28,7 @@
  * ########################################################################
  */
 
+#include <stdarg.h>
 #include <linux/compiler.h>
 
 #include "ieee754int.h"
index 952c180..6d9a890 100644 (file)
@@ -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>
 #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,
index 53dbb1c..a8eb014 100644 (file)
@@ -23,6 +23,7 @@
  * ########################################################################
  */
 
+#include <stdarg.h>
 #include <linux/compiler.h>
 
 #include "ieee754dp.h"
index 955e474..ed62ffe 100644 (file)
@@ -23,6 +23,7 @@
  * ########################################################################
  */
 
+#include <stdarg.h>
 #include <linux/compiler.h>
 
 #include "ieee754sp.h"