All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] h8300: Fix <asm/tlb.h>
@ 2013-05-07  9:52 Geert Uytterhoeven
  2013-05-12 11:50 ` Yoshinori Sato
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2013-05-07  9:52 UTC (permalink / raw)
  To: Yoshinori Sato; +Cc: linux-kernel, Geert Uytterhoeven

Ten years ago, a mismerge happened, concatenating two slightly different
versions of the same file. As a consequence, <asm-generic/tlb.h> was never
included, leading to a build failure only now:

kernel/cpu/idle.c: In function 'cpu_idle_loop':
kernel/cpu/idle.c:70:4: error: implicit declaration of function 'check_pgt_cache' [-Werror=implicit-function-declaration]

Remove the duplicates, and the header comment with the no longer correct
file name.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/h8300/include/asm/tlb.h |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/arch/h8300/include/asm/tlb.h b/arch/h8300/include/asm/tlb.h
index 3dea80a..7f07430 100644
--- a/arch/h8300/include/asm/tlb.h
+++ b/arch/h8300/include/asm/tlb.h
@@ -1,16 +1,3 @@
-/* 
-  include/asm-h8300/tlb.h 
-*/
-
-#ifndef __H8300_TLB_H__
-#define __H8300_TLB_H__
-
-#define tlb_flush(tlb)	do { } while(0)
-
-/* 
-  include/asm-h8300/tlb.h 
-*/
-
 #ifndef __H8300_TLB_H__
 #define __H8300_TLB_H__
 
@@ -19,5 +6,3 @@
 #include <asm-generic/tlb.h>
 
 #endif
-
-#endif
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] h8300: Fix <asm/tlb.h>
  2013-05-07  9:52 [PATCH] h8300: Fix <asm/tlb.h> Geert Uytterhoeven
@ 2013-05-12 11:50 ` Yoshinori Sato
  0 siblings, 0 replies; 2+ messages in thread
From: Yoshinori Sato @ 2013-05-12 11:50 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-kernel

At Tue,  7 May 2013 11:52:52 +0200,
Geert Uytterhoeven wrote:
> 
> Ten years ago, a mismerge happened, concatenating two slightly different
> versions of the same file. As a consequence, <asm-generic/tlb.h> was never
> included, leading to a build failure only now:
> 
> kernel/cpu/idle.c: In function 'cpu_idle_loop':
> kernel/cpu/idle.c:70:4: error: implicit declaration of function 'check_pgt_cache' [-Werror=implicit-function-declaration]
> 
> Remove the duplicates, and the header comment with the no longer correct
> file name.

Sorry. too late reply.
OK. I will fix my tree.
Thanks.
 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp>

> ---
>  arch/h8300/include/asm/tlb.h |   15 ---------------
>  1 files changed, 0 insertions(+), 15 deletions(-)
> 
> diff --git a/arch/h8300/include/asm/tlb.h b/arch/h8300/include/asm/tlb.h
> index 3dea80a..7f07430 100644
> --- a/arch/h8300/include/asm/tlb.h
> +++ b/arch/h8300/include/asm/tlb.h
> @@ -1,16 +1,3 @@
> -/* 
> -  include/asm-h8300/tlb.h 
> -*/
> -
> -#ifndef __H8300_TLB_H__
> -#define __H8300_TLB_H__
> -
> -#define tlb_flush(tlb)	do { } while(0)
> -
> -/* 
> -  include/asm-h8300/tlb.h 
> -*/
> -
>  #ifndef __H8300_TLB_H__
>  #define __H8300_TLB_H__
>  
> @@ -19,5 +6,3 @@
>  #include <asm-generic/tlb.h>
>  
>  #endif
> -
> -#endif
> -- 
> 1.7.0.4
> 

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-12 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-07  9:52 [PATCH] h8300: Fix <asm/tlb.h> Geert Uytterhoeven
2013-05-12 11:50 ` Yoshinori Sato

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.