PA-RISC does not necessarily have interrupts disabled while timers are
running. This doesn't appear to be a requirement, but posix-cpu-timers
seems to think it is.
Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]>
diff -urpNX dontdiff linus-2.6/kernel/posix-cpu-timers.c
parisc-2.6/kernel/posix-cpu-timers.c
--- linus-2.6/kernel/posix-cpu-timers.c 2005-03-18 05:55:27.000000000 -0700
+++ parisc-2.6/kernel/posix-cpu-timers.c 2005-03-18 13:52:53.341505966
-0700
@@ -1242,8 +1242,6 @@ void run_posix_cpu_timers(struct task_st
LIST_HEAD(firing);
struct k_itimer *timer, *next;
- BUG_ON(!irqs_disabled());
-
#define UNEXPIRED(clock) \
(tsk->it_##clock##_expires == 0 || \
cputime_lt(clock##_ticks(tsk), tsk->it_##clock##_expires))
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain