From: Paul Gortmaker Date: Mon, 1 Aug 2011 17:42:48 +0000 (-0400) Subject: sparc: fix implicit use of spitfire.h in pcr.c and of_device_64.c X-Git-Tag: upstream/snapshot3+hdmi~8782^2~175 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2068dabebf83a7ef65ba977a165730fb8b53ef0;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sparc: fix implicit use of spitfire.h in pcr.c and of_device_64.c To resolve these on 64bit allnoconfig builds: CC arch/sparc/kernel/pcr.o arch/sparc/kernel/pcr.c: In function 'register_perf_hsvc': arch/sparc/kernel/pcr.c:102: error: 'tlb_type' undeclared (first use in this function) CC arch/sparc/kernel/of_device_64.o arch/sparc/kernel/of_device_64.c: In function 'build_device_resources': arch/sparc/kernel/of_device_64.c:406: error: 'tlb_type' undeclared (first use in this function) Signed-off-by: Paul Gortmaker --- diff --git a/arch/sparc/kernel/of_device_64.c b/arch/sparc/kernel/of_device_64.c index 3bb2eac..6ecaefc 100644 --- a/arch/sparc/kernel/of_device_64.c +++ b/arch/sparc/kernel/of_device_64.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "of_device_common.h" diff --git a/arch/sparc/kernel/pcr.c b/arch/sparc/kernel/pcr.c index 343b0f9..708406d 100644 --- a/arch/sparc/kernel/pcr.c +++ b/arch/sparc/kernel/pcr.c @@ -13,6 +13,7 @@ #include #include #include +#include /* This code is shared between various users of the performance * counters. Users will be oprofile, pseudo-NMI watchdog, and the