Bug 8540

Summary: arch/sparc64/time.c doesn't compile on Ultra 1 (no PCI)
Product: Platform Specific/Hardware Reporter: Horst H. von Brand (vonbrand)
Component: SPARC64Assignee: platform_sparc64
Status: RESOLVED CODE_FIX    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: v2.6.22-rc2-366-g1c1ee4c Subsystem:
Regression: --- Bisected commit-id:
Attachments: A patch that makes that file compile.

Description Horst H. von Brand 2007-05-25 13:34:41 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.22-rc1
Distribution: Aurora 2.99
Hardware Environment: SPARCstation Ultra 1
Software Environment: Aurora 2.99
Problem Description: 
arch/sparc/time.c compile fails due to references to bq4802 stuff

Steps to reproduce:
Build kernel, CONFIG_PCI off
Comment 1 Horst H. von Brand 2007-05-25 13:37:08 UTC
Created attachment 11598 [details]
A patch that makes that file compile.

I tried to #ifdef out everything that looks PCI-ish in that file. Haven't
compiled a full kernel yet (takes a few hours...).
Comment 2 Andrew Morton 2007-05-25 14:49:47 UTC
send it to davem please?