Commit ab843583 authored by David S. Miller's avatar David S. Miller

[SPARC64]: __volatile --> __volatile__

parent 4b3eb953
...@@ -694,7 +694,7 @@ pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags) ...@@ -694,7 +694,7 @@ pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
* So we stash 'fn' and 'arg' into global registers which * So we stash 'fn' and 'arg' into global registers which
* will not be modified by the parent. * will not be modified by the parent.
*/ */
__asm__ __volatile("mov %4, %%g2\n\t" /* Save FN into global */ __asm__ __volatile__("mov %4, %%g2\n\t" /* Save FN into global */
"mov %5, %%g3\n\t" /* Save ARG into global */ "mov %5, %%g3\n\t" /* Save ARG into global */
"mov %1, %%g1\n\t" /* Clone syscall nr. */ "mov %1, %%g1\n\t" /* Clone syscall nr. */
"mov %2, %%o0\n\t" /* Clone flags. */ "mov %2, %%o0\n\t" /* Clone flags. */
......
...@@ -163,7 +163,7 @@ __asm__ __volatile__( \ ...@@ -163,7 +163,7 @@ __asm__ __volatile__( \
".previous\n\n\t" \ ".previous\n\n\t" \
: "=r" (foo) : "r" (x), "r" (__m(addr))); \ : "=r" (foo) : "r" (x), "r" (__m(addr))); \
else \ else \
__asm__ __volatile( \ __asm__ __volatile__( \
"/* Put user asm ret, inline. */\n" \ "/* Put user asm ret, inline. */\n" \
"1:\t" "st"#size "a %1, [%2] %%asi\n\n\t" \ "1:\t" "st"#size "a %1, [%2] %%asi\n\n\t" \
".section .fixup,#alloc,#execinstr\n\t" \ ".section .fixup,#alloc,#execinstr\n\t" \
......
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