Skip to content

Commit

Permalink
x86, ptrace: remove CONFIG guards around declarations
Browse files Browse the repository at this point in the history
Remove unnecessary CONFIG guards around type declarations and macro
definitions.

Reported-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Cc: markus.t.metzger@gmail.com
Cc: roland@redhat.com
Cc: eranian@googlemail.com
Cc: oleg@redhat.com
Cc: juan.villacis@intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Markus Metzger authored and Ingo Molnar committed Feb 24, 2009
1 parent 5e01cb6 commit 499aa86
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/include/asm/ptrace-abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@

#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */

#ifdef CONFIG_X86_PTRACE_BTS

#ifndef __ASSEMBLY__
#include <linux/types.h>

Expand Down Expand Up @@ -140,6 +138,5 @@ struct ptrace_bts_config {
BTS records are read from oldest to newest.
Returns number of BTS records drained.
*/
#endif /* CONFIG_X86_PTRACE_BTS */

#endif /* _ASM_X86_PTRACE_ABI_H */

0 comments on commit 499aa86

Please sign in to comment.