[PATCH 11/74] sections: Add __visible to rapidio sections
From: Andi Kleen Signed-off-by: Andi Kleen --- drivers/rapidio/rio.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rapidio/rio.h b/drivers/rapidio/rio.h index b1af414..1fd0138 100644 --- a/drivers/rapidio/rio.h +++ b/drivers/rapidio/rio.h @@ -44,8 +44,8 @@ extern struct rio_dev *rio_get_comptag(u32 comp_tag, struct rio_dev *from); extern struct device_attribute rio_dev_attrs[]; extern spinlock_t rio_global_list_lock; -extern struct rio_switch_ops __start_rio_switch_ops[]; -extern struct rio_switch_ops __end_rio_switch_ops[]; +extern __visible struct rio_switch_ops __start_rio_switch_ops[]; +extern __visible struct rio_switch_ops __end_rio_switch_ops[]; /* Helpers internal to the RIO core code */ #define DECLARE_RIO_SWITCH_SECTION(section, name, vid, did, init_hook) \ -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 11/74] sections: Add __visible to rapidio sections
From: Andi Kleen a...@linux.intel.com Signed-off-by: Andi Kleen a...@linux.intel.com --- drivers/rapidio/rio.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rapidio/rio.h b/drivers/rapidio/rio.h index b1af414..1fd0138 100644 --- a/drivers/rapidio/rio.h +++ b/drivers/rapidio/rio.h @@ -44,8 +44,8 @@ extern struct rio_dev *rio_get_comptag(u32 comp_tag, struct rio_dev *from); extern struct device_attribute rio_dev_attrs[]; extern spinlock_t rio_global_list_lock; -extern struct rio_switch_ops __start_rio_switch_ops[]; -extern struct rio_switch_ops __end_rio_switch_ops[]; +extern __visible struct rio_switch_ops __start_rio_switch_ops[]; +extern __visible struct rio_switch_ops __end_rio_switch_ops[]; /* Helpers internal to the RIO core code */ #define DECLARE_RIO_SWITCH_SECTION(section, name, vid, did, init_hook) \ -- 1.7.7.6 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/