]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1776f251921c0db2a4bf0b51c8b479c34865a5a
treed220c96ed6c4db5c1f8fda3bcf775b59f8c5b3cb
parentb9f9d7d41f282c0e1e0afe6c292e4c6b1d877d5a
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