SPARC/LEON: avoid AMBAPP name duplicates in openprom fs when REG is missing
authorDaniel Hellstrom <daniel@gaisler.com>
Tue, 4 Jan 2011 01:41:33 +0000 (01:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jan 2011 19:16:37 +0000 (11:16 -0800)
commit9663eb21fcfeb1ed9afd73d14bbc4198796cfc7b
treed220c96ed6c4db5c1f8fda3bcf775b59f8c5b3cb
parent2791c1a4390085789e37347fc49f7d189fedae88
SPARC/LEON: avoid AMBAPP name duplicates in openprom fs when REG is missing

When the REG property is not available the NODE-ID is used as an unique
identifier in order to avoid filesystem name duplicates in /proc/openprom
filesystem

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/prom_32.c