Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217012 - asm-alpha/dma-mapping.h missing include directive: linux/scatterlist.h
Summary: asm-alpha/dma-mapping.h missing include directive: linux/scatterlist.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-04-09 11:57 UTC by Mike Pagano
Modified: 2008-04-12 14:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to include the missing header file (alpha_missing_scatterlist_include.patch,312 bytes, patch)
2008-04-09 12:28 UTC, Mike Pagano
Details | Diff
patching the source file (cciss_missing_scatterlist_include.patch,414 bytes, patch)
2008-04-09 12:54 UTC, Mike Pagano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.