Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 687
b: refs/heads/master
c: e9c5271
h: refs/heads/master
i:
  685: 8d3ddcb
  683: 1de6463
  679: 83b1300
  671: e3954d2
v: v3
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed May 1, 2005
1 parent c32842a commit 91c2d25
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c16993d9009b4311f0e6088af38844eabc8b5e5b
refs/heads/master: e9c527163d31da9f616e989a90429729525c5233
4 changes: 2 additions & 2 deletions trunk/arch/um/kernel/skas/uaccess.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Licensed under the GPL
*/

#include "linux/compiler.h"
#include "linux/stddef.h"
#include "linux/kernel.h"
#include "linux/string.h"
Expand Down Expand Up @@ -61,8 +62,7 @@ static void do_buffer_op(void *jmpbuf, void *arg_ptr)
void *arg;
int *res;

/* Some old gccs recognize __va_copy, but not va_copy */
__va_copy(args, *(va_list *)arg_ptr);
va_copy(args, *(va_list *)arg_ptr);
addr = va_arg(args, unsigned long);
len = va_arg(args, int);
is_write = va_arg(args, int);
Expand Down
5 changes: 5 additions & 0 deletions trunk/include/linux/compiler-gcc2.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@
# define __attribute_pure__ __attribute__((pure))
# define __attribute_const__ __attribute__((__const__))
#endif

/* GCC 2.95.x/2.96 recognize __va_copy, but not va_copy. Actually later GCC's
* define both va_copy and __va_copy, but the latter may go away, so limit this
* to this header */
#define va_copy __va_copy

0 comments on commit 91c2d25

Please sign in to comment.