From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 27 02:50:03 2010 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16655106564A for ; Sat, 27 Feb 2010 02:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 057D78FC12 for ; Sat, 27 Feb 2010 02:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1R2o22h014176 for ; Sat, 27 Feb 2010 02:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1R2o2It014175; Sat, 27 Feb 2010 02:50:02 GMT (envelope-from gnats) Date: Sat, 27 Feb 2010 02:50:02 GMT Message-Id: <201002270250.o1R2o2It014175@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Alexander Best Cc: Subject: Re: kern/56451: [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU model X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2010 02:50:03 -0000 The following reply was made to PR kern/56451; it has been noted by GNATS. From: Alexander Best To: Cc: Subject: Re: kern/56451: [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU model Date: Sat, 27 Feb 2010 03:46:23 +0100 (CET) This is a MIME encoded multipart message. --+permail-2010022702462380e26a0b00001b04-a_best01+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit here's a final cleaned up patch using macros instead of direct AND's and shifts. alex --+permail-2010022702462380e26a0b00001b04-a_best01+ Content-Type: text/plain Content-Transfer-Encoding: Base64 Content-Disposition: attachment; filename="linprocfs.c.patch.txt" SW5kZXg6IHN5cy9jb21wYXQvbGlucHJvY2ZzL2xpbnByb2Nmcy5jCj09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5 cy9jb21wYXQvbGlucHJvY2ZzL2xpbnByb2Nmcy5jCShyZXZpc2lvbiAyMDQzODMpCisrKyBzeXMv Y29tcGF0L2xpbnByb2Nmcy9saW5wcm9jZnMuYwkod29ya2luZyBjb3B5KQpAQCAtMjY5LDExICsy NjksMTEgQEAKIAkJc2J1Zl9wcmludGYoc2IsCiAJCSAgICAicHJvY2Vzc29yXHQ6ICVkXG4iCiAJ CSAgICAidmVuZG9yX2lkXHQ6ICUuMjBzXG4iCi0JCSAgICAiY3B1IGZhbWlseVx0OiAlZFxuIgot CQkgICAgIm1vZGVsXHRcdDogJWRcbiIKKwkJICAgICJjcHUgZmFtaWx5XHQ6ICV1XG4iCisJCSAg ICAibW9kZWxcdFx0OiAldVxuIgogCQkgICAgIm1vZGVsIG5hbWVcdDogJXNcbiIKLQkJICAgICJz dGVwcGluZ1x0OiAlZFxuIiwKLQkJICAgIGksIGNwdV92ZW5kb3IsIGNsYXNzLCBjcHUsIG1vZGVs LCBjcHVfaWQgJiAweGYpOworCQkgICAgInN0ZXBwaW5nXHQ6ICV1XG4iLAorCQkgICAgaSwgY3B1 X3ZlbmRvciwgQ1BVSURfVE9fRkFNSUxZKGNwdV9pZCksIENQVUlEX1RPX01PREVMKGNwdV9pZCks IG1vZGVsLCBjcHVfaWQgJiBDUFVJRF9TVEVQUElORyk7CiAJCS8qIFhYWCBwZXItY3B1IHZlbmRv ciAvIGNsYXNzIC8gbW9kZWwgLyBpZD8gKi8KIAl9CiAK --+permail-2010022702462380e26a0b00001b04-a_best01+--