[ltp] grr, forgot the patch :)
George Staikos
linux-thinkpad@www.bm-soft.com
Mon, 18 Dec 2000 22:16:53 -0500
--------------Boundary-00=_44PSH9JKLT25WSMBAUU9
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
here it is
--
George Staikos
--------------Boundary-00=_44PSH9JKLT25WSMBAUU9
Content-Type: text/x-c;
name="lanstreamer.smp.diff"
Content-Transfer-Encoding: base64
Content-Description: SMP safeness patch
Content-Disposition: attachment; filename="lanstreamer.smp.diff"
LS0tIGxhbnN0cmVhbWVyLmMJV2VkIE1heSAgMyAyMDoxNjo0MSAyMDAwCisrKyAvdXNyL3NyYy9s
aW51eC9kcml2ZXJzL25ldC9sYW5zdHJlYW1lci5jCU1vbiBEZWMgMTggMjI6MDg6MDQgMjAwMApA
QCAtNTgsNiArNTgsNyBAQAogICogICAgICAgICAgICBGaXJzdCByZWxlYXNlIHRvIHRoZSBwdWJs
aWMKICAqICAwMy8wMy8wMCAtIE1lcmdlZCB0byBrZXJuZWwsIGluZGVudGVkIC1rciAtaTggLWJy
aTAsIGZpeGVkIHNvbWUgbWlzc2luZwogICoJCW1hbGxvYyBmcmVlIGNoZWNrcywgcmV2aWV3ZWQg
Y29kZS4gPGFsYW5AcmVkaGF0LmNvbT4KKyAqICAxMi8xOC8wMCAtIE1hZGUgaXQgU01QIHNhZmUg
ICAtIEdlb3JnZSBTdGFpa29zIDxzdGFpa29zQDB3bmVkLm9yZz4KICAqICAKICAqICBUbyBEbzoK
ICAqCkBAIC0xMDgsNiArMTA5LDcgQEAKICNpbmNsdWRlIDxuZXQvY2hlY2tzdW0uaD4KIAogI2lu
Y2x1ZGUgPGFzbS9pby5oPgorI2luY2x1ZGUgPGFzbS9zcGlubG9jay5oPgogI2luY2x1ZGUgPGFz
bS9zeXN0ZW0uaD4KICNpbmNsdWRlIDxhc20vYml0b3BzLmg+CiAKQEAgLTI4NSw2ICsyODcsOCBA
QAogCXN0cmVhbWVyX3ByaXYgPSAoc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PmxvY2spLCBmbGFncyk7CiAJCXJldHVybiAwOwogCX0g
ZWxzZSB7CisgICAgICAgICAgICAgICAgc3Bpbl91bmxvY2tfaXJxcmVzdG9yZSgmKHN0cmVhbWVy
X3ByaXYtPmxvY2spLCBmbGFncyk7CiAJCXJldHVybiAxOwogCX0KIH0KLS0tIGxhbnN0cmVhbWVy
LmgJV2VkIE1heSAgMyAyMDoxNjo0MSAyMDAwCisrKyAvdXNyL3NyYy9saW51eC9kcml2ZXJzL25l
dC9sYW5zdHJlYW1lci5oCU1vbiBEZWMgMTggMTk6NTk6MzUgMjAwMApAQCAtMjgzLDYgKzI4Myw3
IEBACiAJX191MTYgc3RyZWFtZXJfYWRkcl90YWJsZV9hZGRyLCBzdHJlYW1lcl9wYXJtc19hZGRy
OwogCV9fdTE2IG1hY19yeF9idWZmZXI7CiAJX191OCBzdHJlYW1lcl9sYWFbNl07CisgICAgICAg
IHNwaW5sb2NrX3QgbG9jazsKIH07CiAKIHN0cnVjdCBzdHJlYW1lcl9hZGFwdGVyX2FkZHJfdGFi
bGUgewo=
--------------Boundary-00=_44PSH9JKLT25WSMBAUU9--
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html