]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/sparc/lib/atomic_32.S
sparc32: drop unused clear_cpu_int
[mirror_ubuntu-bionic-kernel.git] / arch / sparc / lib / atomic_32.S
CommitLineData
1da177e4
LT
1/* atomic.S: Move this stuff here for better ICACHE hit rates.
2 *
3 * Copyright (C) 1996 David S. Miller (davem@caipfs.rutgers.edu)
4 */
5
1da177e4
LT
6#include <asm/ptrace.h>
7#include <asm/psr.h>
8
9 .text
10 .align 4
11
12 .globl __atomic_begin
13__atomic_begin:
14
15#ifndef CONFIG_SMP
1da177e4
LT
16 .globl ___xchg32_sun4md
17___xchg32_sun4md:
18 swap [%g1], %g2
19 jmpl %o7 + 8, %g0
20 mov %g4, %o7
21#endif
22
1da177e4
LT
23 .globl __atomic_end
24__atomic_end: