[parisc-linux-cvs] Patch for SMP support, etc.

Grant Grundler grundler@puffin.external.hp.com
Tue, 11 Sep 2001 23:42:40 -0600


>  struct cpuinfo_parisc {
...
> +	unsigned long irq_count;    /* number of IRQ's since boot */
> +	unsigned long irq_max_cr16; /* longest time to handle a single IRQ */
...

FWIW, I'd like to see both fields move out of cpuinfo_parisc.

I sent mail to Ingo Molnar (at willy's suggestion) about adding the
following fields to struct irqaction (include/linux/interrupt.h)
but mingo never replied:

#ifdef __hppa__
#define PARISC_CR16_HIST_SIZE  256
       /* Only store the delta here - would otherwise need to be long */
       unsigned int cr16_hist[PARISC_CR16_HIST_SIZE];  /* for avging */
       unsigned int cr16_idx;
#endif

(Full diff for the above code on pehc:~grundler/diff.irq_cr16)

I've picked names that are arch specific but the idea is general
since other arches have similar facilities.

This is not a useful facility for regular users.
It should become a compile time option for driver/kernel developers.
Any hints how to get this upstream?

thanks,
grant