Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932124AbXIMVha (ORCPT ); Thu, 13 Sep 2007 17:37:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756255AbXIMVhV (ORCPT ); Thu, 13 Sep 2007 17:37:21 -0400 Received: from terminus.zytor.com ([198.137.202.10]:41633 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757380AbXIMVhU (ORCPT ); Thu, 13 Sep 2007 17:37:20 -0400 Message-ID: <46E9AD88.7070400@zytor.com> Date: Thu, 13 Sep 2007 14:37:12 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: Pavel Machek CC: Jeff Chua , Linux Kernel Mailing List Subject: ACPI video mode patch review X-Enigmail-Version: 0.95.0 Content-Type: multipart/mixed; boundary="------------090207030104020907090803" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9484 Lines: 145 This is a multi-part message in MIME format. --------------090207030104020907090803 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Pavel, want to look at the patch before sending it to Linus? --- THIS IS NOT (YET) A PULL REQUEST --- -hpa --------------090207030104020907090803 Content-Type: text/plain; name="msg" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="msg" RnJvbTogSC4gUGV0ZXIgQW52aW4gPGhwYUB6eXRvci5jb20+ClRvOiBMaW51cyBUb3J2YWxk cyA8dG9ydmFsZHNAbGludXgtZm91bmRhdGlvbi5vcmc+CkNjOiBMaW51eCBLZXJuZWwgTWFp bGluZyBMaXN0IDxsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnPgpCY2M6IEguIFBldGVy IEFudmluIDxocGErc2VudEB6eXRvci5jb20+ClN1YmplY3Q6IFtHSVQgUFVMTF0gRml4IGRl Y29kaW5nIG9mIHZpZGVvIG1vZGUgbnVtYmVycyBpbiBhY3BpL3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TsKIAkJfQpAQCAtMjIzLDYgKzIyNSw3 IEBAIHN0YXRpYyB2b2lkIHZnYV9yZWNhbGNfdmVydGljYWwodm9pZCkKIHN0YXRpYyBpbnQg c2V0X21vZGUodTE2IG1vZGUpCiB7CiAJaW50IHJ2OworCXUxNiByZWFsX21vZGU7CiAKIAkv KiBWZXJ5IHNwZWNpYWwgbW9kZSBudW1iZXJzLi4uICovCiAJaWYgKG1vZGUgPT0gVklERU9f Q1VSUkVOVF9NT0RFKQpAQCAtMjMyLDEzICsyMzUsMTYgQEAgc3RhdGljIGludCBzZXRfbW9k ZSh1MTYgbW9kZSkKIAllbHNlIGlmIChtb2RlID09IEVYVEVOREVEX1ZHQSkKIAkJbW9kZSA9 IFZJREVPXzhQT0lOVDsKIAotCXJ2ID0gcmF3X3NldF9tb2RlKG1vZGUpOworCXJ2ID0gcmF3 X3NldF9tb2RlKG1vZGUsICZyZWFsX21vZGUpOwogCWlmIChydikKIAkJcmV0dXJuIHJ2Owog CiAJaWYgKG1vZGUgJiBWSURFT19SRUNBTEMpCiAJCXZnYV9yZWNhbGNfdmVydGljYWwoKTsK IAorCS8qIFNhdmUgdGhlIGNhbm9uaWNhbCBtb2RlIG51bWJlciBmb3IgdGhlIGtlcm5lbCwg bm90CisJICAgYW4gYWxpYXMsIHNpemUgc3BlY2lmaWNhdGlvbiBvciBtZW51IHBvc2l0aW9u ICovCisJYm9vdF9wYXJhbXMuaGRyLnZpZF9tb2RlID0gcmVhbF9tb2RlOwogCXJldHVybiAw OwogfQogCg== --------------090207030104020907090803-- - 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/