Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761788AbZLLA5H (ORCPT ); Fri, 11 Dec 2009 19:57:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758212AbZLLA5D (ORCPT ); Fri, 11 Dec 2009 19:57:03 -0500 Received: from exprod6ob113.obsmtp.com ([64.18.1.30]:42602 "EHLO psmtp.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756207AbZLLA5C convert rfc822-to-8bit (ORCPT ); Fri, 11 Dec 2009 19:57:02 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Subject: Question: drivers/misc/hdpuftrs Date: Fri, 11 Dec 2009 19:57:10 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question: drivers/misc/hdpuftrs Thread-Index: Acp6xgkCZteRaiEzRmipluJjNFs8IA== From: "H Hartley Sweeten" To: "kernel list" X-OriginalArrivalTime: 12 Dec 2009 00:57:08.0422 (UTC) FILETIME=[07AAAE60:01CA7AC6] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 735 Lines: 22 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/