[parisc-linux-cvs] 2.4.0 PCI patch
Matthew Wilcox
matthew@wil.cx
Tue, 20 Feb 2001 20:24:56 -0700
On Tue, Feb 20, 2001 at 05:23:34PM -0800, Grant Grundler wrote:
> + /* If this is a PCI-PCI bridge, get the current bases */
> + if (bus->self
> +#ifdef __LP64__
> + && !pdc_pat
> +#endif
> + ) {
That's just ridiculous :-) Some header file needs to have:
#ifdef __LP64__
int pdc_pat;
#else
#define pdc_pat 0
#endif
there's some other code this would tidy up too. i started doing this
once, but i took it too far and things went badly wrong.
--
Revolutions do not require corporate support.