Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217012

Summary: asm-alpha/dma-mapping.h missing include directive: linux/scatterlist.h
Product: Gentoo Linux Reporter: Mike Pagano <mpagano>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal CC: releng
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=231bc2a222411f43bfb0fbb6d64c0f34c7b1039f
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to include the missing header file
patching the source file

Description Mike Pagano gentoo-dev 2008-04-09 11:57:28 UTC
include/asm-x86/dma-mapping_32.h includes linux/scatterlist.h, asm-alpha/dma-mapping.h doesn't. 

This makes compilation of driver/block/cciss.c fail (since it doesn't have sg_init_table() )
Comment 1 Mike Pagano gentoo-dev 2008-04-09 12:28:21 UTC
Created attachment 149202 [details, diff]
Patch to include the missing header file

Attached patch for missing include
Comment 2 Mike Pagano gentoo-dev 2008-04-09 12:54:18 UTC
Created attachment 149206 [details, diff]
patching the source file
Comment 3 Mike Pagano gentoo-dev 2008-04-12 14:16:32 UTC
Patch is now in Linus' upstream development tree and will be in the 2.6.25 release of the kernel.