]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/powerpc/platforms/pseries/setup.c
of/reconfig: Always use the same structure for notifiers
authorGrant Likely <grant.likely@linaro.org>
Mon, 24 Nov 2014 17:58:01 +0000 (17:58 +0000)
committerGrant Likely <grant.likely@linaro.org>
Mon, 24 Nov 2014 22:25:03 +0000 (22:25 +0000)
commitf5242e5a883bf1c1aba6bfd87b85e7dda0e62191
treeff348e70ad50d96de50212f9a6e6b6088bb7feef
parent00aa37206e1a54dae61a0dba96bf2ee0938b99d7
of/reconfig: Always use the same structure for notifiers

The OF_RECONFIG notifier callback uses a different structure depending
on whether it is a node change or a property change. This is silly, and
not very safe. Rework the code to use the same data structure regardless
of the type of notifier.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: <linuxppc-dev@lists.ozlabs.org>
arch/powerpc/mm/numa.c
arch/powerpc/platforms/pseries/hotplug-cpu.c
arch/powerpc/platforms/pseries/hotplug-memory.c
arch/powerpc/platforms/pseries/iommu.c
arch/powerpc/platforms/pseries/setup.c
drivers/crypto/nx/nx-842.c
drivers/of/dynamic.c
include/linux/of.h