android_kernel_xiaomi_sm8350/arch
Paolo 'Blaisorblade' Giarrusso 4f0272415a [PATCH] uml: fix syscall stubs
Jeff Dike noted that the assembly code for syscall stubs is misassembled with
GCC 3.2.3: the values copied in registers weren't preserved between one asm()
and the following one.

So I fixed the thing by rewriting the __asm__ constraints more like unistd.h
ones.

Note: in syscall6 case I had to add one more instruction (i.e.  moving arg6 in
eax and shuffling things around) - it's needed for the function to be valid in
general (we can't load the value from the stack, relative to ebp, because we
change it), but could be avoided since we actually use a constant as param 6.

The only fix would be to turn stub_syscall6 to a macro and use a "i"
constraint for arg6 (i.e., specify it's a constant value).

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:30 -08:00
..
alpha [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
arm [ARM] Fix /proc/cpuinfo format for ARM SMP 2005-11-06 21:41:08 +00:00
arm26 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
cris [PATCH] cris: "extern inline" -> "static inline" 2005-11-07 07:53:30 -08:00
frv [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
h8300 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
i386 [PATCH] x86: add MCE resume 2005-11-07 07:53:30 -08:00
ia64 [PATCH] ia64: re-implement dma_get_cache_alignment to avoid EXPORT_SYMBOL 2005-11-07 07:53:23 -08:00
m32r Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
m68k [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
m68knommu [PATCH] m68knommu: updated defconfig 2005-11-01 21:41:19 -08:00
mips Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
parisc [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
powerpc [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc [PATCH] ppc32: Add CPM1 config option 2005-11-07 07:53:27 -08:00
ppc64 [PATCH] ppc64: Fix zImage boot 2005-11-07 07:53:23 -08:00
s390 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sh [PATCH] sh: Use pfn_valid() for lazy dcache write-back on SH7705 2005-11-07 07:53:28 -08:00
sh64 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sparc [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sparc64 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
um [PATCH] uml: fix syscall stubs 2005-11-07 07:53:30 -08:00
v850 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
x86_64 [PATCH] x86-64: bitops fix for -Os 2005-11-02 19:41:32 -08:00
xtensa Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00