Per process DSCR + somefixes (try#3)

Alexey Kardashevskiy aik at au1.ibm.com
Wed Feb 16 16:38:58 EST 2011


step1: http://patchwork.ozlabs.org/patch/71489/
step2: http://patchwork.ozlabs.org/patch/81423/

In step2 I defined sysfs node as:

static SYSDEV_ATTR(dscr_default, 0600, show_dscr_default, 
store_dscr_default);

and it caused problems with rhel6.
Now it is:

static SYSDEV_CLASS_ATTR(dscr_default, 0600, show_dscr_default, 
store_dscr_default);

It works now on both 2.6.32 and 2.6.36 but is that correct?

-- 
Alexey Kardashevskiy
IBM OzLabs, LTC Team

e-mail/sametime: aik at au1.ibm.com
notes: Alexey Kardashevskiy/Australia/IBM


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dscr.2.patch
Type: text/x-patch
Size: 7077 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110216/67e02ef2/attachment.bin>


More information about the Linuxppc-dev mailing list