Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* linux-next build failures with ARCH_EXYNOS
@ 2013-03-27 13:10 Tomasz Figa
  2013-03-27 13:56 ` Thomas Abraham
  0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Figa @ 2013-03-27 13:10 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I'm experiencing several kernel build failures when building linux-next 
(next-20130327) for ARCH_EXYNOS.

Using unmodified exynos_defconfig:

  CC      drivers/clocksource/exynos_mct.o
drivers/clocksource/exynos_mct.c:557:1: warning: comparison of distinct 
pointer types lacks a cast
drivers/clocksource/exynos_mct.c:558:1: error: expected ',' or ';' before 
'static'
make[2]: *** [drivers/clocksource/exynos_mct.o] Error 1
make[1]: *** [drivers/clocksource] Error 2
make: *** [drivers] Error 2

Mentioned lines are introduced by commit 9fbf0c85a1 .

In addition, after enabling CONFIG_ARM_EXYNOS_CPUFREQ I'm getting following 
compilation errors:

  CC      drivers/cpufreq/exynos5250-cpufreq.o
drivers/cpufreq/exynos5250-cpufreq.c: In function 'set_clkdiv':
drivers/cpufreq/exynos5250-cpufreq.c:91:20: error: 'EXYNOS5_CLKDIV_CPU0' 
undeclared (first use in this function)
drivers/cpufreq/exynos5250-cpufreq.c:91:20: note: each undeclared identifier is 
reported only once for each function it appears in
drivers/cpufreq/exynos5250-cpufreq.c:93:21: error: 'EXYNOS5_CLKDIV_STATCPU0' 
undeclared (first use in this function)
drivers/cpufreq/exynos5250-cpufreq.c:99:20: error: 'EXYNOS5_CLKDIV_CPU1' 
undeclared (first use in this function)
drivers/cpufreq/exynos5250-cpufreq.c:101:21: error: 'EXYNOS5_CLKDIV_STATCPU1' 
undeclared (first use in this function)
drivers/cpufreq/exynos5250-cpufreq.c: In function 'set_apll':
drivers/cpufreq/exynos5250-cpufreq.c:115:22: error: 'EXYNOS5_CLKMUX_STATCPU' 
undeclared (first use in this function)
drivers/cpufreq/exynos5250-cpufreq.c:122:29: error: 'EXYNOS5_APLL_LOCK' 
undeclared (first use in this function)
drivers/cpufreq/exynos5250-cpufreq.c:125:20: error: 'EXYNOS5_APLL_CON0' 
undeclared (first use in this function)
drivers/cpufreq/exynos5250-cpufreq.c: In function 'exynos5250_set_frequency':
drivers/cpufreq/exynos5250-cpufreq.c:165:22: error: 'EXYNOS5_APLL_CON0' 
undeclared (first use in this function)
make[2]: *** [drivers/cpufreq/exynos5250-cpufreq.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers/cpufreq] Error 2
make: *** [drivers] Error 2

This seems to be caused by commit 6e6aac7590 removing definitions of mentioned 
registers from arch/arm/mach-exynos/include/mach/regs-clock.h header.

Best regards,
-- 
Tomasz Figa
Samsung Poland R&D Center
SW Solution Development, Kernel and System Framework

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

end of thread, other threads:[~2013-03-27 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 13:10 linux-next build failures with ARCH_EXYNOS Tomasz Figa
2013-03-27 13:56 ` Thomas Abraham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox