diff options
author | bde <bde@FreeBSD.org> | 2004-05-19 16:04:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-05-19 16:04:26 +0000 |
commit | 1808931bc7bd5f6dc7838f64403f8f36b66f3c02 (patch) | |
tree | 6b88a129c56f18cfabccc4d04da3501ab4566746 /sys/amd64/include/profile.h | |
parent | f309a749f55f70c2cd608bb5406228db7803873f (diff) | |
download | FreeBSD-src-1808931bc7bd5f6dc7838f64403f8f36b66f3c02.zip FreeBSD-src-1808931bc7bd5f6dc7838f64403f8f36b66f3c02.tar.gz |
Fixed some style bugs (mainly misalignment of backslashes).
Diffstat (limited to 'sys/amd64/include/profile.h')
-rw-r--r-- | sys/amd64/include/profile.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h index 98abf82..54c27a4 100644 --- a/sys/amd64/include/profile.h +++ b/sys/amd64/include/profile.h @@ -77,12 +77,12 @@ static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __unused; \ static void _mcount #ifdef __GNUC__ -#define MCOUNT __asm (" \n\ +#define MCOUNT __asm(" \n\ .globl .mcount \n\ .type .mcount @function \n\ .mcount: \n\ pushq %rbp \n\ - movq %rsp, %rbp \n\ + movq %rsp,%rbp \n\ pushq %rdi \n\ pushq %rsi \n\ pushq %rdx \n\ @@ -123,7 +123,7 @@ mcount() \ __asm("movq 8(%%rbp),%0" : "=r" (selfpc)); \ /* \ * frompc = pc pushed by call to mcount's caller. \ - * The caller's stack frame has already been built, so %ebp is \ + * The caller's stack frame has already been built, so %rbp is \ * the caller's frame pointer. The caller's raddr is in the \ * caller's frame following the caller's caller's frame pointer.\ */ \ @@ -132,15 +132,15 @@ mcount() \ _mcount(frompc, selfpc); \ } #endif -#else /* __GNUC__ */ -#define MCOUNT \ -void \ -mcount() \ -{ \ +#else /* !__GNUC__ */ +#define MCOUNT \ +void \ +mcount() \ +{ \ } -#endif /* __GNUC__ */ +#endif /* __GNUC__ */ -typedef unsigned long uintfptr_t; +typedef u_long uintfptr_t; #endif /* _KERNEL */ |