Christoph Hellwig
e28cbf2293
improve sys_newuname() for compat architectures
...
On an architecture that supports 32-bit compat we need to override the
reported machine in uname with the 32-bit value. Instead of doing this
separately in every architecture introduce a COMPAT_UTS_MACHINE define in
<asm/compat.h> and apply it directly in sys_newuname().
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: James Morris <jmorris@namei.org>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-12 15:52:32 -08:00
..
2009-08-03 09:05:00 +01:00
2009-12-12 13:08:14 +01:00
2008-10-10 16:32:29 +00:00
2009-03-13 01:18:56 -04:00
2009-12-14 23:55:32 +01:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-06-11 21:02:14 +02:00
2009-12-16 03:48:55 +00:00
2008-10-10 16:32:29 +00:00
2009-01-14 19:56:50 -08:00
2008-10-10 16:32:29 +00:00
2010-02-05 12:31:37 -06:00
2009-01-05 19:11:05 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2010-03-12 15:52:32 -08:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-01-29 18:19:29 -08:00
2009-07-03 03:34:06 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-12-16 07:20:12 -08:00
2008-10-10 16:32:29 +00:00
2009-06-07 05:01:00 -07:00
2008-10-10 16:32:29 +00:00
2009-12-10 15:02:50 +01:00
2009-09-27 23:27:04 -04:00
2008-10-10 16:32:29 +00:00
2009-12-16 03:48:54 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-09-28 00:24:23 -04:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-20 14:40:31 -07:00
2009-03-13 01:20:48 -04:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-03-13 01:20:27 -04:00
2009-01-14 19:56:50 -08:00
2008-10-10 16:32:29 +00:00
2009-06-16 19:47:51 -07:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-09-22 07:17:41 -07:00
2009-01-05 18:15:25 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-01-05 08:40:14 +10:30
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-06-11 21:02:17 +02:00
2010-03-06 22:54:10 +00:00
2008-11-26 22:22:41 +00:00
2008-10-10 16:32:29 +00:00
2009-09-09 13:29:18 -07:00
2008-10-10 16:32:29 +00:00
2009-04-02 00:20:15 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-09-21 14:28:04 +02:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2010-02-20 16:41:46 +00:00
2008-10-10 16:32:29 +00:00
2008-11-26 22:22:36 +00:00
2008-10-10 16:32:29 +00:00
2009-07-03 03:34:11 +00:00
2008-10-10 16:32:29 +00:00
2009-09-27 23:07:23 -04:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-20 14:40:31 -07:00
2008-10-10 16:32:29 +00:00
2009-09-24 09:34:47 +09:30
2009-10-12 13:26:31 -07:00
2008-10-10 16:32:29 +00:00
2009-12-14 23:55:32 +01:00
2009-12-14 23:55:32 +01:00
2008-10-10 16:32:29 +00:00
2008-10-20 14:40:31 -07:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-02-01 11:01:27 +05:30
2009-09-27 23:07:23 -04:00
2010-03-06 22:54:10 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-09-27 23:35:07 -04:00
2008-10-10 16:32:29 +00:00
2009-07-27 12:10:38 -07:00
2009-07-03 03:34:09 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-06-11 21:02:14 +02:00
2010-03-06 22:54:09 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2010-03-06 22:54:09 +00:00
2008-10-10 16:32:30 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00