linux_dsm_epyc7002/arch
Nicolas Pitre 16f719de62 [ARM] 5196/1: fix inline asm constraints for preload
With gcc 4.3 and later, a pointer that has already been dereferenced is
assumed not to be null since it should have caused a segmentation fault
otherwise, hence any subsequent test against NULL is optimized away.

Current inline asm constraint used in the implementation of prefetch()
makes gcc believe that the pointer is dereferenced even though the PLD
instruction does not load any data and does not cause a segmentation
fault on null pointers, which causes all sorts of interesting results
when reaching the end of a linked lists for example.

Let's use a better constraint to properly represent the actual usage of
the pointer value.

Problem reported by Chris Steel.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-08-16 09:30:05 +01:00
..
alpha [PATCH] sanitize __user_walk_fd() et.al. 2008-07-26 20:53:34 -04:00
arm [ARM] 5196/1: fix inline asm constraints for preload 2008-08-16 09:30:05 +01:00
avr32 avr32: Use <mach/foo.h> instead of <asm/arch/foo.h> 2008-08-05 14:36:57 +02:00
blackfin Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 2008-07-26 13:23:17 -07:00
cris Merge branch 'linus' into core/generic-dma-coherent 2008-07-29 00:07:55 +02:00
frv FRV: Wire up new system calls 2008-08-01 13:03:49 -07:00
h8300 h8300: use generic show_mem() 2008-07-26 12:00:11 -07:00
ia64 [IA64] Update generic config 2008-08-04 15:47:25 -07:00
m32r m32r: use generic show_mem() 2008-07-26 12:00:11 -07:00
m68k remove unneeded #include <linux/ide.h>'s 2008-08-05 18:17:00 +02:00
m68knommu Move all of include/asm-m68knommu to arch/m68knommu/include/asm. 2008-08-07 15:36:16 +10:00
mips remove unneeded #include <linux/ide.h>'s 2008-08-05 18:17:00 +02:00
mn10300 mn10300: Fix up __bug_table handling in module loader. 2008-08-04 17:22:17 -07:00
parisc [PATCH] sanitize __user_walk_fd() et.al. 2008-07-26 20:53:34 -04:00
powerpc powerpc: Do not ignore arch/powerpc/include 2008-08-08 11:12:02 -07:00
s390 Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 2008-08-04 17:15:07 -07:00
sh [netdrvr] sh_eth: Add SH7619 support 2008-08-07 02:20:57 -04:00
sparc sparc: don't use asm/of_device.h 2008-08-07 15:33:36 -07:00
sparc64 sparc64: Fix end-of-stack checking in save_stack_trace(). 2008-08-07 23:04:37 -07:00
um uml: fix tty-related build error 2008-07-30 09:41:45 -07:00
x86 [CPUFREQ][2/2] preregister support for powernow-k8 2008-08-08 16:00:49 -04:00
xtensa remove unneeded #include <linux/ide.h>'s 2008-08-05 18:17:00 +02:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig tracehook: CONFIG_HAVE_ARCH_TRACEHOOK 2008-07-26 12:00:09 -07:00