Commit ad548e8b authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] PA-RISC: Fix _syscallN wrappers

Fix _syscallN wrappers (Mike Frysinger)
Signed-off-by: default avatarMatthew Wilcox <willy@parisc-linux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9591c267
...@@ -822,7 +822,7 @@ ...@@ -822,7 +822,7 @@
__sys_res = (long)__res; \ __sys_res = (long)__res; \
} \ } \
if ( (unsigned long)__sys_res >= (unsigned long)-4095 ){ \ if ( (unsigned long)__sys_res >= (unsigned long)-4095 ){ \
errno = -__sys_res); \ errno = -__sys_res; \
__sys_res = -1; \ __sys_res = -1; \
} \ } \
__sys_res; \ __sys_res; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment