android_kernel_xiaomi_sm8350/arch/parisc/kernel
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
..
.gitignore
asm-offsets.c parisc: remove unused IRQSTAT_SIRQ_PEND and IRQSTAT_SZ defines 2009-12-16 03:48:54 +00:00
binfmt_elf32.c
cache.c parisc: remove trailing space in messages 2010-03-06 22:54:09 +00:00
drivers.c
entry.S parisc: stop using task->ptrace for {single,block}step flags 2009-09-27 23:07:22 -04:00
firmware.c
ftrace.c
hardware.c
head.S
hpmc.S
init_task.c
inventory.c
irq.c parisc: Fixup last users of irq_chip->typename 2009-12-16 03:48:56 +00:00
Makefile
module.c parisc: correct use of SHF_ALLOC 2009-09-27 23:29:23 -04:00
pa7300lc.c
pacache.S
parisc_ksyms.c
pci-dma.c
pci.c Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2010-02-26 10:35:27 -08:00
pdc_chassis.c
pdc_cons.c
perf_asm.S
perf_images.h
perf.c tree-wide: fix a very frequent spelling mistake 2009-11-09 09:40:54 +01:00
process.c
processor.c
ptrace.c parisc: stop using task->ptrace for {single,block}step flags 2009-09-27 23:07:22 -04:00
real2.S
setup.c
signal32.c
signal32.h
signal.c parisc: fix tracing of signals 2010-02-12 08:51:58 -08:00
smp.c parisc: Replace old style lock init in smp.c 2009-12-16 03:48:55 +00:00
stacktrace.c
sys32.h
sys_parisc32.c Merge branch 'for-2.6.33' of git://linux-nfs.org/~bfields/linux 2009-12-16 10:43:34 -08:00
sys_parisc.c improve sys_newuname() for compat architectures 2010-03-12 15:52:32 -08:00
syscall_table.S improve sys_newuname() for compat architectures 2010-03-12 15:52:32 -08:00
syscall.S parisc: split syscall_trace into two halves 2009-09-27 23:07:22 -04:00
time.c parisc: Convert to read/update_persistent_clock 2010-03-06 22:54:10 +00:00
topology.c
traps.c
unaligned.c parisc: use __ratelimit in unaligned.c 2010-03-06 22:54:59 +00:00
unwind.c parisc: use sort() instead of home-made implementation (v2) 2009-12-16 03:48:55 +00:00
vmlinux.lds.S parisc: fix unwind with recent gcc versions 2009-11-30 08:20:24 -08:00