android_kernel_xiaomi_sm8350/arch
Kyle McMartin d4d23add3a [PATCH] Common compat_sys_sysinfo
I noticed that almost all architectures implemented exactly the same
sys32_sysinfo...  except parisc, where a bug was to be found in handling of
the uptime.  So let's remove a whole whack of code for fun and profit.
Cribbed compat_sys_sysinfo from x86_64's implementation, since I figured it
would be the best tested.

This patch incorporates Arnd's suggestion of not using set_fs/get_fs, but
instead extracting out the common code from sys_sysinfo.

Cc: Christoph Hellwig <hch@infradead.org>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:32 -08:00
..
alpha [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
arm [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
arm26 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
avr32 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
cris [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
frv [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
h8300 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
i386 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
ia64 [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
m32r [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
m68k [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
m68knommu [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
mips [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
parisc [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
powerpc [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
ppc [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
s390 [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
sh [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
sh64 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
sparc [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
sparc64 [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
um [PATCH] proc: remove useless (and buggy) ->nlink settings 2007-02-11 10:51:32 -08:00
v850 [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
x86_64 [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
xtensa [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00