MIPS: use generic current.h
PATCH 1/4 MIPS: use generic current.h
Signed-off-by Yoichi Yuasa <[email protected]>
--- arch/mips/include/asm/current.h | 24 +----------------------- 1 files changed, 1 insertions(+), 23 deletions(-)
arch/mips/include/asm/current.h +1 -23
@@ -1,23 +1 @@ -/* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 1998, 2002 Ralf Baechle -* Copyright (C) 1999 Silicon Graphics, Inc. -*/ -#ifndef _ASM_CURRENT_H -#define _ASM_CURRENT_H - -#include <linux/thread_info.h> - -struct task_struct ; - -static inline struct task_struct *get_current (void ) -{ -return current_thread_info ()->task; -} - -#define current get_current() - -#endif /* _ASM_CURRENT_H */ +#include <asm-generic/current.h>
Signature · 1 line
1.6.6.2
PATCH 2/4 MIPS: use generic parport.h
Signed-off-by Yoichi Yuasa <[email protected]>
--- arch/mips/include/asm/parport.h | 16 +--------------- 1 files changed, 1 insertions(+), 15 deletions(-)
arch/mips/include/asm/parport.h +1 -15
@@ -1,15 +1 @@ -/* -* Copyright (C) 1999, 2000 Tim Waugh <[email protected]> -* -* This file should only be included by drivers/parport/parport_pc.c. -*/ -#ifndef _ASM_PARPORT_H -#define _ASM_PARPORT_H - -static int __devinit parport_pc_find_isa_ports (int autoirq,int autodma); -static int __devinit parport_pc_find_nonpci_ports (int autoirq,int autodma) -{ -return parport_pc_find_isa_ports (autoirq, autodma); -} - -#endif /* _ASM_PARPORT_H */ +#include <asm-generic/parport.h>
Signature · 1 line
1.6.6.2
PATCH 3/4 MIPS: use generic serial.h
Signed-off-by Yoichi Yuasa <[email protected]>
--- arch/mips/include/asm/serial.h | 23 +---------------------- 1 files changed, 1 insertions(+), 22 deletions(-)
arch/mips/include/asm/serial.h +1 -22
@@ -1,22 +1 @@ -/* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 1999 by Ralf Baechle -* Copyright (C) 1999, 2000 Silicon Graphics, Inc. -*/ -#ifndef _ASM_SERIAL_H -#define _ASM_SERIAL_H - - -/* -* This assumes you have a 1.8432 MHz clock for your UART. -* -* It'd be nice if someone built a serial card with a 24.576 MHz -* clock, since the 16550A is capable of handling a top speed of 1.5 -* megabits/second; but this requires the faster clock. -*/ -#define BASE_BAUD (1843200 / 16) - -#endif /* _ASM_SERIAL_H */ +#include <asm-generic/serial.h>
Signature · 1 line
1.6.6.2
PATCH 4/4 MIPS: use generic ucontext.h
Signed-off-by Yoichi Yuasa <[email protected]>
--- arch/mips/include/asm/ucontext.h | 22 +--------------------- 1 files changed, 1 insertions(+), 21 deletions(-)
arch/mips/include/asm/ucontext.h +1 -21
@@ -1,21 +1 @@ -/* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Low level exception handling -* -* Copyright (C) 1998, 1999 by Ralf Baechle -*/ -#ifndef _ASM_UCONTEXT_H -#define _ASM_UCONTEXT_H - -struct ucontext { -unsigned long uc_flags; -struct ucontext *uc_link; -stack_t uc_stack; -struct sigcontext uc_mcontext; -sigset_t uc_sigmask;/* mask last for extensibility */ -}; - -#endif /* _ASM_UCONTEXT_H */ +#include <asm-generic/ucontext.h>
Signature · 1 line
1.6.6.2
Re: [PATCH -queue 4/4] MIPS: use generic ucontext.h
Thanks, queued for 2.6.34.
Ralf
Re: [PATCH -queue 3/4] MIPS: use generic serial.h
In reply to Yoichi YuasaThanks, queued for 2.6.34.
Ralf
Re: [PATCH -queue 2/4] MIPS: use generic parport.h
In reply to Yoichi YuasaThanks, queued for 2.6.34.
Ralf
On Fri, Feb 12, 2010 at 09:27:59PM +0900, Yoichi Yuasa wrote:
Thanks, queued for 2.6.34.
Ralf