QT4 and atomics

2010-11-14 Thread Michael Hope
Hi there. I've been looking into updating the QT4 atomic operations as an alternative to working around it in GCC. There's ARM specific code in: http://qt.gitorious.org/qt/qt/blobs/4.7/src/corelib/arch/qatomic_armv6.h that should be updated to include IT instructions so that it can compile in Th

Re: QT4 and atomics

2010-11-14 Thread David Rusling
Michael, the best, long term engineering solution, is to rely on the gcc __sync primatives. Whether there any intermediate steps along the way is debatable. Discuss Dave On 14 Nov 2010, at 22:26, Michael Hope wrote: > Hi there. I've been looking into updating the QT4 atomic operati

[PATCH] clocks: add clock debugging file

2010-11-14 Thread Jeremy Kerr
Add a debugfs file to expose system clocks. Signed-off-by: Jeremy Kerr --- Yong: as promised, here's the sample debug code for the common struck clk --- arch/Kconfig |4 + arch/arm/common/clkdev.c |2 include/linux/clk.h | 20 kernel/clk.c | 9

Re: [PATCH] clocks: add clock debugging file

2010-11-14 Thread Yong Shen
Hi Jeremy, Thanks a lot. Yes, it's also nice to have a file containing all the clock information which you have implemented in the email. Since we expect more features like enable/disable clocks in the debugfs, we also like to have tree-like debugfs for clock information. Below is my draft impleme