diff options
author | Michal Marek <mmarek@suse.cz> | 2010-10-12 09:09:06 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-10-12 09:09:06 -0400 |
commit | 239060b93bb30a4ad55f1ecaa512464a035cc5ba (patch) | |
tree | 77f79810e57d4fc24356eca0cd6db463e8994128 /arch/h8300 | |
parent | 1408b15b98635a13bad2e2a50b3c2ae2ccdf625b (diff) | |
parent | e9203c988234aa512bd45ca32b52e21c7bbfc414 (diff) |
Merge branch 'kbuild/rc-fixes' into kbuild/kconfig
We need to revert the temporary hack in 71ebc01, hence the merge.
Diffstat (limited to 'arch/h8300')
-rw-r--r-- | arch/h8300/Kconfig | 4 | ||||
-rw-r--r-- | arch/h8300/defconfig | 333 | ||||
-rw-r--r-- | arch/h8300/include/asm/ioctls.h | 2 | ||||
-rw-r--r-- | arch/h8300/include/asm/local64.h | 1 | ||||
-rw-r--r-- | arch/h8300/include/asm/md.h | 13 | ||||
-rw-r--r-- | arch/h8300/include/asm/scatterlist.h | 2 | ||||
-rw-r--r-- | arch/h8300/include/asm/termbits.h | 1 | ||||
-rw-r--r-- | arch/h8300/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/timer/itu.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/timer/timer16.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/timer/timer8.c | 2 |
11 files changed, 9 insertions, 355 deletions
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 3fe4d5adf9a2..65f897d8c1e9 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig | |||
@@ -55,10 +55,6 @@ config GENERIC_CALIBRATE_DELAY | |||
55 | bool | 55 | bool |
56 | default y | 56 | default y |
57 | 57 | ||
58 | config GENERIC_TIME | ||
59 | bool | ||
60 | default y | ||
61 | |||
62 | config GENERIC_BUG | 58 | config GENERIC_BUG |
63 | bool | 59 | bool |
64 | depends on BUG | 60 | depends on BUG |
diff --git a/arch/h8300/defconfig b/arch/h8300/defconfig index 8901cdb5e75b..342f77765f02 100644 --- a/arch/h8300/defconfig +++ b/arch/h8300/defconfig | |||
@@ -1,61 +1,11 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.25-rc1 | ||
4 | # Fri Feb 15 17:13:14 2008 | ||
5 | # | ||
6 | CONFIG_H8300=y | ||
7 | # CONFIG_MMU is not set | ||
8 | # CONFIG_SWAP is not set | ||
9 | CONFIG_ZONE_DMA=y | ||
10 | # CONFIG_FPU is not set | ||
11 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
12 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | ||
13 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
14 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
15 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
16 | CONFIG_GENERIC_HWEIGHT=y | ||
17 | CONFIG_GENERIC_HARDIRQS=y | ||
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
19 | CONFIG_GENERIC_TIME=y | ||
20 | CONFIG_TIME_LOW_RES=y | ||
21 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
22 | CONFIG_NO_IOPORT=y | ||
23 | CONFIG_NO_DMA=y | ||
24 | CONFIG_ISA=y | ||
25 | # CONFIG_PCI is not set | ||
26 | CONFIG_HZ=100 | ||
27 | CONFIG_C_SYMBOL_PREFIX=y | ||
28 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
29 | |||
30 | # | ||
31 | # General setup | ||
32 | # | ||
33 | CONFIG_EXPERIMENTAL=y | 1 | CONFIG_EXPERIMENTAL=y |
34 | CONFIG_BROKEN_ON_SMP=y | ||
35 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
36 | CONFIG_LOCALVERSION="" | ||
37 | # CONFIG_LOCALVERSION_AUTO is not set | 2 | # CONFIG_LOCALVERSION_AUTO is not set |
38 | # CONFIG_SYSVIPC is not set | ||
39 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
40 | # CONFIG_IKCONFIG is not set | ||
41 | CONFIG_LOG_BUF_SHIFT=14 | 3 | CONFIG_LOG_BUF_SHIFT=14 |
42 | # CONFIG_CGROUPS is not set | ||
43 | # CONFIG_FAIR_GROUP_SCHED is not set | ||
44 | # CONFIG_SYSFS_DEPRECATED is not set | ||
45 | # CONFIG_RELAY is not set | ||
46 | # CONFIG_NAMESPACES is not set | ||
47 | # CONFIG_BLK_DEV_INITRD is not set | ||
48 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
49 | CONFIG_SYSCTL=y | ||
50 | CONFIG_EMBEDDED=y | 4 | CONFIG_EMBEDDED=y |
51 | # CONFIG_UID16 is not set | 5 | # CONFIG_UID16 is not set |
52 | # CONFIG_SYSCTL_SYSCALL is not set | 6 | # CONFIG_SYSCTL_SYSCALL is not set |
53 | # CONFIG_KALLSYMS is not set | 7 | # CONFIG_KALLSYMS is not set |
54 | # CONFIG_HOTPLUG is not set | 8 | # CONFIG_HOTPLUG is not set |
55 | CONFIG_PRINTK=y | ||
56 | CONFIG_BUG=y | ||
57 | CONFIG_ELF_CORE=y | ||
58 | # CONFIG_COMPAT_BRK is not set | ||
59 | # CONFIG_BASE_FULL is not set | 9 | # CONFIG_BASE_FULL is not set |
60 | # CONFIG_FUTEX is not set | 10 | # CONFIG_FUTEX is not set |
61 | # CONFIG_EPOLL is not set | 11 | # CONFIG_EPOLL is not set |
@@ -63,311 +13,30 @@ CONFIG_ELF_CORE=y | |||
63 | # CONFIG_TIMERFD is not set | 13 | # CONFIG_TIMERFD is not set |
64 | # CONFIG_EVENTFD is not set | 14 | # CONFIG_EVENTFD is not set |
65 | # CONFIG_VM_EVENT_COUNTERS is not set | 15 | # CONFIG_VM_EVENT_COUNTERS is not set |
66 | # CONFIG_SLAB is not set | 16 | # CONFIG_COMPAT_BRK is not set |
67 | # CONFIG_SLUB is not set | ||
68 | CONFIG_SLOB=y | 17 | CONFIG_SLOB=y |
69 | # CONFIG_PROFILING is not set | ||
70 | # CONFIG_MARKERS is not set | ||
71 | # CONFIG_HAVE_OPROFILE is not set | ||
72 | # CONFIG_HAVE_KPROBES is not set | ||
73 | CONFIG_TINY_SHMEM=y | ||
74 | CONFIG_BASE_SMALL=1 | ||
75 | # CONFIG_MODULES is not set | ||
76 | CONFIG_BLOCK=y | ||
77 | # CONFIG_LBD is not set | ||
78 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
79 | # CONFIG_LSF is not set | ||
80 | # CONFIG_BLK_DEV_BSG is not set | 18 | # CONFIG_BLK_DEV_BSG is not set |
81 | |||
82 | # | ||
83 | # IO Schedulers | ||
84 | # | ||
85 | CONFIG_IOSCHED_NOOP=y | ||
86 | # CONFIG_IOSCHED_AS is not set | ||
87 | # CONFIG_IOSCHED_DEADLINE is not set | 19 | # CONFIG_IOSCHED_DEADLINE is not set |
88 | # CONFIG_IOSCHED_CFQ is not set | 20 | # CONFIG_IOSCHED_CFQ is not set |
89 | # CONFIG_DEFAULT_AS is not set | ||
90 | # CONFIG_DEFAULT_DEADLINE is not set | ||
91 | # CONFIG_DEFAULT_CFQ is not set | ||
92 | CONFIG_DEFAULT_NOOP=y | ||
93 | CONFIG_DEFAULT_IOSCHED="noop" | ||
94 | CONFIG_CLASSIC_RCU=y | ||
95 | # CONFIG_PREEMPT_RCU is not set | ||
96 | |||
97 | # | ||
98 | # Processor type and features | ||
99 | # | ||
100 | CONFIG_H8300H_GENERIC=y | ||
101 | # CONFIG_H8300H_AKI3068NET is not set | ||
102 | # CONFIG_H8300H_H8MAX is not set | ||
103 | # CONFIG_H8300H_SIM is not set | ||
104 | # CONFIG_H8S_GENERIC is not set | ||
105 | # CONFIG_H8S_EDOSK2674 is not set | ||
106 | # CONFIG_H8S_SIM is not set | ||
107 | |||
108 | # | ||
109 | # Detail Selection | ||
110 | # | ||
111 | # CONFIG_H83002 is not set | ||
112 | CONFIG_H83007=y | 21 | CONFIG_H83007=y |
113 | # CONFIG_H83048 is not set | ||
114 | # CONFIG_H83068 is not set | ||
115 | CONFIG_CPU_CLOCK=20000 | ||
116 | CONFIG_RAMKERNEL=y | ||
117 | # CONFIG_ROMKERNEL is not set | ||
118 | CONFIG_CPU_H8300H=y | ||
119 | # CONFIG_PREEMPT is not set | ||
120 | CONFIG_SELECT_MEMORY_MODEL=y | ||
121 | CONFIG_FLATMEM_MANUAL=y | ||
122 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
123 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
124 | CONFIG_FLATMEM=y | ||
125 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
126 | # CONFIG_SPARSEMEM_STATIC is not set | ||
127 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
128 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
129 | # CONFIG_RESOURCES_64BIT is not set | ||
130 | CONFIG_ZONE_DMA_FLAG=1 | ||
131 | CONFIG_VIRT_TO_BUS=y | ||
132 | |||
133 | # | ||
134 | # Executable file formats | ||
135 | # | ||
136 | CONFIG_BINFMT_FLAT=y | 22 | CONFIG_BINFMT_FLAT=y |
137 | CONFIG_BINFMT_ZFLAT=y | 23 | CONFIG_BINFMT_ZFLAT=y |
138 | # CONFIG_BINFMT_SHARED_FLAT is not set | ||
139 | CONFIG_BINFMT_MISC=y | 24 | CONFIG_BINFMT_MISC=y |
140 | |||
141 | # | ||
142 | # Networking | ||
143 | # | ||
144 | # CONFIG_NET is not set | ||
145 | |||
146 | # | ||
147 | # Generic Driver Options | ||
148 | # | ||
149 | CONFIG_STANDALONE=y | ||
150 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | 25 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set |
151 | # CONFIG_SYS_HYPERVISOR is not set | ||
152 | CONFIG_MTD=y | 26 | CONFIG_MTD=y |
153 | # CONFIG_MTD_DEBUG is not set | ||
154 | # CONFIG_MTD_CONCAT is not set | ||
155 | CONFIG_MTD_PARTITIONS=y | 27 | CONFIG_MTD_PARTITIONS=y |
156 | CONFIG_MTD_REDBOOT_PARTS=y | 28 | CONFIG_MTD_REDBOOT_PARTS=y |
157 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | ||
158 | # CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set | ||
159 | # CONFIG_MTD_REDBOOT_PARTS_READONLY is not set | ||
160 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
161 | |||
162 | # | ||
163 | # User Modules And Translation Layers | ||
164 | # | ||
165 | CONFIG_MTD_CHAR=y | 29 | CONFIG_MTD_CHAR=y |
166 | # CONFIG_MTD_BLKDEVS is not set | ||
167 | # CONFIG_MTD_BLOCK is not set | ||
168 | # CONFIG_MTD_BLOCK_RO is not set | ||
169 | # CONFIG_FTL is not set | ||
170 | # CONFIG_NFTL is not set | ||
171 | # CONFIG_INFTL is not set | ||
172 | # CONFIG_RFD_FTL is not set | ||
173 | # CONFIG_SSFDC is not set | ||
174 | # CONFIG_MTD_OOPS is not set | ||
175 | |||
176 | # | ||
177 | # RAM/ROM/Flash chip drivers | ||
178 | # | ||
179 | # CONFIG_MTD_CFI is not set | ||
180 | # CONFIG_MTD_JEDECPROBE is not set | ||
181 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
182 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
183 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
184 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
185 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
186 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
187 | CONFIG_MTD_CFI_I1=y | ||
188 | CONFIG_MTD_CFI_I2=y | ||
189 | # CONFIG_MTD_CFI_I4 is not set | ||
190 | # CONFIG_MTD_CFI_I8 is not set | ||
191 | CONFIG_MTD_RAM=y | 30 | CONFIG_MTD_RAM=y |
192 | CONFIG_MTD_ROM=y | 31 | CONFIG_MTD_ROM=y |
193 | # CONFIG_MTD_ABSENT is not set | ||
194 | |||
195 | # | ||
196 | # Mapping drivers for chip access | ||
197 | # | ||
198 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
199 | # CONFIG_MTD_PHYSMAP is not set | ||
200 | CONFIG_MTD_UCLINUX=y | 32 | CONFIG_MTD_UCLINUX=y |
201 | # CONFIG_MTD_PLATRAM is not set | ||
202 | |||
203 | # | ||
204 | # Self-contained MTD device drivers | ||
205 | # | ||
206 | # CONFIG_MTD_SLRAM is not set | ||
207 | # CONFIG_MTD_PHRAM is not set | ||
208 | # CONFIG_MTD_MTDRAM is not set | ||
209 | # CONFIG_MTD_BLOCK2MTD is not set | ||
210 | |||
211 | # | ||
212 | # Disk-On-Chip Device Drivers | ||
213 | # | ||
214 | # CONFIG_MTD_DOC2000 is not set | ||
215 | # CONFIG_MTD_DOC2001 is not set | ||
216 | # CONFIG_MTD_DOC2001PLUS is not set | ||
217 | # CONFIG_MTD_NAND is not set | ||
218 | # CONFIG_MTD_ONENAND is not set | ||
219 | |||
220 | # | ||
221 | # UBI - Unsorted block images | ||
222 | # | ||
223 | # CONFIG_MTD_UBI is not set | ||
224 | # CONFIG_BLK_DEV is not set | 33 | # CONFIG_BLK_DEV is not set |
225 | CONFIG_HAVE_IDE=y | ||
226 | # CONFIG_IDE is not set | ||
227 | |||
228 | # | ||
229 | # Input device support | ||
230 | # | ||
231 | # CONFIG_INPUT is not set | 34 | # CONFIG_INPUT is not set |
232 | |||
233 | # | ||
234 | # Hardware I/O ports | ||
235 | # | ||
236 | # CONFIG_SERIO is not set | 35 | # CONFIG_SERIO is not set |
237 | # CONFIG_GAMEPORT is not set | ||
238 | |||
239 | # | ||
240 | # Character devices | ||
241 | # | ||
242 | # CONFIG_VT is not set | ||
243 | |||
244 | # | ||
245 | # Unix98 PTY support | ||
246 | # | ||
247 | # CONFIG_UNIX98_PTYS is not set | ||
248 | |||
249 | # | ||
250 | # Serial drivers | ||
251 | # | ||
252 | # CONFIG_SERIAL_8250 is not set | ||
253 | |||
254 | # | ||
255 | # Non-8250 serial port support | ||
256 | # | ||
257 | CONFIG_SERIAL_SH_SCI=y | ||
258 | CONFIG_SERIAL_SH_SCI_NR_UARTS=2 | ||
259 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
260 | CONFIG_SERIAL_CORE=y | ||
261 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
262 | # CONFIG_I2C is not set | ||
263 | # CONFIG_HWMON is not set | 36 | # CONFIG_HWMON is not set |
264 | # CONFIG_USB_SUPPORT is not set | 37 | # CONFIG_USB_SUPPORT is not set |
265 | |||
266 | # | ||
267 | # File systems | ||
268 | # | ||
269 | # CONFIG_EXT2_FS is not set | ||
270 | # CONFIG_EXT3_FS is not set | ||
271 | # CONFIG_EXT4DEV_FS is not set | ||
272 | # CONFIG_REISERFS_FS is not set | ||
273 | # CONFIG_JFS_FS is not set | ||
274 | # CONFIG_FS_POSIX_ACL is not set | ||
275 | # CONFIG_XFS_FS is not set | ||
276 | # CONFIG_GFS2_FS is not set | ||
277 | # CONFIG_DNOTIFY is not set | 38 | # CONFIG_DNOTIFY is not set |
278 | # CONFIG_INOTIFY is not set | ||
279 | # CONFIG_QUOTA is not set | ||
280 | # CONFIG_AUTOFS_FS is not set | ||
281 | # CONFIG_AUTOFS4_FS is not set | ||
282 | # CONFIG_FUSE_FS is not set | ||
283 | |||
284 | # | ||
285 | # CD-ROM/DVD Filesystems | ||
286 | # | ||
287 | # CONFIG_ISO9660_FS is not set | ||
288 | # CONFIG_UDF_FS is not set | ||
289 | |||
290 | # | ||
291 | # DOS/FAT/NT Filesystems | ||
292 | # | ||
293 | # CONFIG_MSDOS_FS is not set | ||
294 | # CONFIG_VFAT_FS is not set | ||
295 | # CONFIG_NTFS_FS is not set | ||
296 | |||
297 | # | ||
298 | # Pseudo filesystems | ||
299 | # | ||
300 | CONFIG_PROC_FS=y | ||
301 | CONFIG_PROC_SYSCTL=y | ||
302 | CONFIG_SYSFS=y | ||
303 | # CONFIG_TMPFS is not set | ||
304 | # CONFIG_HUGETLB_PAGE is not set | ||
305 | # CONFIG_CONFIGFS_FS is not set | ||
306 | |||
307 | # | ||
308 | # Miscellaneous filesystems | ||
309 | # | ||
310 | # CONFIG_ADFS_FS is not set | ||
311 | # CONFIG_AFFS_FS is not set | ||
312 | # CONFIG_HFS_FS is not set | ||
313 | # CONFIG_HFSPLUS_FS is not set | ||
314 | # CONFIG_BEFS_FS is not set | ||
315 | # CONFIG_BFS_FS is not set | ||
316 | # CONFIG_EFS_FS is not set | ||
317 | # CONFIG_JFFS2_FS is not set | ||
318 | # CONFIG_CRAMFS is not set | ||
319 | # CONFIG_VXFS_FS is not set | ||
320 | # CONFIG_MINIX_FS is not set | ||
321 | # CONFIG_HPFS_FS is not set | ||
322 | # CONFIG_QNX4FS_FS is not set | ||
323 | CONFIG_ROMFS_FS=y | 39 | CONFIG_ROMFS_FS=y |
324 | # CONFIG_SYSV_FS is not set | ||
325 | # CONFIG_UFS_FS is not set | ||
326 | |||
327 | # | ||
328 | # Partition Types | ||
329 | # | ||
330 | # CONFIG_PARTITION_ADVANCED is not set | ||
331 | CONFIG_MSDOS_PARTITION=y | ||
332 | # CONFIG_NLS is not set | ||
333 | |||
334 | # | ||
335 | # Kernel hacking | ||
336 | # | ||
337 | # CONFIG_PRINTK_TIME is not set | ||
338 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | 40 | # CONFIG_ENABLE_WARN_DEPRECATED is not set |
339 | # CONFIG_ENABLE_MUST_CHECK is not set | 41 | # CONFIG_ENABLE_MUST_CHECK is not set |
340 | # CONFIG_MAGIC_SYSRQ is not set | ||
341 | # CONFIG_UNUSED_SYMBOLS is not set | ||
342 | # CONFIG_DEBUG_FS is not set | ||
343 | # CONFIG_HEADERS_CHECK is not set | ||
344 | # CONFIG_DEBUG_KERNEL is not set | ||
345 | # CONFIG_SAMPLES is not set | ||
346 | # CONFIG_FULLDEBUG is not set | ||
347 | # CONFIG_HIGHPROFILE is not set | ||
348 | # CONFIG_NO_KERNEL_MSG is not set | ||
349 | # CONFIG_SYSCALL_PRINT is not set | ||
350 | # CONFIG_GDB_DEBUG is not set | ||
351 | # CONFIG_SH_STANDARD_BIOS is not set | ||
352 | # CONFIG_DEFAULT_CMDLINE is not set | ||
353 | # CONFIG_BLKDEV_RESERVE is not set | ||
354 | |||
355 | # | ||
356 | # Security options | ||
357 | # | ||
358 | # CONFIG_KEYS is not set | ||
359 | # CONFIG_SECURITY is not set | ||
360 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
361 | # CONFIG_CRYPTO is not set | ||
362 | |||
363 | # | ||
364 | # Library routines | ||
365 | # | ||
366 | # CONFIG_CRC_CCITT is not set | ||
367 | # CONFIG_CRC16 is not set | ||
368 | # CONFIG_CRC_ITU_T is not set | ||
369 | # CONFIG_CRC32 is not set | 42 | # CONFIG_CRC32 is not set |
370 | # CONFIG_CRC7 is not set | ||
371 | # CONFIG_LIBCRC32C is not set | ||
372 | CONFIG_ZLIB_INFLATE=y | ||
373 | CONFIG_HAS_IOMEM=y | ||
diff --git a/arch/h8300/include/asm/ioctls.h b/arch/h8300/include/asm/ioctls.h index 98a53d067269..b6b249f9f308 100644 --- a/arch/h8300/include/asm/ioctls.h +++ b/arch/h8300/include/asm/ioctls.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) | 53 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) |
54 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ | 54 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ |
55 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ | 55 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ |
56 | #define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */ | ||
56 | 57 | ||
57 | #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */ | 58 | #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */ |
58 | #define FIOCLEX 0x5451 | 59 | #define FIOCLEX 0x5451 |
@@ -79,6 +80,7 @@ | |||
79 | #define TIOCPKT_START 8 | 80 | #define TIOCPKT_START 8 |
80 | #define TIOCPKT_NOSTOP 16 | 81 | #define TIOCPKT_NOSTOP 16 |
81 | #define TIOCPKT_DOSTOP 32 | 82 | #define TIOCPKT_DOSTOP 32 |
83 | #define TIOCPKT_IOCTL 64 | ||
82 | 84 | ||
83 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ | 85 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ |
84 | 86 | ||
diff --git a/arch/h8300/include/asm/local64.h b/arch/h8300/include/asm/local64.h new file mode 100644 index 000000000000..36c93b5cc239 --- /dev/null +++ b/arch/h8300/include/asm/local64.h | |||
@@ -0,0 +1 @@ | |||
#include <asm-generic/local64.h> | |||
diff --git a/arch/h8300/include/asm/md.h b/arch/h8300/include/asm/md.h deleted file mode 100644 index 1b7300e0a175..000000000000 --- a/arch/h8300/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/h8300/include/asm/scatterlist.h b/arch/h8300/include/asm/scatterlist.h index de08a4a2cc1c..82130eda0e5f 100644 --- a/arch/h8300/include/asm/scatterlist.h +++ b/arch/h8300/include/asm/scatterlist.h | |||
@@ -3,6 +3,4 @@ | |||
3 | 3 | ||
4 | #include <asm-generic/scatterlist.h> | 4 | #include <asm-generic/scatterlist.h> |
5 | 5 | ||
6 | #define ISA_DMA_THRESHOLD (0xffffffff) | ||
7 | |||
8 | #endif /* !(_H8300_SCATTERLIST_H) */ | 6 | #endif /* !(_H8300_SCATTERLIST_H) */ |
diff --git a/arch/h8300/include/asm/termbits.h b/arch/h8300/include/asm/termbits.h index 31eca81db3f7..3287a6244d74 100644 --- a/arch/h8300/include/asm/termbits.h +++ b/arch/h8300/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 */ |
diff --git a/arch/h8300/kernel/process.c b/arch/h8300/kernel/process.c index 8c8b0ffa6ad7..8b7b78d77d5c 100644 --- a/arch/h8300/kernel/process.c +++ b/arch/h8300/kernel/process.c | |||
@@ -212,7 +212,7 @@ int copy_thread(unsigned long clone_flags, | |||
212 | /* | 212 | /* |
213 | * sys_execve() executes a new program. | 213 | * sys_execve() executes a new program. |
214 | */ | 214 | */ |
215 | asmlinkage int sys_execve(char *name, char **argv, char **envp,int dummy,...) | 215 | asmlinkage int sys_execve(const char *name, char **argv, char **envp,int dummy,...) |
216 | { | 216 | { |
217 | int error; | 217 | int error; |
218 | char * filename; | 218 | char * filename; |
diff --git a/arch/h8300/kernel/timer/itu.c b/arch/h8300/kernel/timer/itu.c index 4883ba7103a8..a2ae5e952137 100644 --- a/arch/h8300/kernel/timer/itu.c +++ b/arch/h8300/kernel/timer/itu.c | |||
@@ -73,7 +73,7 @@ void __init h8300_timer_setup(void) | |||
73 | 73 | ||
74 | setup_irq(ITUIRQ, &itu_irq); | 74 | setup_irq(ITUIRQ, &itu_irq); |
75 | 75 | ||
76 | /* initalize timer */ | 76 | /* initialize timer */ |
77 | ctrl_outb(0, TSTR); | 77 | ctrl_outb(0, TSTR); |
78 | ctrl_outb(CCLR0 | div, ITUBASE + TCR); | 78 | ctrl_outb(CCLR0 | div, ITUBASE + TCR); |
79 | ctrl_outb(0x01, ITUBASE + TIER); | 79 | ctrl_outb(0x01, ITUBASE + TIER); |
diff --git a/arch/h8300/kernel/timer/timer16.c b/arch/h8300/kernel/timer/timer16.c index 042dbb53f3fb..ae0d38161139 100644 --- a/arch/h8300/kernel/timer/timer16.c +++ b/arch/h8300/kernel/timer/timer16.c | |||
@@ -68,7 +68,7 @@ void __init h8300_timer_setup(void) | |||
68 | 68 | ||
69 | setup_irq(_16IRQ, &timer16_irq); | 69 | setup_irq(_16IRQ, &timer16_irq); |
70 | 70 | ||
71 | /* initalize timer */ | 71 | /* initialize timer */ |
72 | ctrl_outb(0, TSTR); | 72 | ctrl_outb(0, TSTR); |
73 | ctrl_outb(CCLR0 | div, _16BASE + TCR); | 73 | ctrl_outb(CCLR0 | div, _16BASE + TCR); |
74 | ctrl_outw(cnt, _16BASE + GRA); | 74 | ctrl_outw(cnt, _16BASE + GRA); |
diff --git a/arch/h8300/kernel/timer/timer8.c b/arch/h8300/kernel/timer/timer8.c index 38be0cabef0d..3946c0fa8374 100644 --- a/arch/h8300/kernel/timer/timer8.c +++ b/arch/h8300/kernel/timer/timer8.c | |||
@@ -94,7 +94,7 @@ void __init h8300_timer_setup(void) | |||
94 | ctrl_bclr(0, MSTPCRL) | 94 | ctrl_bclr(0, MSTPCRL) |
95 | #endif | 95 | #endif |
96 | 96 | ||
97 | /* initalize timer */ | 97 | /* initialize timer */ |
98 | ctrl_outw(cnt, _8BASE + TCORA); | 98 | ctrl_outw(cnt, _8BASE + TCORA); |
99 | ctrl_outw(0x0000, _8BASE + _8TCSR); | 99 | ctrl_outw(0x0000, _8BASE + _8TCSR); |
100 | ctrl_outw((CMIEA|CCLR_CMA|CKS2) << 8 | div, | 100 | ctrl_outw((CMIEA|CCLR_CMA|CKS2) << 8 | div, |