Skip to contentSkip to conversation

pm_idle not exported on x86_64 platform

DISCUSSION Janusz Krzysztofik 2 participants 6 messages Jan 2, 2007 – Jan 4, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

Could someone please explain me why pm_idle is not exported on x86_64 platform, unlike it is on i386 (in arch/i386/kernel/process-xen.c)?
I have patched the source (arch/x86_64/kernel/process-xen.c) to export this symbol, it works for me, now I am able to load processor.ko module that depends on pm_idle. Am I missing something?

Thanks,
Janusz

#1 lore raw

It's exported by x8664_ksyms-xen.c. What kernel are you looking at?

-- Keir

Quoted 15 lines · Janusz Krzysztofik

Hi,

Could someone please explain me why pm_idle is not exported on x86_64 platform, unlike it is on i386 (in arch/i386/kernel/process-xen.c)? I have patched the source (arch/x86_64/kernel/process-xen.c) to export this symbol, it works for me, now I am able to load processor.ko module that depends on pm_idle. Am I missing something?

Thanks,
Janusz

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Re: *SPAM* Re: pm_idle not exported on x86_64 platform

Quoted 1 line · Keir Fraser

It's exported by x8664_ksyms-xen.c. What kernel are you looking at?

Debian linux-source-2.6.18 (2.6.18-7) patched with fedora-36252.patch from linux-patch-debian-2.6.18 package, running on debian packaged xen hypervisor 3.0.3 for amd64.

I can realize you would rather spend your time on development of the latest xen version, but maybe you can give me an answer if it is safe to export pm_idle symbol in the version I am using in order to be able to make use of processor.ko and thermal.ko modules, or I should expect troubles if I do this.

Thanks,
Janusz

#3 lore raw

Re: *SPAM* Re: pm_idle not exported on x86_64 platform

Quoted 5 lines · Janusz Krzysztofik

I can realize you would rather spend your time on development of the latest xen version, but maybe you can give me an answer if it is safe to export pm_idle symbol in the version I am using in order to be able to make use of processor.ko and thermal.ko modules, or I should expect troubles if I do this.

Probably okay.

-- Keir

#4 lore raw

Keir Fraser napisał(a):

Quoted 6 lines · Janusz Krzysztofik
Quoted 3 lines

... if it is safe to
export pm_idle symbol in the version I am using ..., or I should expect troubles if I do this.

Probably okay.

Thank you, I will give it a try.

Janusz