Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2da3e160 authored by Frederic Weisbecker's avatar Frederic Weisbecker
Browse files

hw-breakpoint: Move asm-generic/hw_breakpoint.h to linux/hw_breakpoint.h



We plan to make the breakpoints parameters generic among architectures.
For that it's better to move the asm-generic header to a generic linux
header.

Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
parent 97eaf530
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -12,7 +12,7 @@ struct arch_hw_breakpoint {
};
};


#include <linux/kdebug.h>
#include <linux/kdebug.h>
#include <asm-generic/hw_breakpoint.h>
#include <linux/hw_breakpoint.h>


/* Available HW breakpoint length encodings */
/* Available HW breakpoint length encodings */
#define HW_BREAKPOINT_LEN_1		0x40
#define HW_BREAKPOINT_LEN_1		0x40
+3 −6
Original line number Original line Diff line number Diff line
#ifndef	_ASM_GENERIC_HW_BREAKPOINT_H
#ifndef _LINUX_HW_BREAKPOINT_H
#define	_ASM_GENERIC_HW_BREAKPOINT_H
#define _LINUX_HW_BREAKPOINT_H


#ifndef __ARCH_HW_BREAKPOINT_H
#error "Please don't include this file directly"
#endif


#ifdef	__KERNEL__
#ifdef	__KERNEL__
#include <linux/list.h>
#include <linux/list.h>
@@ -136,4 +133,4 @@ extern void unregister_kernel_hw_breakpoint(struct hw_breakpoint *bp);
extern unsigned int hbp_kernel_pos;
extern unsigned int hbp_kernel_pos;


#endif	/* __KERNEL__ */
#endif	/* __KERNEL__ */
#endif	/* _ASM_GENERIC_HW_BREAKPOINT_H */
#endif	/* _LINUX_HW_BREAKPOINT_H */