lkml.org 
[lkml]   [2009]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectQuestion: drivers/misc/hdpuftrs
    Date
    From
    Hello all,

    Are the drivers in drivers/misc/hdpuftrs dead?

    I can't locate anywhere to enable CONFIG_HDPU_FEATURES. Also, both
    hdpu_cpustate.c and hdpu_nexus.c register as platform drivers but I
    can't find any users in the mainline tree.

    Both drivers seem kind of... ugly...

    hdpu_cpustate.c does a lock_kernel() in the open file_operation. Then
    does a spin_lock() when checking if the open is O_EXCL.

    I'm no expert on locking but the lock_kernel() seems unnecessary.

    Regards,
    Hartley


    \
     
     \ /
      Last update: 2009-12-12 01:59    [W:4.109 / U:0.376 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site