Question: drivers/misc/hdpuftrs

From: H Hartley Sweeten
Date: Fri Dec 11 2009 - 19:57:33 EST


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