<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/sparc/kernel/prom_common.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-05-29T19:47:38Z</updated>
<entry>
<title>sparc: fix sparc64 build due to leon.h inclusion</title>
<updated>2012-05-29T19:47:38Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2012-05-29T08:14:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e49e6ff553ffee2e747a8e331a9dcf3a80555944'/>
<id>urn:sha1:e49e6ff553ffee2e747a8e331a9dcf3a80555944</id>
<content type='text'>
Stephen Rothwell &lt;sfr@canb.auug.org.au&gt; reported following error:
In file included from arch/sparc/kernel/prom_common.c:26:0:
arch/sparc/include/asm/leon.h:221:9: error: unknown type name 'irq_flow_handler_t'
arch/sparc/include/asm/leon.h:224:10: error: unknown type name 'irq_flow_handler_t'

Fix this by:
1) Avoid including leon.h in prom_commen.h (not needed)
2) Include irq.h in leon.h to avoid the missing symbol error

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: Use kmemdup rather than duplicating its implementation</title>
<updated>2011-12-04T18:46:56Z</updated>
<author>
<name>Thomas Meyer</name>
</author>
<published>2011-11-17T12:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0a4cf31017ac8179a2fe295c1bd8e821d7674f4'/>
<id>urn:sha1:f0a4cf31017ac8179a2fe295c1bd8e821d7674f4</id>
<content type='text'>
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.

Signed-off-by: Thomas Meyer &lt;thomas@m3y3r.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: move symbol exporters to use export.h not module.h</title>
<updated>2011-10-31T23:30:53Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-07-22T17:18:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=066bcaca51946c8305e3d637a795e8ccf8dbd3cf'/>
<id>urn:sha1:066bcaca51946c8305e3d637a795e8ccf8dbd3cf</id>
<content type='text'>
Many of the core sparc kernel files are not modules, but just
including module.h for exporting symbols.  Now these files can
use the lighter footprint export.h for this role.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>of/promtree: no longer call prom_ functions directly; use an ops structure</title>
<updated>2010-10-13T03:57:53Z</updated>
<author>
<name>Andres Salomon</name>
</author>
<published>2010-10-11T03:49:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f90c34bd658d240cb5ebc5fe0a17796e590c6ec8'/>
<id>urn:sha1:f90c34bd658d240cb5ebc5fe0a17796e590c6ec8</id>
<content type='text'>
Rather than assuming an architecture defines prom_getchild and friends,
define an ops struct with hooks for the various prom functions that
pdt.c needs.  This ops struct is filled in by the
arch-(and sometimes firmware-)specific code, and passed to
of_pdt_build_devicetree.

Update sparc code to define the ops struct as well.

Signed-off-by: Andres Salomon &lt;dilinger@queued.net&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>of/promtree: make drivers/of/pdt.c no longer sparc-only</title>
<updated>2010-10-11T03:53:30Z</updated>
<author>
<name>Andres Salomon</name>
</author>
<published>2010-10-11T03:42:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3cfc535c5df8122af1258ae05aaf2770c033425d'/>
<id>urn:sha1:3cfc535c5df8122af1258ae05aaf2770c033425d</id>
<content type='text'>
Clean up pdt.c:
 - make build dependent upon config OF_PROMTREE
 - #ifdef out the sparc-specific stuff
 - create pdt-specific header

Signed-off-by: Andres Salomon &lt;dilinger@queued.net&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>sparc: break out some PROM device-tree building code out into drivers/of</title>
<updated>2010-10-09T08:36:12Z</updated>
<author>
<name>Andres Salomon</name>
</author>
<published>2010-08-30T03:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9bdf6bab4ecfb6a8ca50c0c46f2365ef6c3e35b7'/>
<id>urn:sha1:9bdf6bab4ecfb6a8ca50c0c46f2365ef6c3e35b7</id>
<content type='text'>
Transitioning into making this useful for architectures other than sparc.
This is a verbatim copy of all functions/variables that've been moved.

Signed-off-by: Andres Salomon &lt;dilinger@queued.net&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>of/sparc: move is_root_node() to of.h</title>
<updated>2010-07-14T23:08:03Z</updated>
<author>
<name>Andres Salomon</name>
</author>
<published>2010-07-13T09:42:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=035ebefc737cce56d3938e9b7eaa5ac0e9c28715'/>
<id>urn:sha1:035ebefc737cce56d3938e9b7eaa5ac0e9c28715</id>
<content type='text'>
Rename is_root_node() to of_node_is_root() and make it available for
all archs to use, as it's not PROM-specific.

Signed-off-by: Andres Salomon &lt;dilinger@queued.net&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>of: merge of_find_node_by_phandle</title>
<updated>2010-02-09T15:32:48Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2010-02-02T04:34:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89751a7cb70a20f0d604dd7c4be29dd7b0011718'/>
<id>urn:sha1:89751a7cb70a20f0d604dd7c4be29dd7b0011718</id>
<content type='text'>
Merge common function between powerpc, sparc and microblaze. Code is
identical for powerpc and microblaze, but adds a lock (and release) of
the devtree_lock on sparc.

Signed-off-by: Jeremy Kerr &lt;jeremy.kerr@canonical.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>of: unify phandle name in struct device_node</title>
<updated>2010-01-28T21:06:53Z</updated>
<author>
<name>Grant Likely</name>
</author>
<published>2010-01-28T21:06:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6016a363f6b56b46b24655bcfc0499b715851cf3'/>
<id>urn:sha1:6016a363f6b56b46b24655bcfc0499b715851cf3</id>
<content type='text'>
In struct device_node, the phandle is named 'linux_phandle' for PowerPC
and MicroBlaze, and 'node' for SPARC.  There is no good reason for the
difference, it is just an artifact of the code diverging over a couple
of years.  This patch renames both to simply .phandle.

Note: the .node also existed in PowerPC/MicroBlaze, but the only user
seems to be arch/powerpc/platforms/powermac/pfunc_core.c.  It doesn't
look like the assignment between .linux_phandle and .node is
significantly different enough to warrant the separate code paths
unless ibm,phandle properties actually appear in Apple device trees.

I think it is safe to eliminate the old .node property and use
phandle everywhere.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Tested-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Acked-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>sparc: Move of_set_property_mutex acquisition outside of devtree_lock grab.</title>
<updated>2009-11-09T01:41:20Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2009-11-09T01:41:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c9d80ddc60f8ac26344ec3db9830e5f8016c16d'/>
<id>urn:sha1:1c9d80ddc60f8ac26344ec3db9830e5f8016c16d</id>
<content type='text'>
Otherwise we try to sleep with preemption disabled, etc.

Noticed by Thomas Gleixner.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
