From: t.figa@samsung.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: linux-next build failures with ARCH_EXYNOS
Date: Wed, 27 Mar 2013 14:10:08 +0100 [thread overview]
Message-ID: <1531058.rMXo5ayaeE@amdc1227> (raw)
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
next reply other threads:[~2013-03-27 13:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 13:10 Tomasz Figa [this message]
2013-03-27 13:56 ` linux-next build failures with ARCH_EXYNOS Thomas Abraham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1531058.rMXo5ayaeE@amdc1227 \
--to=t.figa@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox