[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56858913.p3zUxZnKZn@wuerfel>
Date: Tue, 30 Sep 2014 22:07:03 +0200
From: Arnd Bergmann <arnd@...db.de>
To: linux-arm-kernel@...ts.infradead.org
Cc: Rik van Riel <riel@...hat.com>,
Peter Zijlstra <peterz@...radead.org>, atheurer@...hat.com,
srao@...hat.com, fweisbec@...il.com, oleg@...hat.com,
Ingo Molnar <mingo@...nel.org>, umgwanakikbuti@...il.com,
akpm@...ux-foundation.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
lwoodman@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] sched, time: fix build error with 64 bit cputime_t on 32 bit systems
On Tuesday 30 September 2014 15:59:47 Rik van Riel wrote:
> Subject: sched,time: fix build error with 64 bit cputime_t on 32 bit systems
>
> On 32 bit systems cmpxchg cannot handle 64 bit values, so
> some additional magic is required to allow a 32 bit system
> with CONFIG_VIRT_CPU_ACCOUNTING_GEN enabled to build.
>
> Make sure the correct cmpxchg function is used when doing
> an atomic swap of a cputime_t.
>
> Signed-off-by: Rik van Riel <riel@...hat.com>
> Reported-by: Arnd Bergmann <arnd@...db.de>
>
Now builds without warnings on both 32-bit and 64-bit cputime_t configurations
on arm32.
Acked-by: Arnd Bergmann <arnd@...db.de>
Thanks!
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists