Bug 605

Summary: IA64 build broken
Product: xorg Reporter: Egbert Eich <eich>
Component: App/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: git   
Hardware: PA-RISC (HP)   
OS: Linux (All)   
i915 platform: i915 features:

Description Egbert Eich 2004-05-07 03:17:25 UTC
IA64 build is broken because we include the kernel header asm/page.h.
Kernel headers cannot be used with -ansi, though. 
This header gets included for the definition of PAGE_SIZE.
However every file that does that has plenty of other ways to determine the
pagesize. Therefore we simply delete the inclusion.
fbdevhw.c is a little different as it uses the PAGE_MASK. We simply replace
PAGE_MASK by (~(getpagesize() - 1)) which should also work.
Comment 1 Egbert Eich 2004-05-07 03:31:57 UTC

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.