aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/bugfix/m68k/448-ide.diff
blob: 8d4c0aec061fe5aeb859dcf25ea0b88273fae3f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
To: linus, akpm, B.Zolnierkiewicz@elka.pw.edu.pl
Cc: lkml
Subject: [PATCH] m68k IDE compiler bug

From: Roman Zippel <zippel@linux-m68k.org>

IDE: Avoid compiler bug in gcc 3.2 (from Roman Zippel)

---
 include/linux/ide.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-m68k-2.6.21.orig/include/linux/ide.h
+++ linux-m68k-2.6.21/include/linux/ide.h
@@ -513,7 +513,7 @@ typedef union {
  * sense_key	: Sense key of the last failed packet command
  */
 typedef union {
-	unsigned all			:8;
+	u8 all;
 	struct {
 #if defined(__LITTLE_ENDIAN_BITFIELD)
 		unsigned ili		:1;