[PATCH] DevFS support for /dev/cpu/X/(cpuid|msr)

From: Matt Dainty (matt@bodgit-n-scarper.com)
Date: Sun Jan 06 2002 - 13:17:49 EST


Hi,

Please find attached a patch to add support for devfs to the i386 cpuid and
msr drivers. Not only that, but it fixes a problem with loading these
drivers as modules in that the exit hooks on the module never run, (simply
changing the function prototypes to include 'static' seems to fix this).

Patch is against 2.4.17. SMP environment isn't tested, but I can't see any
reason why it wouldn't work...

Cheers

Matt

-- 
"Phased plasma rifle in a forty-watt range?"
"Hey, just what you see, pal"


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:31 EST