Re: "struct user" conflicts on arm

2011-12-17 Thread Carlos O'Donell
On Sat, Dec 17, 2011 at 7:57 AM, peter green wrote: >> mind also looking at WCHAR_MIN/MAX undefined for arm? >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598937 > > They most certainly are defined. The trouble is that WCHAR_MAX is defined > in a strange way. > > #define __WCHAR_MAX     ( (w

Re: "struct user" conflicts on arm

2011-12-17 Thread peter green
Ulrich Weigand>Now, glibc also provides a file that defines Ulrich Weigand>layouts of register sets for use with signal handlers as well Ulrich Weigand>as the makecontext/setcontext/getcontext family of routines. Ulrich Weigand> Ulrich Weigand>Usually, those layouts tend to be in fact identical t

Re: "struct user" conflicts on arm

2011-12-17 Thread peter green
Konstantinos Margaritis wrote: Does anyone know what the impact of renaming these to use a REG_ prefix like i386, amd64 and sparc do* would be? at worst the packages that had to be workaround on arm* for this, can have the workaround removed. I have prepared a patch (attatched) that eliminates t

Re: [PATCH v4 3/6] clk: introduce the common clock framework

2011-12-17 Thread Russell King - ARM Linux
On Fri, Dec 16, 2011 at 04:45:48PM -0800, Turquette, Mike wrote: > On Wed, Dec 14, 2011 at 5:18 AM, Thomas Gleixner wrote: > > On Tue, 13 Dec 2011, Mike Turquette wrote: > >> +void __clk_unprepare(struct clk *clk) > >> +{ > >> +     if (!clk) > >> +             return; > >> + > >> +     if (WARN_O

Re: "struct user" conflicts on arm

2011-12-17 Thread Konstantinos Margaritis
On 17 December 2011 09:17, peter green wrote: > While we are talking about modifying sys/ucontext.h David Given > raised another issue with that header (for those reading on the linaro list > his > post can be found at > http://lists.debian.org/debian-arm/2011/12/msg00048.html) > David Given>This

Re: [PATCH V2 1/4] cpufreq: add arm soc generic cpufreq driver

2011-12-17 Thread Arnd Bergmann
On Saturday 17 December 2011 16:00:03 Richard Zhao wrote: > On Fri, Dec 16, 2011 at 08:32:35AM -0600, Rob Herring wrote: > > On 12/16/2011 04:30 AM, Richard Zhao wrote: > > > It support single core and multi-core ARM SoCs. But it assume > > > all cores share the same frequency and voltage. > > > >

Re: [Patch] Regulator: Replace kzalloc with devm_kzalloc and if-else with a switch-case for da9052-regulator

2011-12-17 Thread Mark Brown
On Thu, Dec 15, 2011 at 06:59:53PM +0530, Ashish Jangam wrote: > Reported-by: Mark Brown > Signed-off-by: David Dajun Chen > Signed-off-by: Ashish Jangam Applied, but this really should have been sent as two separate patches as it's two unrelated changes which don't overlap with each other. __

Re: [PATCH V2 1/4] cpufreq: add arm soc generic cpufreq driver

2011-12-17 Thread Richard Zhao
On Fri, Dec 16, 2011 at 11:59:02AM -0800, Bryan Huntsman wrote: > On 12/16/2011 02:52 AM, Jamie Iles wrote: > > > >> +static DEFINE_PER_CPU(unsigned long, l_p_j_ref); > >> +static unsigned long l_p_j_ref_freq; > >> + > >> +static struct clk *cpu_clk; > > > > This assumes that all CPU's share the s

Re: [PATCH V2 1/4] cpufreq: add arm soc generic cpufreq driver

2011-12-17 Thread Richard Zhao
On Fri, Dec 16, 2011 at 10:52:29AM +, Jamie Iles wrote: > Hi Richard, > > A couple of questions inline, but otherwise looks nice! Thanks for your review. > > Jamie > > On Fri, Dec 16, 2011 at 06:30:59PM +0800, Richard Zhao wrote: > > It support single core and multi-core ARM SoCs. But it ass

Re: [PATCH V2 1/4] cpufreq: add arm soc generic cpufreq driver

2011-12-17 Thread Richard Zhao
On Fri, Dec 16, 2011 at 08:32:35AM -0600, Rob Herring wrote: > On 12/16/2011 04:30 AM, Richard Zhao wrote: > > It support single core and multi-core ARM SoCs. But it assume > > all cores share the same frequency and voltage. > > > > Signed-off-by: Richard Zhao > > --- > > drivers/cpufreq/Kconfig

Re: [PATCH V2 1/4] cpufreq: add arm soc generic cpufreq driver

2011-12-17 Thread Richard Zhao
On Fri, Dec 16, 2011 at 12:26:03PM +0100, Heiko Stübner wrote: > Am Freitag, 16. Dezember 2011, 11:30:59 schrieb Richard Zhao: > > It support single core and multi-core ARM SoCs. But it assume > > all cores share the same frequency and voltage. > > > > Signed-off-by: Richard Zhao > > --- > > dri