]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Improvde documentation and readability of atomic backoff code.
authorDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2012 20:04:47 +0000 (13:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2012 20:04:47 +0000 (13:04 -0700)
commit546832cd812dd3fcd61cfe1b56f48a6147ec8464
tree09b55dad78359ae7e047f3eb533844adaa4094c6
parent03db3606756433a639eff815029db2639c080e89
sparc64: Improvde documentation and readability of atomic backoff code.

Document what's going on in asm/backoff.h with a large and descriptive
comment.  Refer to it above the cpu_relax() definition in
asm/processor_64.h

Rename the pause patching section to have "3insn" in it's name like
the other patching sections do.

Based upon feedback from Sam Ravnborg.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/backoff.h
arch/sparc/include/asm/processor_64.h
arch/sparc/kernel/entry.h
arch/sparc/kernel/setup_64.c
arch/sparc/kernel/vmlinux.lds.S