lkml.org 
[lkml]   [2013]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] uprobes: Cleanup !CONFIG_UPROBES decls, unexport xol_area
* Oleg Nesterov <oleg@redhat.com> [2013-11-09 20:03:44]:

> 1. Don't include asm/uprobes.h unconditionally, we only need
> it if CONFIG_UPROBES.
>
> 2. Move the definition of "struct xol_area" into uprobes.c.
>
> Perhaps we should simply kill struct uprobes_state, it buys
> nothing.
>
> 3. Kill the dummy definition of uprobe_get_swbp_addr(), nobody
> except handle_swbp() needs it.
>
> 4. Purely cosmetic, but move the decl of uprobe_get_swbp_addr()
> up, close to other __weak helpers.
>
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>

Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>



\
 
 \ /
  Last update: 2013-11-11 08:41    [W:0.093 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site