Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932419Ab3DYXXT (ORCPT ); Thu, 25 Apr 2013 19:23:19 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:44607 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932096Ab3DYXXS (ORCPT ); Thu, 25 Apr 2013 19:23:18 -0400 MIME-Version: 1.0 In-Reply-To: <51782A9D.20303@linaro.org> References: <1366828376-18124-1-git-send-email-john.stultz@linaro.org> <51782A9D.20303@linaro.org> From: Kay Sievers Date: Fri, 26 Apr 2013 01:22:56 +0200 Message-ID: Subject: Re: [PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons To: John Stultz Cc: lkml , stable , Feng Tang , Jason Gunthorpe , Thomas Gleixner Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1120 Lines: 28 On Wed, Apr 24, 2013 at 8:55 PM, John Stultz wrote: >> FWIW, in the light of the original change, I've just removed the >> /dev/rtc creation from the default udev rules now, so that thing will >> be phased out in the future. > > Is that actually wanted? What happens to applications that use /dev/rtc? > > I think setting up the /dev/rtc link is important. Its just that setting it > up exclusively by the hctosys flag is maybe more fragile then we'd like. > Instead the hctosys flag maybe should only be used as a hint if there is > more then one RTC available. Ok, convinced. I've changed the udev rules now to first "search" for the rtc with "hctosys" flag set, and if none is found, just fall back to /dev/rtc0. It should work reliably on most boxes, and still do the right thing in most cases if none of the rtcs has that flag. Thanks, Kay -- 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/