diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-06-20 17:50:18 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-06-20 17:58:57 +0200 |
commit | e12cbc10cb27fcbe51b5f68e2015138dc451a2eb (patch) | |
tree | 2c54ecd8253ead14a2ee63864b3a2a64a6e7cf69 /fs/super.c | |
parent | 1c10adbb929936316f71df089ace699fce037e24 (diff) | |
download | linux-e12cbc10cb27fcbe51b5f68e2015138dc451a2eb.tar.bz2 |
hw_breakpoint: Simplify *register_wide_hw_breakpoint()
1. register_wide_hw_breakpoint() can use unregister_ if failure,
no need to duplicate the code.
2. "struct perf_event **pevent" adds the unnecesary lever of
indirection and complication, use per_cpu(*cpu_events, cpu).
Reported-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/20130620155018.GA6347@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions