Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933070Ab1FWTSd (ORCPT ); Thu, 23 Jun 2011 15:18:33 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:60603 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932600Ab1FWTSa (ORCPT ); Thu, 23 Jun 2011 15:18:30 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NsrJfFDzhS6Br6FHASZAdBF/+SFOVAdXp5za7gU/SsumozS2UAZ9jsOT+Vck8qkCD7 7IpO3a1PtPYY37qawxUHNJanst63/qRymK3t+9skTRKZa6RUU6tk+wr7PEkU3u1WHw+U L3dNMQR1zinZcfsDR/FsomaX17hpVoHaKjixA= MIME-Version: 1.0 In-Reply-To: <20110623163105.GC16892@linux-mips.org> References: <20110623114536.GA14011@linux-mips.org> <20110623163105.GC16892@linux-mips.org> Date: Thu, 23 Jun 2011 15:18:27 -0400 Message-ID: Subject: Re: [PATCH] STAGING: Comedi: Build only on arches providing PAGE_KERNEL_NOCACHE From: Arnaud Lacombe To: Ralf Baechle Cc: Geert Uytterhoeven , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, David Howells , linux-m32r@ml.linux-m32r.org, linux-m32r-ja@ml.linux-m32r.org, linux-am33-list@redhat.com, Paul Mundt , linux-sh@vger.kernel.org, Chris Metcalf , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-arch@vger.kernel.org, Michal Marek , linux-kbuild@vger.kernel.org Content-Type: multipart/mixed; boundary=bcaec521627119bf0a04a665f307 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7215 Lines: 124 --bcaec521627119bf0a04a665f307 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, On Thu, Jun 23, 2011 at 12:31 PM, Ralf Baechle wrote: > On Thu, Jun 23, 2011 at 06:01:47PM +0200, Geert Uytterhoeven wrote: > >> If only to get m68k/allmodconfig going again (hmm, there's another >> staging driver >> preventing a green light). > > I ran into this doing an allyesconfig. =A0Allyesconfig has one disadvanta= ge, > for choice it will only select the first or default option which means > that option gets exercised well and all the other options not at all. =A0= On > MIPS that'd be IP22, 32-bit, R4x00, big endian, 4K pages, no multithreadi= ng, > 250Hz. =A0Make randconfig disables lots of things so often misses the > opportunity to trigger some issues. > > I'd really want an "make allrandconfig" which enables as many options as > possible but picks a random one from choice statements, something like th= at. > Something like the attached patch ? [sorry for the attachment, gmail is so much a PITA for that ...] - Arnaud ps: the patch breaks all the others *config target. > =A0Ralf > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" i= n > the body of a message to majordomo@vger.kernel.org > More majordomo info at =A0http://vger.kernel.org/majordomo-info.html > --bcaec521627119bf0a04a665f307 Content-Type: text/x-patch; charset=US-ASCII; name="0001-allyesrandchoiceconfig.patch" Content-Disposition: attachment; filename="0001-allyesrandchoiceconfig.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gpa3fc6w0 RnJvbSBmNGIxNWY4YWMyN2NlMDkxM2NiNGRjYTBiMGUyNmYxYWFmMzAwMjVlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBcm5hdWQgTGFjb21iZSA8bGFjb21iYXJAZ21haWwuY29tPgpE YXRlOiBUaHUsIDIzIEp1biAyMDExIDE1OjExOjI0IC0wNDAwClN1YmplY3Q6IFtQQVRDSF0gYWxs eWVzcmFuZGNob2ljZWNvbmZpZwoKLS0tCiBzY3JpcHRzL2tjb25maWcvTWFrZWZpbGUgICB8ICAg IDIgKy0KIHNjcmlwdHMva2NvbmZpZy9jb25mLmMgICAgIHwgICAgNyArKysrKysrCiBzY3JpcHRz L2tjb25maWcvY29uZmRhdGEuYyB8ICAgMTQgKysrKysrKysr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bmZfZ2V0X2RlZmF1bHRfY29uZm5hbWUodm9pZCk7CiB2 b2lkIHN5bV9zZXRfY2hhbmdlX2NvdW50KGludCBjb3VudCk7CiB2b2lkIHN5bV9hZGRfY2hhbmdl X2NvdW50KGludCBjb3VudCk7CiB2b2lkIGNvbmZfc2V0X2FsbF9uZXdfc3ltYm9scyhlbnVtIGNv bmZfZGVmX21vZGUgbW9kZSk7Cit2b2lkIGNvbmZfc2V0X2FsbF9uZXdfY2hvaWNlX3N5bWJvbHMo ZW51bSBjb25mX2RlZl9tb2RlIG1vZGUpOwogCiAvKiBjb25mZGF0YS5jIGFuZCBleHByLmMgKi8K IHN0YXRpYyBpbmxpbmUgdm9pZCB4ZndyaXRlKGNvbnN0IHZvaWQgKnN0ciwgc2l6ZV90IGxlbiwg c2l6ZV90IGNvdW50LCBGSUxFICpvdXQpCi0tIAoxLjcuMy40LjU3NC5nNjA4Yi5kaXJ0eQoK --bcaec521627119bf0a04a665f307-- -- 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/