Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752414AbXIDAtR (ORCPT ); Mon, 3 Sep 2007 20:49:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750965AbXIDAtH (ORCPT ); Mon, 3 Sep 2007 20:49:07 -0400 Received: from mail153.messagelabs.com ([216.82.253.51]:37640 "HELO mail153.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751106AbXIDAtG (ORCPT ); Mon, 3 Sep 2007 20:49:06 -0400 X-VirusChecked: Checked X-Env-Sender: Mano.Pallewatta@motorola.com X-Msg-Ref: server-13.tower-153.messagelabs.com!1188866943!5980734!1 X-StarScan-Version: 5.5.12.14.2; banners=-,-,- X-Originating-IP: [129.188.136.8] X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C7EE8D.62D493F6" Subject: [PATCH] linux-2.6.16.51 gzipped core dump patch Date: Mon, 3 Sep 2007 20:49:00 -0400 Message-ID: <1188AA083E6C7C4EBCE34803004A84014FE921@de01exm72.ds.mot.com> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: [PATCH] linux-2.6.16.51 gzipped core dump patch Thread-Index: AcfujWIbdLWOr0P0SNWwJUyzV0LSFg== From: "Pallewatta Mano-FPCD67" To: X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 23726 Lines: 328 This is a multi-part message in MIME format. ------_=_NextPart_001_01C7EE8D.62D493F6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, The attached patch is based on Jan Frey's previous patch posted in 2004 for the Linux 2.4 kernel. It has been tested on X86 and MIPS platforms. If the core pattern doesn't end in ".gz" it will be added to the name of the core file. It's offered under GPL v2 without any warranties. If you have any questions, please contact me directly at Mano.Pallewatta "at" motorola.com.=20 Regards, Methlal (Mano) Pallewatta =20 ------_=_NextPart_001_01C7EE8D.62D493F6 Content-Type: application/octet-stream; name="gzipped_core_dump.patch" Content-Transfer-Encoding: base64 Content-Description: gzipped_core_dump.patch Content-Disposition: attachment; filename="gzipped_core_dump.patch" LS0tIGxpbnV4LTIuNi4xNi41MS9mcy9iaW5mbXRfZWxmLmMJMjAwNy0wNy0zMCAxODozMTo1MC4w MDAwMDAwMDAgLTA3MDAKKysrIGxpbnV4LTIuNi4xNi41MS9mcy9iaW5mbXRfZWxmLmMJMjAwNy0w Ny0zMSAwMDozODoxOC4wMDAwMDAwMDAgLTA3MDAKQEAgLTksNiArOSw3IEBACiAgKiBDb3B5cmln aHQgMTk5MywgMTk5NDogRXJpYyBZb3VuZ2RhbGUgKGVyaWN5QGNhaXMuY29tKS4KICAqLwogCisj aW5jbHVkZSA8bGludXgvY29uZmlnLmg+CiAjaW5jbHVkZSA8bGludXgvbW9kdWxlLmg+CiAjaW5j bHVkZSA8bGludXgva2VybmVsLmg+CiAjaW5jbHVkZSA8bGludXgvZnMuaD4KQEAgLTYwLDYgKzYx LDIwIEBACiAgKi8KICNpZiBkZWZpbmVkKFVTRV9FTEZfQ09SRV9EVU1QKSAmJiBkZWZpbmVkKENP TkZJR19FTEZfQ09SRSkKIHN0YXRpYyBpbnQgZWxmX2NvcmVfZHVtcChsb25nIHNpZ25yLCBzdHJ1 Y3QgcHRfcmVncyAqIHJlZ3MsIHN0cnVjdCBmaWxlICogZmlsZSk7CisKKyNpZmRlZiBDT05GSUdf R1pJUF9DT1JFRFVNUFMKKworLyoKKyAqIEZ1bmN0aW9ucyBhZGRlZCB0byBzdXBwb3J0IHdyaXRp bmcgY29yZSBmaWxlcyBpbiBnemlwcGVkIGZvcm1hdCwgMjAwNAorICogSmFuIEZyZXkgPGphbi5m cmV5QG5va2lhLmNvbT4KKyAqIE1hbm8gUGFsbGV3YXR0YSA8TWFuby5QYWxsZXdhdHRhQG1vdG9y b2xhLmNvbT4KKyAqLworI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WxlLT5mX3BvcykgPT0gbnI7CisgICAgICAg aW50ICAgICAgIGFsbF9maW5lICAgICA9IDE7CisKKyAgICAgICAqY3JjID0gY3JjMzJfbGUgKCpj cmMsIGFkZHIsIG5yKTsKKworICAgICAgIHpzdHItPm5leHRfaW4gID0gKHZvaWQgKilhZGRyOwor ICAgICAgIHpzdHItPmF2YWlsX2luID0gbnI7CisKKyAgICAgICBkbyB7CisgICAgICAgICAgICAg ICB6c3RyLT5uZXh0X291dCAgPSBvdXRfYnVmOworICAgICAgICAgICAgICAgenN0ci0+YXZhaWxf b3V0ID0gT1VUX0JVRl9TSVpFOworCisgICAgICAgICAgICAgICBpZiAoemxpYl9kZWZsYXRlICh6 c3RyLCBaX05PX0ZMVVNIKSA9PSBaX09LKSB7CisgICAgICAgICAgICAgICAgICAgICAgIC8qIG5l dyBvdXRwdXQgZ2VuZXJhdGVkICovCisgICAgICAgICAgICAgICAgICAgICAgIGFsbF9maW5lID0g KGZpbGUtPmZfb3AtPndyaXRlIChmaWxlLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgb3V0X2J1ZiwKKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE9VVF9CVUZfU0laRSAtIHpzdHItPmF2YWls X291dCwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICZmaWxlLT5mX3BvcykKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPT0g KE9VVF9CVUZfU0laRSAtIHpzdHItPmF2YWlsX291dCkpOworICAgICAgICAgICAgICAgfQorICAg ICAgIH0gd2hpbGUgKCh6c3RyLT5hdmFpbF9vdXQgIT0gT1VUX0JVRl9TSVpFKSAmJiBhbGxfZmlu ZSk7CisKKyAgICAgICByZXR1cm4gYWxsX2ZpbmU7CiB9CiAKK3N0YXRpYyBpbnQgZ3pfZmluaXNo IChzdHJ1Y3QgZmlsZSAqZmlsZSwgel9zdHJlYW1wIHpzdHIsIHZvaWQgKm91dF9idWYpCit7Cisg ICAgICAgaW50ICAgICAgIGFsbF9maW5lICAgICA9IDE7CisgICAgICAgaW50ICAgICAgIHJldDsK KworICAgICAgIHpzdHItPm5leHRfaW4gICA9IDA7CisgICAgICAgenN0ci0+YXZhaWxfaW4gID0g MDsKKworICAgICAgIGRvIHsKKyAgICAgICAgICAgICAgIHpzdHItPm5leHRfb3V0ICA9IG91dF9i dWY7CisgICAgICAgICAgICAgICB6c3RyLT5hdmFpbF9vdXQgPSBPVVRfQlVGX1NJWkU7CisKKyAg ICAgICAgICAgICAgIHJldCA9IHpsaWJfZGVmbGF0ZSAoenN0ciwgWl9GSU5JU0gpOworICAgICAg ICAgICAgICAgaWYgKChyZXQgPT0gWl9PSykgfHwgKHJldCA9PSBaX1NUUkVBTV9FTkQpKSB7Cisg ICAgICAgICAgICAgICAgICAgICAgIC8qIG5ldyBvdXRwdXQgZ2VuZXJhdGVkICovCisgICAgICAg ICAgICAgICAgICAgICAgIGFsbF9maW5lID0gKGZpbGUtPmZfb3AtPndyaXRlIChmaWxlLAorICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvdXRfYnVm LAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBP VVRfQlVGX1NJWkUgLSB6c3RyLT5hdmFpbF9vdXQsCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICZmaWxlLT5mX3BvcykKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgPT0gKE9VVF9CVUZfU0laRSAtIHpzdHItPmF2YWlsX291dCkp OworICAgICAgICAgICAgICAgfQorICAgICAgIH0gd2hpbGUgKCh6c3RyLT5hdmFpbF9vdXQgIT0g T1VUX0JVRl9TSVpFKSAmJiBhbGxfZmluZSAmJiAocmV0ICE9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ZWxmX25vdGUgZW47Cisg ICAgICAgaW50IGR1bW15X2J5dGVzOworCisgICAgICAgZW4ubl9uYW1lc3ogPSBzdHJsZW4obWVu LT5uYW1lKSsxOworICAgICAgIGVuLm5fZGVzY3N6ID0gbWVuLT5kYXRhc3o7CisgICAgICAgZW4u bl90eXBlID0gbWVuLT50eXBlOworCisgICAgICAgRFVNUF9HWigmZW4sIHNpemVvZihlbiksIGNy YywgenN0ciwgb3V0X2J1Zik7CisgICAgICAgRFVNUF9HWihtZW4tPm5hbWUsIGVuLm5fbmFtZXN6 LCBjcmMsIHpzdHIsIG91dF9idWYpOworCisgICAgICAgZHVtbXlfYnl0ZXMgPSByb3VuZHVwKCh1 bnNpZ25lZCBsb25nKXpzdHItPnRvdGFsX2luLCA0KSAtIHpzdHItPnRvdGFsX2luOworICAgICAg IFBBRF9HWihkdW1teV9ieXRlcywgYnVmLCBjcmMsIHpzdHIsIG91dF9idWYpOworCisgICAgICAg RFVNUF9HWihtZW4tPmRhdGEsIG1lbi0+ZGF0YXN6LCBjcmMsIHpzdHIsIG91dF9idWYpOworCisg ICAgICAgZHVtbXlfYnl0ZXMgPSByb3VuZHVwKCh1bnNpZ25lZCBsb25nKXpzdHItPnRvdGFsX2lu LCA0KSAtIHpzdHItPnRvdGFsX2luOworICAgICAgIFBBRF9HWihkdW1teV9ieXRlcywgYnVmLCBj cmMsIHpzdHIsIG91dF9idWYpOwogCisgICAgICAgcmV0dXJuIDE7Cit9CisjdW5kZWYgRFVNUF9H WgorI2Vsc2UKIHN0YXRpYyBpbnQgd3JpdGVub3RlKHN0cnVjdCBtZW1lbGZub3RlICptZW4sIHN0 cnVjdCBmaWxlICpmaWxlKQogewogCXN0cnVjdCBlbGZfbm90ZSBlbjsKQEAgLTEyMTQsMTMgKzEz MzAsMjAgQEAKIH0KICN1bmRlZiBEVU1QX1dSSVRFCiAjdW5kZWYgRFVNUF9TRUVLCisjZW5kaWYK IAorI2lmZGVmIENPTkZJR19HWklQX0NPUkVEV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RfYnVmID0gTlVM TDsKKyAgICAgICB2b2lkICplbXB0eV9idWYgPSBOVUxMOworCisgICAgICAgb3V0X2J1ZiA9IHZt YWxsb2MoT1VUX0JVRl9TSVpFKTsKKyAgICAgICBpZiAoIW91dF9idWYpIHsKKyAgICAgICAgIHBy aW50ayhLRVJOX1dBUk5JTkcgIkZhaWxlZCB0byBhbGxvY2F0ZSBkZWZsYXRlIGJ1ZmZlciIpOwor ICAgICAgICAgcmV0dXJuIC1FTk9NRU07CisgICAgICAgfQorCisgICAgICAgZW1wdHlfYnVmID0g dm1hbGxvYygxMDI0KTsKKyAgICAgICBpZiAoIWVtcHR5X2J1ZikgeworICAgICAgICAgdmZyZWUo b3V0X2J1Zik7CisgICAgICAgICBwcmludGsoS0VSTl9XQVJOSU5HICJGYWlsZWQgdG8gYWxsb2Nh dGUgbWVtb3J5IGZvciBkdW1teSBidWZmZXJcbiIpOworICAgICAgICAgcmV0dXJuIC1FTk9NRU07 CisgICAgICAgfQorCisgICAgICAgZGVmbGF0ZV93b3Jrc3BhY2UgPSB2bWFsbG9jKHpsaWJfZGVm bGF0ZV93b3Jrc3BhY2VzaXplKCkpOworICAgICAgICAgaWYgKCFkZWZsYXRlX3dvcmtzcGFjZSkg eworICAgICAgICAgICB2ZnJlZShvdXRfYnVmKTsKKyAgICAgICAgICAgdmZyZWUoZW1wdHlfYnVm KTsKKyAgICAgICAgICAgcHJpbnRrKEtFUk5fV0FSTklORyAiRmFpbGVkIHRvIGFsbG9jYXRlIGRl ZmxhdGUgd29ya3NwYWNlXG4iKTsKKyAgICAgICAgICAgcmV0dXJuIC1FTk9NRU07CisgICAgICAg IH0KKworICAgICAgIGd6X3N0cmVhbS53b3Jrc3BhY2UgPSBkZWZsYXRlX3dvcmtzcGFjZTsKKyAg ICAgICBpZiAoWl9PSyAhPSB6bGliX2RlZmxhdGVJbml0MigmZ3pfc3RyZWFtLAorICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIDcsIC8qIGNvbXByZXNzaW9uIGxldmVsICovCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWl9ERUZMQVRFRCwKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAtMTUsIC8qIHdpbmRvdyBiaXRzICovCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgNiwgLyogbWVtIGxldmVsICovCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWl9ERUZBVUxUX1NUUkFURUdZKSkgewor ICAgICAgICAgICAgICAgcHJpbnRrKEtFUk5fV0FSTklORyAiZGVmbGF0ZUluaXQgZmFpbGVkXG4i KTsKKyAgICAgICAgICAgdmZyZWUob3V0X2J1Zik7CisgICAgICAgICAgIHZmcmVlKGVtcHR5X2J1 Zik7CisgICAgICAgICAgIHZmcmVlKGRlZmxhdGVfd29ya3NwYWNlKTsKKyAgICAgICAgICAgcmV0 dXJuIC1FTk9NRU07CisgICAgICAgIH0KKworICAgICAgIG1lbXNldCAoZW1wdHlfYnVmLCAwLCAx MDI0KTsKKyNlbmRpZgogCiAJLyoKIAkgKiBXZSBubyBsb25nZXIgc3RvcCBhbGwgVk0gb3BlcmF0 aW9ucy4KQEAgLTE1MzUsNyArMTcwNCwxNSBAQAogCWZzID0gZ2V0X2ZzKCk7CiAJc2V0X2ZzKEtF Uk5FTF9EUyk7CiAKKyNpZmRlZiBDT05GSUdfR1pJUF9DT1JFRFVNUFMKKyAgICAgICAgLyogd3Jp dGUgZ3ppcCBoZWFkZXIgKi8KKyAgICAgICAgRFVNUF9XUklURShnel9tYWdpYywgMTApOworCisg ICAgICAgIC8qIHdyaXRlIGVsZiBoZWFkZXIgKi8KKyAgICAgICAgRFVNUF9HWihlbGYsIHNpemVv ZigqZWxmKSwgJmNyYywgJmd6X3N0cmVhbSwgb3V0X2J1Zik7CisjZWxzZQogCURVTVBfV1JJVEUo ZWxmLCBzaXplb2YoKmVsZikpOworI2VuZGlmCiAJb2Zmc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MTIuMDAwMDAw MDAwIC0wNzAwCkBAIC0xNDksNiArMTQ5LDggQEAKICAqIGEgZGVidWdnZXIgbmVlZHMgdG8gZWFz aWx5IGZpbmQgaG93IHRoZSB2c3lzY2FsbCBEU08gd2FzIGJlaW5nIHVzZWQuCiAgKi8KICNkZWZp bmUgRUxGX0NPUkVfRVhUUkFfUEhEUlMJCShWU1lTQ0FMTF9FSERSLT5lX3BobnVtKQorCisjaWZk ZWYgQ09ORklHX0daSVBfQ09SRURVTVBTCiAjZGVmaW5lIEVMRl9DT1JFX1dSSVRFX0VYVFJBX1BI RFJTCQkJCQkgICAgICBcCiBkbyB7CQkJCQkJCQkJICAgICAgXAogCWNvbnN0IHN0cnVjdCBlbGZf cGhkciAqY29uc3QgdnN5c2NhbGxfcGhkcnMgPQkJCSAgICAgIFwKQEAgLTE2OCw5ICsxNzAsNDkg QEAKIAkJZWxzZQkJCQkJCQkgICAgICBcCiAJCQlwaGRyLnBfb2Zmc2V0ICs9IG9mczsJCQkJICAg ICAgXAogCQlwaGRyLnBfcGFkZHIgPSAwOyAvKiBtYXRjaCBvdGhlciBjb3JlIHBoZHJzICovCQkg ICAgICBcCi0JCURVTVBfV1JJVEUoJnBoZHIsIHNpemVvZihwaGRyKSk7CQkJICAgICAgXAorICAg ICAgICAgICAgICAgIERVTVBfR1ooJnBoZHIsIHNpemVvZihwaGRyKSwgJmNyYywgJmd6X3N0cmVh bSwgb3V0X2J1Zik7ICAgICAgXAogCX0JCQkJCQkJCSAgICAgIFwKIH0gd2hpbGUgKDApCisjZWxz ZQorI2RlZmluZSBFTEZfQ09SRV9XUklURV9FWFRSQV9QSERSUyAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgXAorZG8geyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAg ICBjb25zdCBzdHJ1Y3QgZWxmX3BoZHIgKmNvbnN0IHZzeXNjYWxsX3BoZHJzID0gICAgICAgICAg ICAgICAgICAgICAgICAgXAorICAgICAgICAgICAgICAgIChjb25zdCBzdHJ1Y3QgZWxmX3BoZHIg KikgKFZTWVNDQUxMX0JBU0UgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICsgVlNZU0NBTExfRUhEUi0+ZV9waG9mZik7ICAg ICAgICAgXAorICAgICAgICBpbnQgaTsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICBFbGYzMl9PZmYgb2ZzID0g MDsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAor ICAgICAgICBmb3IgKGkgPSAwOyBpIDwgVlNZU0NBTExfRUhEUi0+ZV9waG51bTsgKytpKSB7ICAg ICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICAgICAgICAgIHN0cnVjdCBlbGZfcGhkciBw aGRyID0gdnN5c2NhbGxfcGhkcnNbaV07ICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICAg ICAgICAgIGlmIChwaGRyLnBfdHlwZSA9PSBQVF9MT0FEKSB7ICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgXAorICAgICAgICAgICAgICAgICAgICAgICAgQlVHX09OKG9mcyAhPSAwKTsg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICAgICAgICAgICAg ICAgICAgb2ZzID0gcGhkci5wX29mZnNldCA9IG9mZnNldDsgICAgICAgICAgICAgICAgICAgICAg ICAgXAorICAgICAgICAgICAgICAgICAgICAgICAgcGhkci5wX21lbXN6ID0gUEFHRV9BTElHTihw aGRyLnBfbWVtc3opOyAgICAgICAgICAgICAgXAorICAgICAgICAgICAgICAgICAgICAgICAgcGhk ci5wX2ZpbGVzeiA9IHBoZHIucF9tZW1zejsgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAg ICAgICAgICAgICAgICAgICAgICAgb2Zmc2V0ICs9IHBoZHIucF9maWxlc3o7ICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgXAorICAgICAgICAgICAgICAgIH0gICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICAgICAg ICAgIGVsc2UgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgXAorICAgICAgICAgICAgICAgICAgICAgICAgcGhkci5wX29mZnNldCArPSBvZnM7 ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICAgICAgICAgIHBoZHIu cF9wYWRkciA9IDA7IC8qIG1hdGNoIG90aGVyIGNvcmUgcGhkcnMgKi8gICAgICAgICAgICAgICAg XAorICAgICAgICAgICAgICAgIERVTVBfV1JJVEUoJnBoZHIsIHNpemVvZihwaGRyKSk7ICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgXAorICAgICAgICB9ICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXAorfSB3aGls ZSAoMCkKKyNlbmRpZgorCisjaWZkZWYgQ09ORklHX0daSVBfQ09SRURVTVBTCisjZGVmaW5lIEVM Rl9DT1JFX1dSSVRFX0VYVFJBX0RBVEEgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBcCitkbyB7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcCisgICAgICAgIGNvbnN0IHN0cnVj dCBlbGZfcGhkciAqY29uc3QgdnN5c2NhbGxfcGhkcnMgPSAgICAgICAgICAgICAgICAgICAgICAg ICBcCisgICAgICAgICAgICAgICAgKGNvbnN0IHN0cnVjdCBlbGZfcGhkciAqKSAoVlNZU0NBTExf QkFTRSAgICAgICAgICAgICAgICAgICAgICBcCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgKyBWU1lTQ0FMTF9FSERSLT5lX3Bob2ZmKTsgICAgICAgICBcCisgICAg ICAgIGludCBpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBcCisgICAgICAgIGZvciAoaSA9IDA7IGkgPCBWU1lTQ0FMTF9FSERS LT5lX3BobnVtOyArK2kpIHsgICAgICAgICAgICAgICAgICAgICAgICBcCisgICAgICAgICAgICAg ICAgaWYgKHZzeXNjYWxsX3BoZHJzW2ldLnBfdHlwZSA9PSBQVF9MT0FEKSAgICAgICAgICAgICAg ICAgICAgICBcCisJCQlEVU1QX0daKCh2b2lkICopIHZzeXNjYWxsX3BoZHJzW2ldLnBfdmFkZHIs CSAgICAgIFwKKwkJCQkgICBQQUdFX0FMSUdOKHZzeXNjYWxsX3BoZHJzW2ldLnBfbWVtc3opLCAg ICAgXAorCQkJCSAgICZjcmMsICZnel9zdHJlYW0sIG91dF9idWYpOyAgICAgICAgICAgICAgICBc CisgICAgICAgIH0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBcCit9IHdoaWxlICgwKQorI2Vsc2UKICNkZWZpbmUgRUxG X0NPUkVfV1JJVEVfRVhUUkFfREFUQQkJCQkJICAgICAgXAogZG8gewkJCQkJCQkJCSAgICAgIFwK IAljb25zdCBzdHJ1Y3QgZWxmX3BoZHIgKmNvbnN0IHZzeXNjYWxsX3BoZHJzID0JCQkgICAgICBc CkBAIC0xODMsNiArMjI1LDcgQEAKIAkJCQkgICBQQUdFX0FMSUdOKHZzeXNjYWxsX3BoZHJzW2ld LnBfbWVtc3opKTsgICAgXAogCX0JCQkJCQkJCSAgICAgIFwKIH0gd2hpbGUgKDApCisjZW5kaWYK IAogI2VuZGlmCiAK ------_=_NextPart_001_01C7EE8D.62D493F6-- - 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/