]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/cacheinfo.h
cacheinfo: rename of_node to fw_token
[mirror_ubuntu-bionic-kernel.git] / include / linux / cacheinfo.h
index 3d9805297cda826e5f2f26ac2669259258088957..0c6f658054d2a5bb2f575757ed2ba39035c95d91 100644 (file)
@@ -34,9 +34,8 @@ enum cache_type {
  * @shared_cpu_map: logical cpumask representing all the cpus sharing
  *     this cache node
  * @attributes: bitfield representing various cache attributes
- * @of_node: if devicetree is used, this represents either the cpu node in
- *     case there's no explicit cache node or the cache node itself in the
- *     device tree
+ * @fw_token: Unique value used to determine if different cacheinfo
+ *     structures represent a single hardware cache instance.
  * @disable_sysfs: indicates whether this node is visible to the user via
  *     sysfs or not
  * @priv: pointer to any private data structure specific to particular
@@ -65,8 +64,7 @@ struct cacheinfo {
 #define CACHE_ALLOCATE_POLICY_MASK     \
        (CACHE_READ_ALLOCATE | CACHE_WRITE_ALLOCATE)
 #define CACHE_ID               BIT(4)
-
-       struct device_node *of_node;
+       void *fw_token;
        bool disable_sysfs;
        void *priv;
 };