diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-07-21 06:55:52 -0400 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-07-21 06:55:52 -0400 |
| commit | 7ec85ce3709b88baae61144bbeaac1b897141f34 (patch) | |
| tree | 4aa8fc9a6507ef8d394bfff0efb7250c66757d95 /kernel | |
| parent | f759928dde13768d1a1064df9338fec5db415a8b (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.c | 2 |
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. * |
