[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121219094645.05a8670a@endymion.delvare>
Date: Wed, 19 Dec 2012 09:46:45 +0100
From: Jean Delvare <khali@...ux-fr.org>
To: David Howells <dhowells@...hat.com>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h to
prevent deletion by patch
On Mon, 17 Dec 2012 14:49:25 +0000, David Howells wrote:
> Provide reinclusion guards in the empty uapi/asm/hw_breakpoint.h to make sure
> that the patch program doesn't delete it.
>
> However, should some part of asm/hw_breakpoint.h actually be exported here,
> or, possibly, should the entire uapi file be removed? In v3.6, though the
> file was marked for export to userspace, it had nothing outside of __KERNEL__.
>
> Signed-off-by: David Howells <dhowells@...hat.com>
> cc: Jean Delvare <khali@...ux-fr.org>
> ---
>
> arch/x86/include/uapi/asm/hw_breakpoint.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/x86/include/uapi/asm/hw_breakpoint.h b/arch/x86/include/uapi/asm/hw_breakpoint.h
> index e69de29..895596b 100644
> --- a/arch/x86/include/uapi/asm/hw_breakpoint.h
> +++ b/arch/x86/include/uapi/asm/hw_breakpoint.h
> @@ -0,0 +1,4 @@
> +#ifndef _UAPI_I386_HW_BREAKPOINT_H
> +#define _UAPI_I386_HW_BREAKPOINT_H
> +
> +#endif /* _UAPI_I386_HW_BREAKPOINT_H */
>
Reviewed-by: Jean Delvare <khali@...ux-fr.org>
--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists