<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/hexagon/include/asm/bitops.h, branch linux-3.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-13T07:09:30Z</updated>
<entry>
<title>hexagon: modify ffs() and fls() to return int</title>
<updated>2018-10-13T07:09:30Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2018-07-22T23:03:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43f67da4e5d71337cb19f333fe9d37d13b627a91'/>
<id>urn:sha1:43f67da4e5d71337cb19f333fe9d37d13b627a91</id>
<content type='text'>
[ Upstream commit 5c41aaad409c097cf1ef74f2c649fed994744ef5 ]

Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a
printk format build warning.  This is due to hexagon's ffs() being
coded as returning long instead of int.

Fix the printk format warning by changing all of hexagon's ffs() and
fls() functions to return int instead of long.  The variables that
they return are already int instead of long.  This return type
matches the return type in &lt;asm-generic/bitops/&gt;.

../drivers/mtd/nand/raw/nandsim.c: In function 'init_nandsim':
../drivers/mtd/nand/raw/nandsim.c:760:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat]

There are no ffs() or fls() allmodconfig build errors after making this
change.

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Richard Kuo &lt;rkuo@codeaurora.org&gt;
Cc: linux-hexagon@vger.kernel.org
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Patch-mainline: linux-kernel @ 07/22/2018, 16:03
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>arch,hexagon: Convert smp_mb__*()</title>
<updated>2014-04-18T12:20:35Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2014-03-13T18:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94cf42f823bc904305b0ee93a09bcd51ba380497'/>
<id>urn:sha1:94cf42f823bc904305b0ee93a09bcd51ba380497</id>
<content type='text'>
Hexagon uses asm-gemeric/barrier.h and its smp_mb() is barrier().
Therefore we can use the default implementation that uses smp_mb().

Signed-off-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Link: http://lkml.kernel.org/n/tip-87irqrrbgizeojjfdqhypud3@git.kernel.org
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Richard Kuo &lt;rkuo@codeaurora.org&gt;
Cc: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Cc: linux-hexagon@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>Hexagon: Copyright marking changes</title>
<updated>2012-10-18T22:07:21Z</updated>
<author>
<name>Richard Kuo</name>
</author>
<published>2012-09-19T21:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1858b2a21cd84a855945a4747fb2db41b250c22'/>
<id>urn:sha1:e1858b2a21cd84a855945a4747fb2db41b250c22</id>
<content type='text'>
Code Aurora Forum (CAF) is becoming a part of Linux Foundation Labs.

Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>Disintegrate asm/system.h for Hexagon</title>
<updated>2012-03-28T17:30:02Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2012-03-28T17:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8335896bed16d8b86a28ec5b1e0f723d1cf75aa8'/>
<id>urn:sha1:8335896bed16d8b86a28ec5b1e0f723d1cf75aa8</id>
<content type='text'>
Disintegrate asm/system.h for Hexagon.  Not compiled.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
cc: linux-hexagon@vger.kernel.org
</content>
</entry>
<entry>
<title>Hexagon: Add bitops support</title>
<updated>2011-11-01T14:34:18Z</updated>
<author>
<name>Richard Kuo</name>
</author>
<published>2011-10-31T23:27:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a86a7ce30ac04cfd6775dc9a0114d9c3924e682a'/>
<id>urn:sha1:a86a7ce30ac04cfd6775dc9a0114d9c3924e682a</id>
<content type='text'>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
