2013/1/2 Vineet Gupta :
> On Tuesday 13 November 2012 01:59 AM, Thomas Gleixner wrote:
>> On Wed, 7 Nov 2012, Vineet Gupta wrote:
>>> +void cpu_idle(void)
>>> +{
>>> +/* Since we SLEEP in idle loop, TIF_POLLING_NRFLAG can't be set */
>>> +
>>> +/* endless idle loop with no priority at all *
On Wednesday 02 January 2013 12:43 PM, Vineet Gupta wrote:
> On Tuesday 13 November 2012 01:59 AM, Thomas Gleixner wrote:
>> On Wed, 7 Nov 2012, Vineet Gupta wrote:
>>> +static int arc_finished_booting;
>>> +
>>> +/*
>>> + * Scheduler clock - returns current time in nanosec units.
>>> + * It's retu
On Tuesday 13 November 2012 01:59 AM, Thomas Gleixner wrote:
> On Wed, 7 Nov 2012, Vineet Gupta wrote:
>> +void cpu_idle(void)
>> +{
>> +/* Since we SLEEP in idle loop, TIF_POLLING_NRFLAG can't be set */
>> +
>> +/* endless idle loop with no priority at all */
>> +while (1) {
>> +
On Wed, 7 Nov 2012, Vineet Gupta wrote:
> +void cpu_idle(void)
> +{
> + /* Since we SLEEP in idle loop, TIF_POLLING_NRFLAG can't be set */
> +
> + /* endless idle loop with no priority at all */
> + while (1) {
> + tick_nohz_idle_enter();
> +
> + while (!need_res
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcregs.h | 31 +
arch/arc/include/asm/delay.h | 68 +++
arch/arc/include/asm/processor.h |3 +
arch/arc/include/asm/switch_to.h | 41 +++
arch/arc/include/asm/timex.h | 18 +++
arch/arc/kernel/ctx_sw.c
5 matches
Mail list logo