[PATCH] markers/tracpoints: fix non-modular build

From: Ingo Molnar
Date: Sun Nov 16 2008 - 03:53:20 EST



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> Use module notifiers instead of adding a hook in module.c.
>
> Impact: cleanup.
>
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>
> CC: 'Ingo Molnar' <mingo@xxxxxxx>
> CC: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
> ---
> kernel/marker.c | 29 +++++++++++++++++++++++++++++
> kernel/module.c | 4 ----
> 2 files changed, 29 insertions(+), 4 deletions(-)