diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 13:01:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 13:01:28 -0500 |
commit | 0cf975e16927fd70f34cee20d3856246c13bb4c8 (patch) | |
tree | bb955d50f28e5d98c198701798c8341d9763299a /include/asm-cris/arch-v32/unistd.h | |
parent | 03054de1e0b90b33e9974107d84dabd2509f5898 (diff) | |
parent | bc10ac3f2fe44e65f787d6197fd5d17304bf7d83 (diff) |
Merge branch 'cris' of git://www.jni.nu/cris
* 'cris' of git://www.jni.nu/cris: (158 commits)
CRIS v32: Remove hwregs/timer_defs.h, it is now architecture specific.
CRIS v32: Change drivers/i2c.c locking.
CRIS v32: Rewrite ARTPEC-3 gpio driver to avoid volatiles and general cleanup.
CRIS: Add new timerfd syscall entries.
MAINTAINERS: Add my information for the CRIS port.
CRIS v32: Correct spelling of bandwidth in function name.
CRIS v32: Clean up nandflash.c for ARTPEC-3 and ETRAX FS.
CRIS v10: Cleanup of drivers/gpio.c
CRIS v10: drivers/net/cris/eth_v10.c rename LED defines to CRIS_LED to avoid name clash.
CRIS: Make io_pwm_set_period members unsigned in etraxgpio.h
CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file.
CRIS: Drop regs parameter from call to profile_tick in kernel/time.c
CRIS v32: Fix minor formatting issue in mach-a3/io.c
CRIS v32: Initialize GIO even if we're rambooting in kernel/head.S
CRIS v32: Remove kernel/arbiter.c, it now exists in machine dependent directory.
CRIS v32: Minor changes to avoid errors in asm-cris/arch-v32/hwregs/reg_rdwr.h
CRIS v32: arch-v32/hwregs/intr_vect_defs.h moved to machine dependent directory.
CRIS v32: Correct offset for TASK_pid in asm-cris/arch-v32/offset.h
CRIS v32: Move register map header to machine dependent directory.
CRIS v32: Let compiler know that memory is clobbered after a break op.
...
Diffstat (limited to 'include/asm-cris/arch-v32/unistd.h')
-rw-r--r-- | include/asm-cris/arch-v32/unistd.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/include/asm-cris/arch-v32/unistd.h b/include/asm-cris/arch-v32/unistd.h index 5d369d4439d9..0051114c63c7 100644 --- a/include/asm-cris/arch-v32/unistd.h +++ b/include/asm-cris/arch-v32/unistd.h | |||
@@ -16,7 +16,8 @@ type name(void) \ | |||
16 | ".endif\n\t" \ | 16 | ".endif\n\t" \ |
17 | "break 13" \ | 17 | "break 13" \ |
18 | : "=r" (__a) \ | 18 | : "=r" (__a) \ |
19 | : "r" (__n_)); \ | 19 | : "r" (__n_) \ |
20 | : "memory"); \ | ||
20 | if (__a >= 0) \ | 21 | if (__a >= 0) \ |
21 | return (type) __a; \ | 22 | return (type) __a; \ |
22 | errno = -__a; \ | 23 | errno = -__a; \ |
@@ -33,7 +34,8 @@ type name(type1 arg1) \ | |||
33 | ".endif\n\t" \ | 34 | ".endif\n\t" \ |
34 | "break 13" \ | 35 | "break 13" \ |
35 | : "=r" (__a) \ | 36 | : "=r" (__a) \ |
36 | : "r" (__n_), "0" (__a)); \ | 37 | : "r" (__n_), "0" (__a) \ |
38 | : "memory"); \ | ||
37 | if (__a >= 0) \ | 39 | if (__a >= 0) \ |
38 | return (type) __a; \ | 40 | return (type) __a; \ |
39 | errno = -__a; \ | 41 | errno = -__a; \ |
@@ -51,7 +53,8 @@ type name(type1 arg1,type2 arg2) \ | |||
51 | ".endif\n\t" \ | 53 | ".endif\n\t" \ |
52 | "break 13" \ | 54 | "break 13" \ |
53 | : "=r" (__a) \ | 55 | : "=r" (__a) \ |
54 | : "r" (__n_), "0" (__a), "r" (__b)); \ | 56 | : "r" (__n_), "0" (__a), "r" (__b) \ |
57 | : "memory"); \ | ||
55 | if (__a >= 0) \ | 58 | if (__a >= 0) \ |
56 | return (type) __a; \ | 59 | return (type) __a; \ |
57 | errno = -__a; \ | 60 | errno = -__a; \ |
@@ -70,7 +73,8 @@ type name(type1 arg1,type2 arg2,type3 arg3) \ | |||
70 | ".endif\n\t" \ | 73 | ".endif\n\t" \ |
71 | "break 13" \ | 74 | "break 13" \ |
72 | : "=r" (__a) \ | 75 | : "=r" (__a) \ |
73 | : "r" (__n_), "0" (__a), "r" (__b), "r" (__c)); \ | 76 | : "r" (__n_), "0" (__a), "r" (__b), "r" (__c) \ |
77 | : "memory"); \ | ||
74 | if (__a >= 0) \ | 78 | if (__a >= 0) \ |
75 | return (type) __a; \ | 79 | return (type) __a; \ |
76 | errno = -__a; \ | 80 | errno = -__a; \ |
@@ -91,7 +95,8 @@ type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ | |||
91 | "break 13" \ | 95 | "break 13" \ |
92 | : "=r" (__a) \ | 96 | : "=r" (__a) \ |
93 | : "r" (__n_), "0" (__a), "r" (__b), \ | 97 | : "r" (__n_), "0" (__a), "r" (__b), \ |
94 | "r" (__c), "r" (__d)); \ | 98 | "r" (__c), "r" (__d)\ |
99 | : "memory"); \ | ||
95 | if (__a >= 0) \ | 100 | if (__a >= 0) \ |
96 | return (type) __a; \ | 101 | return (type) __a; \ |
97 | errno = -__a; \ | 102 | errno = -__a; \ |
@@ -114,7 +119,8 @@ type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ | |||
114 | "break 13" \ | 119 | "break 13" \ |
115 | : "=r" (__a) \ | 120 | : "=r" (__a) \ |
116 | : "r" (__n_), "0" (__a), "r" (__b), \ | 121 | : "r" (__n_), "0" (__a), "r" (__b), \ |
117 | "r" (__c), "r" (__d), "h" (__e)); \ | 122 | "r" (__c), "r" (__d), "h" (__e) \ |
123 | : "memory"); \ | ||
118 | if (__a >= 0) \ | 124 | if (__a >= 0) \ |
119 | return (type) __a; \ | 125 | return (type) __a; \ |
120 | errno = -__a; \ | 126 | errno = -__a; \ |
@@ -138,7 +144,8 @@ type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \ | |||
138 | "break 13" \ | 144 | "break 13" \ |
139 | : "=r" (__a) \ | 145 | : "=r" (__a) \ |
140 | : "r" (__n_), "0" (__a), "r" (__b), \ | 146 | : "r" (__n_), "0" (__a), "r" (__b), \ |
141 | "r" (__c), "r" (__d), "h" (__e), "x" (__f)); \ | 147 | "r" (__c), "r" (__d), "h" (__e), "x" (__f) \ |
148 | : "memory"); \ | ||
142 | if (__a >= 0) \ | 149 | if (__a >= 0) \ |
143 | return (type) __a; \ | 150 | return (type) __a; \ |
144 | errno = -__a; \ | 151 | errno = -__a; \ |