[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1174903875.32691.63.camel@roc-desktop>
Date: Mon, 26 Mar 2007 18:11:15 +0800
From: "Wu, Bryan" <bryan.wu@...log.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>,
Paul Mundt <lethal@...ux-sh.org>, linux-kernel@...r.kernel.org
Subject: [PATCH -mm] Blackfin arch: fix struct dmasg packing bug
Hi folks,
This patch fix a bug about struct dmasg packed missing bug.
Using __attribute__ instead of pragma.
Signed-off-by: Bryan Wu <bryan.wu@...log.com>
---
include/asm-blackfin/dma.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/include/asm-blackfin/dma.h
===================================================================
--- linux-2.6.orig/include/asm-blackfin/dma.h
+++ linux-2.6/include/asm-blackfin/dma.h
@@ -84,7 +84,7 @@
short x_modify;
unsigned short y_count;
short y_modify;
-};
+} __attribute__((packed));
struct dma_register {
unsigned long next_desc_ptr; /* DMA Next Descriptor Pointer register */
_
Thanks,
-Bryan Wu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists