diff options
author | Andreas Schwab <[email protected]> | 2010-04-23 13:17:44 -0400 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-04-24 11:31:24 -0700 |
commit | 46da27664887fb95cedba53eafcf876de812c8c1 (patch) | |
tree | 5a2ee7566cacfeaef874a3306922c40b5d897294 /lib/flex_array.c | |
parent | fb2162df74bb19552db3d988fd11c787cf5fad56 (diff) |
kernel/sys.c: fix compat uname machine
On ppc64 you get this error:
$ setarch ppc -R true
setarch: ppc: Unrecognized architecture
because uname still reports ppc64 as the machine.
So mask off the personality flags when checking for PER_LINUX32.
Signed-off-by: Andreas Schwab <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions