From: Paul Mundt Date: Sun, 14 Jun 2009 12:34:26 +0000 (+0900) Subject: sh: Convert to asm-generic/current.h. X-Git-Tag: firefly_0821_release~13729^2~31 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4822994a238b44ab5d162243077fe6273171fbab;p=firefly-linux-kernel-4.4.55.git sh: Convert to asm-generic/current.h. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/include/asm/current.h b/arch/sh/include/asm/current.h index 62b63880b333..4c51401b5537 100644 --- a/arch/sh/include/asm/current.h +++ b/arch/sh/include/asm/current.h @@ -1,20 +1 @@ -#ifndef __ASM_SH_CURRENT_H -#define __ASM_SH_CURRENT_H - -/* - * Copyright (C) 1999 Niibe Yutaka - * - */ - -#include - -struct task_struct; - -static __inline__ struct task_struct * get_current(void) -{ - return current_thread_info()->task; -} - -#define current get_current() - -#endif /* __ASM_SH_CURRENT_H */ +#include