commit | 65f36f4149ce4490b2174ef45e1dbe494f4b8268 | [log] [tgz] |
---|---|---|
author | Cedric Le Goater <clg@fr.ibm.com> | Wed Oct 30 14:47:06 2013 +0100 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Oct 31 12:37:26 2013 +1100 |
tree | 10199fc09f12f878040f63a8e093e70a472a9921 | |
parent | 50bd6153d1a68354a0a0c8bca1fe949fa8875875 [diff] |
powerpc/nvram: Scan partitions only once nvram_scan_partitions() is called twice when initializing the "lnx,oops-log" partition and the "ibm,rtas-log" partition. This fills the partition list with duplicate entries. This patch moves the partition scan in the init routine pseries_nvram_init_log_partitions() which is called only once. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>