Skip to contentSkip to conversation

Jan Kiszka : arch/x86: Fix section mismatch warning for mach_x86_c1e_disable

Xenomai Gilles Chanteperdrix 2 participants 4 messages Jul 13, 2014 – Aug 28, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · git repository hosting
Module: xenomai-jki
Branch: for-forge
Commit: dcac4e7a3e7ccf19e4b38169e7c89eb88c821483
URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=dcac4e7a3e7ccf19e4b38169e7c89eb88c821483
Quoted 8 lines
Author: Jan Kiszka <[email protected]>
Date:   Wed Jul  9 17:50:30 2014 +0200

arch/x86: Fix section mismatch warning for mach_x86_c1e_disable

mach_x86_c1e_disable is called from non-__init function mach_x86_init, thus can't be tagged as __init. mach_x86_init can't be converted as it is referenced by the persistent xnarch_machdesc structure.

Well, it seems to me that mach_x86_init truly is an init function, is not there any other way to fix this?

Signature · 1 line
Gilles.
#2 lore raw
Quoted 9 lines · Gilles Chanteperdrix
Quoted 8 lines · git repository hosting
Module: xenomai-jki
Branch: for-forge
Commit: dcac4e7a3e7ccf19e4b38169e7c89eb88c821483
URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=dcac4e7a3e7ccf19e4b38169e7c89eb88c821483
Author: Jan Kiszka <[email protected]>
Date:   Wed Jul  9 17:50:30 2014 +0200
Quoted 8 lines
Quoted 5 lines

arch/x86: Fix section mismatch warning for mach_x86_c1e_disable

mach_x86_c1e_disable is called from non-__init function mach_x86_init, thus can't be tagged as __init. mach_x86_init can't be converted as it is referenced by the persistent xnarch_machdesc structure.

Well, it seems to me that mach_x86_init truly is an init function, is not there any other way to fix this?

I do not see any due the pointed out conflict around that data structure.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
#3 lore raw
In reply to Gilles Chanteperdrix
Quoted 9 lines · Gilles Chanteperdrix
Quoted 8 lines · git repository hosting
Module: xenomai-jki
Branch: for-forge
Commit: dcac4e7a3e7ccf19e4b38169e7c89eb88c821483
URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=dcac4e7a3e7ccf19e4b38169e7c89eb88c821483
Author: Jan Kiszka <[email protected]>
Date:   Wed Jul  9 17:50:30 2014 +0200
Quoted 8 lines
Quoted 5 lines

arch/x86: Fix section mismatch warning for mach_x86_c1e_disable

mach_x86_c1e_disable is called from non-__init function mach_x86_init, thus can't be tagged as __init. mach_x86_init can't be converted as it is referenced by the persistent xnarch_machdesc structure.

Well, it seems to me that mach_x86_init truly is an init function, is not there any other way to fix this?

Ping (due to lack of alternatives).

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
#4 lore raw
Quoted 12 lines · Jan Kiszka
Quoted 11 lines · Gilles Chanteperdrix
Quoted 10 lines · git repository hosting
Module: xenomai-jki
Branch: for-forge
Commit: dcac4e7a3e7ccf19e4b38169e7c89eb88c821483
URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=dcac4e7a3e7ccf19e4b38169e7c89eb88c821483
Author: Jan Kiszka <[email protected]>
Date:   Wed Jul  9 17:50:30 2014 +0200

arch/x86: Fix section mismatch warning for mach_x86_c1e_disable

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

mach_x86_c1e_disable is called from non-__init function mach_x86_init, thus can't be tagged as __init. mach_x86_init can't be converted as it is referenced by the persistent xnarch_machdesc structure.

Well, it seems to me that mach_x86_init truly is an init function, is not there any other way to fix this?

Ping (due to lack of alternatives).

It is fine by me.

Signature · 1 line
                                                                Gilles.