Commit b1c22fd1 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: add identifiers to asm statements, makes reading disassembly slightly easier

parent 7d65ee78
......@@ -48,7 +48,7 @@ static __inline__ void clear_page(void *addr)
lines = naca->dCacheL1LinesPerPage;
__asm__ __volatile__(
" mtctr %1\n\
"mtctr %1 # clear_page\n\
1: dcbz 0,%0\n\
add %0,%0,%3\n\
bdnz+ 1b"
......
......@@ -267,8 +267,8 @@ static inline unsigned long pte_update( pte_t *p, unsigned long clr,
{
unsigned long old, tmp;
__asm__ __volatile__("\n\
1: ldarx %0,0,%3 \n\
__asm__ __volatile__(
"1: ldarx %0,0,%3 # pte_update\n\
andc %1,%0,%4 \n\
or %1,%1,%5 \n\
stdcx. %1,0,%3 \n\
......
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