linux/arch/powerpc/kernel/vdso64
Will Schmidt fde937d826 Fix VDSO gettimeofday() when called with NULL struct timeval.
The vdso64 portion of patch 74609f4536 for
fixing problems with NULL gettimeofday input mistakenly checks for a
null tz field twice, when it should be checking for null tz once, and
null tv once; by way of a r10/r11 typo.

Any application calling gettimeofday(&tv,NULL) will "fail".

This corrects that typo, and makes my G5 happy.

Tested on G5.

Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Cc: Tony Breeds <tony@bakeyournoodle.com>
Forwarded-by: Ben Herrenschmidt <benh@kernel.crashing.org>

[ Ben says: "I checked the 32 bits part of the change is correct.  You
  can probably blame me for originally writing the 2 versions with
  inversed usage of r10 and r11, thus confusing Tony :-)"

  Ben duly blamed.   - Linus ]

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-29 21:27:00 -07:00
..
.gitignore [PATCH] powerpc: Add some missing .gitignore's 2006-01-11 15:35:35 +11:00
cacheflush.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
datapage.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gettimeofday.S Fix VDSO gettimeofday() when called with NULL struct timeval. 2007-06-29 21:27:00 -07:00
Makefile [PATCH] vDSO hash-style fix 2006-07-31 13:28:43 -07:00
note.S
sigtramp.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
vdso64_wrapper.S
vdso64.lds.S [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00