summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-pciback/conf_space.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2015-04-13 01:26:35 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2015-04-29 18:34:50 +0200
commit8014bcc86ef112eab9ee1db312dba4e6b608cf89 (patch)
treeedb75ea07db0ae0fdd94c91d7c82c0eed94d5a76 /drivers/xen/xen-pciback/conf_space.h
parentxen: Suspend ticks on all CPUs during suspend (diff)
downloadlinux-8014bcc86ef112eab9ee1db312dba4e6b608cf89.tar.xz
linux-8014bcc86ef112eab9ee1db312dba4e6b608cf89.zip
xen-pciback: Add name prefix to global 'permissive' variable
The variable for the 'permissive' module parameter used to be static but was recently changed to be extern. This puts it in the kernel global namespace if the driver is built-in, so its name should begin with a prefix identifying the driver. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Fixes: af6fc858a35b ("xen-pciback: limit guest control of command register") Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/xen-pciback/conf_space.h')
-rw-r--r--drivers/xen/xen-pciback/conf_space.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-pciback/conf_space.h b/drivers/xen/xen-pciback/conf_space.h
index 2e1d73d1d5d0..62461a8ba1d6 100644
--- a/drivers/xen/xen-pciback/conf_space.h
+++ b/drivers/xen/xen-pciback/conf_space.h
@@ -64,7 +64,7 @@ struct config_field_entry {
void *data;
};
-extern bool permissive;
+extern bool xen_pcibk_permissive;
#define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset)