forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5c7603c
committed
Add ARM64 (aarch64) support to s_lock.h.
Use the same gcc atomic functions as we do on newer ARM chips.(Basically this is a copy and paste of the __arm__ code block,but omitting the SWPB option since that definitely won't work.)Back-patch to 9.2. The patch would work further back, but we'd alsoneed to update config.guess/config.sub in older branches to make thembuild out-of-the-box, and there hasn't been demand for it.Mark Salter1 parentdbc6eb1 commit5c7603c
1 file changed
+23
-0
lines changedLines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
336 | 336 |
| |
337 | 337 |
| |
338 | 338 |
| |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
339 | 362 |
| |
340 | 363 |
| |
341 | 364 |
| |
|
0 commit comments
Comments
(0)