[PATCH] Finally eradicate CONFIG_HOTPLUG
Peter Stuge
peter at stuge.se
Tue May 21 06:13:49 EDT 2013
Are you changing the code to have HOTPLUG always -on- or -off- ?
From the commit message I had expected always -on-.
Stephen Rothwell wrote:
> --- a/include/asm-generic/vmlinux.lds.h
> +++ b/include/asm-generic/vmlinux.lds.h
> @@ -68,14 +68,6 @@
> * are handled as text/data or they can be discarded (which
> * often happens at runtime)
> */
> -#ifdef CONFIG_HOTPLUG
> -#define DEV_KEEP(sec) *(.dev##sec)
> -#define DEV_DISCARD(sec)
> -#else
> -#define DEV_KEEP(sec)
> -#define DEV_DISCARD(sec) *(.dev##sec)
> -#endif
> -
> #ifdef CONFIG_HOTPLUG_CPU
> #define CPU_KEEP(sec) *(.cpu##sec)
> #define CPU_DISCARD(sec)
> @@ -182,8 +174,6 @@
> *(.data) \
> *(.ref.data) \
> *(.data..shared_aligned) /* percpu related */ \
> - DEV_KEEP(init.data) \
> - DEV_KEEP(exit.data) \
..
> @@ -503,7 +489,6 @@
> /* init and exit section handling */
> #define INIT_DATA \
> *(.init.data) \
> - DEV_DISCARD(init.data) \
Shouldn't the effect of one of the above remain?
//Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20130521/62495748/attachment.sig>
More information about the linux-pcmcia
mailing list