Commit cad3b624 authored by James Hogan's avatar James Hogan Committed by Ralf Baechle
Browse files

MIPS: use generic-y where possible



Use generic-y and remove headers in arch/mips/include/[uapi/]asm/Kbuild
where the header just includes or is identical to the corresponding
<asm-generic/*.h>.

We can't do the same for uapi/asm/kvm_para.h because it's presence is
explicitly checked in include/uapi/linux/Kbuild to decide whether to add
kvm_para.h to header-y.

Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Dave Jones <davej@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: David Sharp <dhsharp@google.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/5581/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 774b6175
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
# MIPS headers
generic-y += cputime.h
generic-y += current.h
generic-y += emergency-restart.h
generic-y += local64.h
generic-y += mutex.h
generic-y += parport.h
generic-y += percpu.h
generic-y += scatterlist.h
generic-y += sections.h
generic-y += segment.h
generic-y += serial.h
generic-y += trace_clock.h
generic-y += ucontext.h
generic-y += xor.h

arch/mips/include/asm/cputime.h

deleted100644 → 0
+0 −6
Original line number Diff line number Diff line
#ifndef __MIPS_CPUTIME_H
#define __MIPS_CPUTIME_H

#include <asm-generic/cputime.h>

#endif /* __MIPS_CPUTIME_H */

arch/mips/include/asm/current.h

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
#include <asm-generic/current.h>
+0 −6
Original line number Diff line number Diff line
#ifndef _ASM_EMERGENCY_RESTART_H
#define _ASM_EMERGENCY_RESTART_H

#include <asm-generic/emergency-restart.h>

#endif /* _ASM_EMERGENCY_RESTART_H */

arch/mips/include/asm/local64.h

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
#include <asm-generic/local64.h>
Loading