--=_courier-24518-1054462280-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Mime-Autoconverted: from 8bit to 7bit by courier 0.39
This patch changes some of the core stuff touched by
64-bit-dev_t-kdev_t.patch (the driver stuff is left alone) to use
explicitly sized types (ie, __u64). The only really controvertial part of
it is the inclusion of asm/types.h in asm/posix_types.h; since asm/types.h
only (on most archs) defines the standard {u,s}{8,16,32,64} types and
umode_t, I don't think namespace pollution will be much of an issue...
--=_courier-24518-1054462280-0001-2
Content-Type: application/octet-stream; name="64-bit-explicit-types.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="64-bit-explicit-types.patch"
ZGlmZiAteCB7YXJjaH0gLXVyTiBsaW51eC1wYXRjaC0xL2luY2x1ZGUvYXNtLWkzODYvcG9zaXhf
dHlwZXMuaCBsaW51eC1wYXRjaC0yL2luY2x1ZGUvYXNtLWkzODYvcG9zaXhfdHlwZXMuaAotLS0g
bGludXgtcGF0Y2gtMS9pbmNsdWRlL2FzbS1pMzg2L3Bvc2l4X3R5cGVzLmgJMjAwMy0wNi0wMSAw
NDozODozOS4wMDAwMDAwMDAgLTA0MDAKKysrIGxpbnV4LXBhdGNoLTIvaW5jbHVkZS9hc20taTM4
Ni9wb3NpeF90eXBlcy5oCTIwMDMtMDYtMDEgMDQ6NDM6MTAuMDAwMDAwMDAwIC0wNDAwCkBAIC0x
LDE1ICsxLDE1IEBACiAjaWZuZGVmIF9fQVJDSF9JMzg2X1BPU0lYX1RZUEVTX0gKICNkZWZpbmUg
X19BUkNIX0kzODZfUE9TSVhfVFlQRVNfSAogCisjaW5jbHVkZSA8YXNtL3R5cGVzLmg+CisKIC8q
CiAgKiBUaGlzIGZpbGUgaXMgZ2VuZXJhbGx5IHVzZWQgYnkgdXNlci1sZXZlbCBzb2Z0d2FyZSwg
c28geW91IG5lZWQgdG8KICAqIGJlIGEgbGl0dGxlIGNhcmVmdWwgYWJvdXQgbmFtZXNwYWNlIHBv
bGx1d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IsIF9f
bWkgPSBtaW5vciwgX19ib3RoID0gKF9fbWEgfCBfX21pKTsgXAogICAgKChzaXplb2YoZGV2X3Qp
ID4gNCAmJiAoX19ib3RoICYgfjB4ZmZmZikpID8gKCgoZGV2X3QpIF9fbWEpIDw8IDMyKSA6IFwK
ICAgICAoX19ib3RoICYgfjB4ZmYpID8gKCgoZGV2X3QpIF9fbWEpIDw8IDE2KSA6ICgoKGRldl90
KSBfX21hKSA8PCA4KSBcCiAgICApIHwgX19taTsgfSkKQEAgLTkxLDE1ICs5MSwxNSBAQAogCiBz
dGF0aWMgaW5saW5lIGRldl90IGtkZXZfdF90b19ucihrZGV2X3QgZGV2KQogewotCXVuc2lnbmVk
IGludCBtYSA9IG1ham9yKGRldik7Ci0JdW5zaWduZWQgaW50IG1pID0gbWlub3IoZGV2KTsKKwlf
X3UzMiBtYSA9IG1ham9yKGRldik7CisJX191MzIgbWkgPSBtaW5vcihkZXYpOwogCXJldHVybiBN
S0RFVihtYSwgbWkpOwogfQogCiBzdGF0aWMgaW5saW5lIGtkZXZfdCB0b19rZGV2X3QoZGV2X3Qg
ZGV2KQogewotCXVuc2lnbmVkIGludCBtYSA9IE1BSk9SKGRldik7Ci0JdW5zaWduZWQgaW50IG1p
ID0gTUlOT1IoZGV2KTsKKwlfX3UzMiBtYSA9IE1BSk9SKGRldik7CisJX191MzIgbWkgPSBNSU5P
UihkZXYpOwogCXJldHVybiBta19rZGV2KG1hLCBtaSk7CiB9CiAK
--=_courier-24518-1054462280-0001-2--