]> err.no Git - linux-2.6/commit
[PATCH] uml: fix uname under setarch i386
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Wed, 11 Oct 2006 08:21:36 +0000 (01:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:20 +0000 (11:14 -0700)
commit69fada32d868d7f4be128ea4df8fbe4fd897fc34
treeab216b52da48f39a418b1f67671c3fb05fce33df
parent1b4ad242fcfcf1e261604cb91ee5fb8032900997
[PATCH] uml: fix uname under setarch i386

On a 64bit Uml, if run under "setarch i386" (which a user did), uname()
currently returns the obtained i686 as machine - fix that.  Btw, I'm quite
surprised that under setarch i386 a 64-bit binary can run.

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/os-Linux/util.c