On Mon, 26 Nov 2007, Thomas Bogendoerfer wrote:
> --- a/drivers/scsi/sgiwd93.c
> +++ b/drivers/scsi/sgiwd93.c
> @@ -33,19 +33,27 @@
>
> struct ip22_hostdata {
> struct WD33C93_hostdata wh;
> - struct hpc_data {
> - dma_addr_t dma;
> - void *cpu;
> - } hd;
> + dma_addr_t dma;
> + void *cpu;
> + void *dev;
> };
>
> #define host_to_hostdata(host) ((struct ip22_hostdata *)((host)->hostdata))
>
> struct hpc_chunk {
> struct hpc_dma_desc desc;
> - u32 _padding; /* align to quadword boundary */
> + u32 _padding[128/4 - 3]; /* align to biggest cache line size */
^^^^^^^^^
(128 - sizeof(struct hpc_dma_desc))/4?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html