Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Side by Side Diff: fusl/arch/i386/pthread_arch.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 static inline struct pthread *__pthread_self() 1 static inline struct pthread* __pthread_self() {
2 { 2 struct pthread* self;
3 » struct pthread *self; 3 __asm__ __volatile__("movl %%gs:0,%0" : "=r"(self));
4 » __asm__ __volatile__ ("movl %%gs:0,%0" : "=r" (self) ); 4 return self;
5 » return self;
6 } 5 }
7 6
8 #define TP_ADJ(p) (p) 7 #define TP_ADJ(p) (p)
9 8
10 #define MC_PC gregs[REG_EIP] 9 #define MC_PC gregs[REG_EIP]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698