From: Mike Galbraith <umgwanakikbuti@gmail.com>
To: Sreejith N <sreejith.naarakathil@gmail.com>
Cc: linux-kernel@vger.kernel.org, Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [RT][3.10.81-rt88] Build error in 'setup_clkevents' with 3.10.81-rt88 and vanilla kernel 3.10.81
Date: Thu, 25 Jun 2015 13:56:05 +0200 [thread overview]
Message-ID: <1435233365.14064.37.camel@gmail.com> (raw)
In-Reply-To: <CADFtRynNucb3zQ5-tmd+X+E7=9LU0=7RowRDkntCSm77w_yX7Q@mail.gmail.com>
(cc)
On Thu, 2015-06-25 at 17:06 +0530, Sreejith N wrote:
> Getting build error with 3.10.81-rt88 and vanilla kernel 3.10.81 in below line,
> ./drivers/clocksource/tcb_clksrc.c:195: timer_clock = clk32k_divisor_idx;
>
> Below kernel config enabled:
> CONFIG_ATMEL_TCLIB=y
> CONFIG_ATMEL_TCB_CLKSRC=y
> CONFIG_ATMEL_TCB_CLKSRC_BLOCK=0
> CONFIG_GENERIC_CLOCKEVENTS=y
>
> Compiler: arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite
> 2014.05-29) 4.8.3 20140320 (prerelease)
>
> Kernel booting is not successful.
> [ 0.109375] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [ 0.109375] ehci-atmel: EHCI Atmel driver
> [ 0.109375] atmel-ehci 700000.ehci: EHCI Host Controller
> [ 0.109375] atmel-ehci 700000.ehci: new USB bus registered,
> assigned bus number 1
> [ 0.109375] atmel-ehci 700000.ehci: irq 26, io mem 0x00700000
>
>
> Thanks,
> Sreejith
>
> Below patch fixed the compiler error:
> diff -uNr linux-3.10.81-rt-orig/drivers/clocksource/tcb_clksrc.c
> linux-3.10.81-rt-mine/drivers/clocksource/tcb_clksrc.c
> --- linux-3.10.81-rt-orig/drivers/clocksource/tcb_clksrc.c 2015-06-25
> 12:01:00.274877048 +0530
> +++ linux-3.10.81-rt-mine/drivers/clocksource/tcb_clksrc.c 2015-06-25
> 11:58:10.190868730 +0530
> @@ -192,7 +192,7 @@
> clkevt.clk = t2_clk;
> tc_irqaction.dev_id = &clkevt;
>
> - timer_clock = clk32k_divisor_idx;
> + timer_clock = divisor_idx;
>
> clkevt.clkevt.cpumask = cpumask_of(0);
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2015-06-25 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-25 11:36 Sreejith N
2015-06-25 11:56 ` Mike Galbraith [this message]
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=1435233365.14064.37.camel@gmail.com \
--to=umgwanakikbuti@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=sreejith.naarakathil@gmail.com \
/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
Powered by JetHome