gcc-plugins: Fix definition of DISABLE_LATENT_ENTROPY_PLUGIN
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Tue, 6 Dec 2016 06:27:58 +0000 (17:27 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 3 Feb 2017 10:59:27 +0000 (21:59 +1100)
commit7b4010edff09929c253e6626ab19cade9e250505
treeb9c367c1e0b4300b7b6590e18cbd7d7eed07cbce
parent39d40871526627fd0e2cfc1e2fb88500a5049c4c
gcc-plugins: Fix definition of DISABLE_LATENT_ENTROPY_PLUGIN

The variable DISABLE_LATENT_ENTROPY_PLUGIN is defined when
CONFIG_PAX_LATENT_ENTROPY is set. This is leftover from the original PaX
version of the plugin code and doesn't actually exist. Change the condition
to depend on CONFIG_GCC_PLUGIN_LATENT_ENTROPY instead.

Fixes: 38addce8b600 ("gcc-plugins: Add latent_entropy plugin")
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
scripts/Makefile.gcc-plugins