diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-03-25 10:29:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 12:10:52 -0500 |
commit | 2b514e74f4e59e3b8e54891580fef2c9ff6c7bd0 (patch) | |
tree | 106ddc876df761c2b3d9aa3ef27c576ad15ed54b /arch/x86_64/kernel/process.c | |
parent | 893efca9279d7a78bae6532de0524e53370819d5 (diff) |
[PATCH] x86_64: eliminate set_debug()
For consistency and to have only a single place of definition, replace
set_debug() uses with set_debugreg(), and eliminate the definition of
thj former.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/process.c')
-rw-r--r-- | arch/x86_64/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/process.c b/arch/x86_64/kernel/process.c index 80a8f3079178..0cb93abbf564 100644 --- a/arch/x86_64/kernel/process.c +++ b/arch/x86_64/kernel/process.c | |||
@@ -508,7 +508,7 @@ out: | |||
508 | /* | 508 | /* |
509 | * This special macro can be used to load a debugging register | 509 | * This special macro can be used to load a debugging register |
510 | */ | 510 | */ |
511 | #define loaddebug(thread,r) set_debug(thread->debugreg ## r, r) | 511 | #define loaddebug(thread,r) set_debugreg(thread->debugreg ## r, r) |
512 | 512 | ||
513 | /* | 513 | /* |
514 | * switch_to(x,y) should switch tasks from x to y. | 514 | * switch_to(x,y) should switch tasks from x to y. |