diff options
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/cache.h | 2 | ||||
-rw-r--r-- | arch/m68k/include/asm/dma-mapping.h | 10 | ||||
-rw-r--r-- | arch/m68k/include/asm/ioctls.h | 2 | ||||
-rw-r--r-- | arch/m68k/include/asm/local64.h | 1 | ||||
-rw-r--r-- | arch/m68k/include/asm/md.h | 13 | ||||
-rw-r--r-- | arch/m68k/include/asm/scatterlist.h | 3 | ||||
-rw-r--r-- | arch/m68k/include/asm/termbits.h | 1 |
7 files changed, 5 insertions, 27 deletions
diff --git a/arch/m68k/include/asm/cache.h b/arch/m68k/include/asm/cache.h index ecafbe1718c3..0395c51e46a6 100644 --- a/arch/m68k/include/asm/cache.h +++ b/arch/m68k/include/asm/cache.h | |||
@@ -8,6 +8,6 @@ | |||
8 | #define L1_CACHE_SHIFT 4 | 8 | #define L1_CACHE_SHIFT 4 |
9 | #define L1_CACHE_BYTES (1<< L1_CACHE_SHIFT) | 9 | #define L1_CACHE_BYTES (1<< L1_CACHE_SHIFT) |
10 | 10 | ||
11 | #define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES | 11 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES |
12 | 12 | ||
13 | #endif | 13 | #endif |
diff --git a/arch/m68k/include/asm/dma-mapping.h b/arch/m68k/include/asm/dma-mapping.h index 26f505488c11..17f7a45948ea 100644 --- a/arch/m68k/include/asm/dma-mapping.h +++ b/arch/m68k/include/asm/dma-mapping.h | |||
@@ -16,16 +16,6 @@ static inline int dma_set_mask(struct device *dev, u64 mask) | |||
16 | return 0; | 16 | return 0; |
17 | } | 17 | } |
18 | 18 | ||
19 | static inline int dma_get_cache_alignment(void) | ||
20 | { | ||
21 | return 1 << L1_CACHE_SHIFT; | ||
22 | } | ||
23 | |||
24 | static inline int dma_is_consistent(struct device *dev, dma_addr_t dma_addr) | ||
25 | { | ||
26 | return 0; | ||
27 | } | ||
28 | |||
29 | extern void *dma_alloc_coherent(struct device *, size_t, | 19 | extern void *dma_alloc_coherent(struct device *, size_t, |
30 | dma_addr_t *, gfp_t); | 20 | dma_addr_t *, gfp_t); |
31 | extern void dma_free_coherent(struct device *, size_t, | 21 | extern void dma_free_coherent(struct device *, size_t, |
diff --git a/arch/m68k/include/asm/ioctls.h b/arch/m68k/include/asm/ioctls.h index b8d2f4be7fd7..91a57d665460 100644 --- a/arch/m68k/include/asm/ioctls.h +++ b/arch/m68k/include/asm/ioctls.h | |||
@@ -52,6 +52,7 @@ | |||
52 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) | 52 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) |
53 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ | 53 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ |
54 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ | 54 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ |
55 | #define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */ | ||
55 | 56 | ||
56 | #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */ | 57 | #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */ |
57 | #define FIOCLEX 0x5451 | 58 | #define FIOCLEX 0x5451 |
@@ -78,6 +79,7 @@ | |||
78 | #define TIOCPKT_START 8 | 79 | #define TIOCPKT_START 8 |
79 | #define TIOCPKT_NOSTOP 16 | 80 | #define TIOCPKT_NOSTOP 16 |
80 | #define TIOCPKT_DOSTOP 32 | 81 | #define TIOCPKT_DOSTOP 32 |
82 | #define TIOCPKT_IOCTL 64 | ||
81 | 83 | ||
82 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ | 84 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ |
83 | 85 | ||
diff --git a/arch/m68k/include/asm/local64.h b/arch/m68k/include/asm/local64.h new file mode 100644 index 000000000000..36c93b5cc239 --- /dev/null +++ b/arch/m68k/include/asm/local64.h | |||
@@ -0,0 +1 @@ | |||
#include <asm-generic/local64.h> | |||
diff --git a/arch/m68k/include/asm/md.h b/arch/m68k/include/asm/md.h deleted file mode 100644 index d2f78f226f3d..000000000000 --- a/arch/m68k/include/asm/md.h +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | /* | ||
2 | * md.h: High speed xor_block operation for RAID4/5 | ||
3 | * | ||
4 | */ | ||
5 | |||
6 | #ifndef __ASM_MD_H | ||
7 | #define __ASM_MD_H | ||
8 | |||
9 | /* #define HAVE_ARCH_XORBLOCK */ | ||
10 | |||
11 | #define MD_XORBLOCK_ALIGNMENT sizeof(long) | ||
12 | |||
13 | #endif /* __ASM_MD_H */ | ||
diff --git a/arch/m68k/include/asm/scatterlist.h b/arch/m68k/include/asm/scatterlist.h index 175da06c6b95..312505452a1e 100644 --- a/arch/m68k/include/asm/scatterlist.h +++ b/arch/m68k/include/asm/scatterlist.h | |||
@@ -3,7 +3,4 @@ | |||
3 | 3 | ||
4 | #include <asm-generic/scatterlist.h> | 4 | #include <asm-generic/scatterlist.h> |
5 | 5 | ||
6 | /* This is bogus and should go away. */ | ||
7 | #define ISA_DMA_THRESHOLD (0x00ffffff) | ||
8 | |||
9 | #endif /* !(_M68K_SCATTERLIST_H) */ | 6 | #endif /* !(_M68K_SCATTERLIST_H) */ |
diff --git a/arch/m68k/include/asm/termbits.h b/arch/m68k/include/asm/termbits.h index 8c14170996bb..aea1e37b765a 100644 --- a/arch/m68k/include/asm/termbits.h +++ b/arch/m68k/include/asm/termbits.h | |||
@@ -179,6 +179,7 @@ struct ktermios { | |||
179 | #define FLUSHO 0010000 | 179 | #define FLUSHO 0010000 |
180 | #define PENDIN 0040000 | 180 | #define PENDIN 0040000 |
181 | #define IEXTEN 0100000 | 181 | #define IEXTEN 0100000 |
182 | #define EXTPROC 0200000 | ||
182 | 183 | ||
183 | 184 | ||
184 | /* tcflow() and TCXONC use these */ | 185 | /* tcflow() and TCXONC use these */ |