Re: new cpu iteration code...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




From: Rob Herring <robherring2@xxxxxxxxx>
Date: Thu, 19 Sep 2013 08:26:04 -0500

> The simple solution here is to just remove the warning. It doesn't
> appear to me that sparc ever sets the cpu device of_node pointer.

Why wouldn't I want sparc to have this functionality now that the
code is generically available.

> Are there any cases on where sparc does have a /cpus node? If so we'd
> need to make of_get_cpu_node a weak function or depend on a kconfig option.

I already gave a solution to this problem, make the loop iterator be:

	for_each_node_by_type(dp, "cpu")
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux