summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-07-21 06:55:52 -0400
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-07-21 06:55:52 -0400
commit7ec85ce3709b88baae61144bbeaac1b897141f34 (patch)
tree4aa8fc9a6507ef8d394bfff0efb7250c66757d95 /kernel
parentf759928dde13768d1a1064df9338fec5db415a8b (diff)
ISDN: Export "kstat"
This patch exports the kstat per-cpu variable, needed for hisax, which uses kstat_irqs() during card probing to make sure that irqs actually work. This could possibly replaced by a private counter in the hisax ISRs, but that's really just unnecessary overhead, since the core kernel already does the work anyway.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 0bb4f13e95fd..21ee4d138388 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1151,6 +1151,8 @@ static inline void rebalance_tick(runqueue_t *this_rq, int idle)
DEFINE_PER_CPU(struct kernel_stat, kstat) = { { 0 } };
+EXPORT_PER_CPU_SYMBOL(kstat);
+
/*
* We place interactive tasks back into the active array, if possible.
*