-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
m68k: use mmu scatterlist.h for non-mmu setups as well
There is only trivial differences between the non-mmu and mmu versions of scatterlist.h. So use the mmu one and remove the non-mmu one. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
- Loading branch information
Greg Ungerer
committed
Mar 24, 2009
1 parent
54cae79
commit 375d1c7
Showing
3 changed files
with
22 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
#ifdef __uClinux__ | ||
#include "scatterlist_no.h" | ||
#else | ||
#include "scatterlist_mm.h" | ||
#ifndef _M68K_SCATTERLIST_H | ||
#define _M68K_SCATTERLIST_H | ||
|
||
#include <linux/types.h> | ||
|
||
struct scatterlist { | ||
#ifdef CONFIG_DEBUG_SG | ||
unsigned long sg_magic; | ||
#endif | ||
unsigned long page_link; | ||
unsigned int offset; | ||
unsigned int length; | ||
|
||
__u32 dma_address; /* A place to hang host-specific addresses at. */ | ||
}; | ||
|
||
/* This is bogus and should go away. */ | ||
#define ISA_DMA_THRESHOLD (0x00ffffff) | ||
|
||
#define sg_dma_address(sg) ((sg)->dma_address) | ||
#define sg_dma_len(sg) ((sg)->length) | ||
|
||
#endif /* !(_M68K_SCATTERLIST_H) */ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.