From: Andi Kleen Date: Tue, 1 Jul 2008 16:48:42 +0000 (+0200) Subject: sysdev: Add utility functions for simple int/ulong variable sysdev attributes X-Git-Tag: v2.6.27-rc1~866^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9800794ac11d4646384b3a310dfd1fe2eed577bf;p=pandora-kernel.git sysdev: Add utility functions for simple int/ulong variable sysdev attributes This adds a new sysdev_ext_attribute that stores a pointer to the variable it manages and some utility functions/macro to easily use them. Previously all users wrote custom macros to generate show/store functions for each variable, with this it is possible to avoid that in many cases. Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed