diff options
| author | Marcelo Roberto Jimenez <[email protected]> | 2011-02-07 21:16:07 +0000 |
|---|---|---|
| committer | John Stultz <[email protected]> | 2011-03-09 19:25:07 +0000 |
| commit | a417493ef916b8b6d1782a589766a713c553842e (patch) | |
| tree | f19875bbf0dec0bc3d07149b4ba498434edeb763 /net/unix/af_unix.c | |
| parent | RTC: Remove UIE and PIE information from the sa1100 driver proc. (diff) | |
| download | kernel-a417493ef916b8b6d1782a589766a713c553842e.tar.gz kernel-a417493ef916b8b6d1782a589766a713c553842e.zip | |
RTC: Fix the cross interrupt issue on rtc-test.
The rtc-test driver is meant to provide a test/debug code for the RTC
subsystem.
The rtc-test driver simulates specific interrupts by echoing to the
sys interface. Those were the update, alarm and periodic interrupts.
As a side effect of the new implementation, any interrupt generated in
the rtc-test driver would trigger the same code path in the generic
code, and thus the distinction among interrupts gets lost.
This patch preserves the previous behaviour of the rtc-test driver,
where e.g. an update interrupt would not trigger an alarm or periodic
interrupt, and vice-versa. In real world RTC drivers, this is not an
issue, but in the rtc-test driver it may be interesting to distinguish
these interrupts for testing purposes.
CC: Thomas Gleixner <[email protected]>
CC: Alessandro Zummo <[email protected]>
CC: Marcelo Roberto Jimenez <[email protected]>
CC: [email protected]
Signed-off-by: Marcelo Roberto Jimenez <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
