Commit 1eaf198d authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: math-emu: Cleanup stdarg usage including apparently bogus comment.

parent 08f1faa0
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -28,6 +28,7 @@
 * ########################################################################
 * ########################################################################
 */
 */


#include <stdarg.h>
#include <linux/compiler.h>
#include <linux/compiler.h>


#include "ieee754int.h"
#include "ieee754int.h"
+1 −8
Original line number Original line Diff line number Diff line
@@ -24,6 +24,7 @@
#ifndef __ARCH_MIPS_MATH_EMU_IEEE754_H
#ifndef __ARCH_MIPS_MATH_EMU_IEEE754_H
#define __ARCH_MIPS_MATH_EMU_IEEE754_H
#define __ARCH_MIPS_MATH_EMU_IEEE754_H


#include <stdarg.h>
#include <linux/compiler.h>
#include <linux/compiler.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
@@ -31,14 +32,6 @@
#include <linux/sched.h>
#include <linux/sched.h>
#include <asm/bitfield.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 {
struct ieee754dp_const {
	__BITFIELD_FIELD(unsigned sign:1,
	__BITFIELD_FIELD(unsigned sign:1,
	__BITFIELD_FIELD(unsigned bexp:11,
	__BITFIELD_FIELD(unsigned bexp:11,
+1 −0
Original line number Original line Diff line number Diff line
@@ -23,6 +23,7 @@
 * ########################################################################
 * ########################################################################
 */
 */


#include <stdarg.h>
#include <linux/compiler.h>
#include <linux/compiler.h>


#include "ieee754dp.h"
#include "ieee754dp.h"
+1 −0
Original line number Original line Diff line number Diff line
@@ -23,6 +23,7 @@
 * ########################################################################
 * ########################################################################
 */
 */


#include <stdarg.h>
#include <linux/compiler.h>
#include <linux/compiler.h>


#include "ieee754sp.h"
#include "ieee754sp.h"