瀏覽代碼

some (all?) archs don't define asm, so use builtin __asm__

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 15 年之前
父節點
當前提交
02b44fe054
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/misc/internals/__uClibc_main.c

+ 1 - 1
libc/misc/internals/__uClibc_main.c

@@ -109,7 +109,7 @@ _pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer *__buffer,
 static __always_inline int not_null_ptr(const void *p)
 {
 	const void *q;
-	asm (""
+	__asm__ (""
 		: "=r" (q) /* output */
 		: "0" (p) /* input */
 	);