Re: [PATCH 36/56] microblaze_v2: dma support

John Williams
2008-05-05T02:26:35Z

> +++ b/include/asm-microblaze/scatterlist.h
> @@ -0,0 +1,21 @@
> +/*
> + * include/asm-microblaze/scatterlist.h
> + *
> + * This file is subject to the terms and conditions of the GNU General Public
> + * License. See the file "COPYING" in the main directory of this archive
> + * for more details.
> + *
> + * Copyright (C) 2006 Atmark Techno, Inc.
> + */
> +
> +#ifndef _ASM_MICROBLAZE_SCATTERLIST_H
> +#define _ASM_MICROBLAZE_SCATTERLIST_H
> +
> +struct scatterlist {
> + unsigned long page_link;
> + unsigned int offset;
> + dma_addr_t dma_address;
> + unsigned int length;
> +};
> +
> +#endif /* _ASM_MICROBLAZE_SCATTERLIST_H */

Is this worthy of promotion to asm-generic/scatterlist.h?