Tony Luck 7411d89535 [IA64] Fix fast syscall version of getcpu()
GETCPU(2) says:
  int getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache);
  ...
  When either cpu or node is NULL nothing is written to the respective pointer.

But the fast system call path had no checks for NULL, and would
thus return -EFAULT if either (or both) of these were NULL.

Reported-by: Mike Frysinger <vapier@gentoo.org>
Tested-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2012-05-16 13:58:29 -07:00
..
2010-02-08 10:42:17 -08:00
2012-03-28 18:30:02 +01:00
2012-01-09 12:55:10 -08:00
2010-03-03 11:25:59 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2009-10-29 22:34:15 +09:00
2012-03-28 18:30:02 +01:00
2011-03-29 14:48:05 +02:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2012-04-21 01:58:20 -04:00
2012-03-28 18:30:02 +01:00
2010-02-08 10:42:17 -08:00
2012-03-28 18:30:02 +01:00
2010-05-18 14:45:54 -07:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00