Skip to contentSkip to conversation

export the do_rdmsr/do_wrmsr function

PATCH New Rudolf Marek 2 participants 3 messages Oct 15, 2006 – Oct 18, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 export the do_rdmsr/do_wrmsr function

Hello

Following patch exports the do_rdmsr/do_wrmsr functions from msr.c driver because I need them. I think I need to rename them a bit and I'm not sure if I need the #ifdef KERNEL stuff in header files. This functions could be used also by k8edac driver (currently in -mm).

I'm open to the suggestion how to name them. Is there any policy for this?

Thanks,
Regards
Rudolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge-msr-funcs.patch
Type: text/x-patch
Size: 2489 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061015/4ac1dbe3/attachment.bin

#1 lore raw

PATCH 1/3 export the do_rdmsr/do_wrmsr function

Hello,

Here comes an updated patch. The functions are exported as msr_read and msr_write. I think I fixed the compilation isssues.

Regards
Rudolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge-msr-funcs.patch
Type: text/x-patch
Size: 4094 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061017/3c6f20db/attachment.bin

#2 lore raw

PATCH 1/3 export the do_rdmsr/do_wrmsr function

In reply to Rudolf Marek

Hello Rudolf,

2.6.19-rc2-git2 together with your latest patch-set fixes the compile problem I encountered with cpu hotplug enabled, thanks!

Am Dienstag, den 17.10.2006, 23:29 +0200 schrieb Rudolf Marek:

Quoted 11 lines

Hello,

Here comes an updated patch. The functions are exported as msr_read and msr_write. I think I fixed the compilation isssues.

Regards
Rudolf
_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Signature · 10 lines
Matthias 'CoreDump' Hentges 

My OS: Debian SID. Geek by Nature, Linux by Choice
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20061018/249ebe31/attachment.bin