4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
6 * Manage lists of notification events.
8 * Copyright (C) 2005-2006 Texas Instruments, Inc.
10 * This package is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
14 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 /* ----------------------------------- This */
20 #include <dspbridge/ntfy.h>
22 int dsp_notifier_event(struct notifier_block
*this, unsigned long event
,
25 struct ntfy_event
*ne
= container_of(this, struct ntfy_event
,
27 if (ne
->event
& event
)
28 sync_set_event(&ne
->sync_obj
);