[POWERPC] celleb: Split machine definition
This splits the machine definition for celleb into two definitions, one for celleb_beat, and the other for celleb_native. Though this looks complex because of sorting some functions, there are no more semantic changes than that for the splitting. Signed-off-by: Kou Ishizaki <Kou.Ishizaki@toshiba.co.jp> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
4751505cf7
commit
7e1961ff49
@ -700,8 +700,8 @@ static int __init cell_iommu_init(void)
|
||||
{
|
||||
struct device_node *np;
|
||||
|
||||
if ((!machine_is(cell) && !machine_is(celleb)) ||
|
||||
firmware_has_feature(FW_FEATURE_LPAR))
|
||||
if (!machine_is(cell) &&
|
||||
!machine_is(celleb_native))
|
||||
return -ENODEV;
|
||||
|
||||
/* If IOMMU is disabled or we have little enough RAM to not need
|
||||
|
Reference in New Issue
Block a user