x86, ptrace: remove CONFIG guards around declarations
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>
This commit is contained in:
parent
5e01cb695d
commit
499aa86dcb
|
@ -80,8 +80,6 @@
|
||||||
|
|
||||||
#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
|
#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */
|
||||||
|
|
||||||
#ifdef CONFIG_X86_PTRACE_BTS
|
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
|
@ -140,6 +138,5 @@ struct ptrace_bts_config {
|
||||||
BTS records are read from oldest to newest.
|
BTS records are read from oldest to newest.
|
||||||
Returns number of BTS records drained.
|
Returns number of BTS records drained.
|
||||||
*/
|
*/
|
||||||
#endif /* CONFIG_X86_PTRACE_BTS */
|
|
||||||
|
|
||||||
#endif /* _ASM_X86_PTRACE_ABI_H */
|
#endif /* _ASM_X86_PTRACE_ABI_H */
|
||||||
|
|
Loading…
Reference in New Issue