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/mn10300 | |
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/mn10300')
-rw-r--r-- | arch/mn10300/Kconfig | 3 | ||||
-rw-r--r-- | arch/mn10300/boot/compressed/misc.c | 1 | ||||
-rw-r--r-- | arch/mn10300/configs/asb2303_defconfig | 563 | ||||
-rw-r--r-- | arch/mn10300/include/asm/cache.h | 2 | ||||
-rw-r--r-- | arch/mn10300/include/asm/dma-mapping.h | 8 | ||||
-rw-r--r-- | arch/mn10300/include/asm/gdb-stub.h | 8 | ||||
-rw-r--r-- | arch/mn10300/include/asm/highmem.h | 2 | ||||
-rw-r--r-- | arch/mn10300/include/asm/ioctls.h | 4 | ||||
-rw-r--r-- | arch/mn10300/include/asm/local64.h | 1 | ||||
-rw-r--r-- | arch/mn10300/include/asm/posix_types.h | 7 | ||||
-rw-r--r-- | arch/mn10300/include/asm/scatterlist.h | 2 | ||||
-rw-r--r-- | arch/mn10300/include/asm/termbits.h | 1 | ||||
-rw-r--r-- | arch/mn10300/kernel/mn10300-serial.c | 5 | ||||
-rw-r--r-- | arch/mn10300/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/mn10300/kernel/rtc.c | 5 |
15 files changed, 19 insertions, 595 deletions
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index 7bd617c94dfe..ba8bd665ba4b 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig | |||
@@ -39,9 +39,6 @@ config GENERIC_FIND_NEXT_BIT | |||
39 | config GENERIC_HWEIGHT | 39 | config GENERIC_HWEIGHT |
40 | def_bool y | 40 | def_bool y |
41 | 41 | ||
42 | config GENERIC_TIME | ||
43 | def_bool y | ||
44 | |||
45 | config GENERIC_BUG | 42 | config GENERIC_BUG |
46 | def_bool y | 43 | def_bool y |
47 | 44 | ||
diff --git a/arch/mn10300/boot/compressed/misc.c b/arch/mn10300/boot/compressed/misc.c index f673383518e4..42cbd77bd439 100644 --- a/arch/mn10300/boot/compressed/misc.c +++ b/arch/mn10300/boot/compressed/misc.c | |||
@@ -167,6 +167,7 @@ static uch *high_buffer_start /* = (uch *)(((ulg)&end) + HEAP_SIZE)*/; | |||
167 | static char *vidmem = (char *)0xb8000; | 167 | static char *vidmem = (char *)0xb8000; |
168 | static int lines, cols; | 168 | static int lines, cols; |
169 | 169 | ||
170 | #define BOOTLOADER_INFLATE | ||
170 | #include "../../../../lib/inflate.c" | 171 | #include "../../../../lib/inflate.c" |
171 | 172 | ||
172 | static inline void scroll(void) | 173 | static inline void scroll(void) |
diff --git a/arch/mn10300/configs/asb2303_defconfig b/arch/mn10300/configs/asb2303_defconfig index 441920d8ff58..d80dfcb2c902 100644 --- a/arch/mn10300/configs/asb2303_defconfig +++ b/arch/mn10300/configs/asb2303_defconfig | |||
@@ -1,634 +1,71 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.33-rc1 | ||
4 | # Tue Dec 22 19:26:25 2009 | ||
5 | # | ||
6 | CONFIG_MN10300=y | ||
7 | CONFIG_AM33=y | ||
8 | CONFIG_MMU=y | ||
9 | # CONFIG_HIGHMEM is not set | ||
10 | # CONFIG_NUMA is not set | ||
11 | CONFIG_UID16=y | ||
12 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
13 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
14 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
15 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
16 | CONFIG_GENERIC_HWEIGHT=y | ||
17 | CONFIG_GENERIC_TIME=y | ||
18 | CONFIG_GENERIC_BUG=y | ||
19 | CONFIG_QUICKLIST=y | ||
20 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
21 | CONFIG_GENERIC_HARDIRQS=y | ||
22 | # CONFIG_HOTPLUG_CPU is not set | ||
23 | CONFIG_HZ=1000 | ||
24 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
25 | CONFIG_CONSTRUCTORS=y | ||
26 | |||
27 | # | ||
28 | # General setup | ||
29 | # | ||
30 | CONFIG_EXPERIMENTAL=y | 1 | CONFIG_EXPERIMENTAL=y |
31 | CONFIG_BROKEN_ON_SMP=y | ||
32 | CONFIG_LOCK_KERNEL=y | ||
33 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
34 | CONFIG_LOCALVERSION="" | ||
35 | CONFIG_LOCALVERSION_AUTO=y | ||
36 | CONFIG_SYSVIPC=y | 2 | CONFIG_SYSVIPC=y |
37 | CONFIG_SYSVIPC_SYSCTL=y | ||
38 | # CONFIG_POSIX_MQUEUE is not set | ||
39 | CONFIG_BSD_PROCESS_ACCT=y | 3 | CONFIG_BSD_PROCESS_ACCT=y |
40 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | ||
41 | # CONFIG_TASKSTATS is not set | ||
42 | # CONFIG_AUDIT is not set | ||
43 | |||
44 | # | ||
45 | # RCU Subsystem | ||
46 | # | ||
47 | # CONFIG_TREE_RCU is not set | ||
48 | # CONFIG_TREE_PREEMPT_RCU is not set | ||
49 | CONFIG_TINY_RCU=y | 4 | CONFIG_TINY_RCU=y |
50 | # CONFIG_TREE_RCU_TRACE is not set | ||
51 | # CONFIG_IKCONFIG is not set | ||
52 | CONFIG_LOG_BUF_SHIFT=14 | 5 | CONFIG_LOG_BUF_SHIFT=14 |
53 | # CONFIG_GROUP_SCHED is not set | ||
54 | # CONFIG_CGROUPS is not set | ||
55 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | ||
56 | # CONFIG_RELAY is not set | ||
57 | # CONFIG_NAMESPACES is not set | ||
58 | # CONFIG_BLK_DEV_INITRD is not set | ||
59 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 6 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
60 | CONFIG_SYSCTL=y | ||
61 | CONFIG_ANON_INODES=y | ||
62 | CONFIG_EMBEDDED=y | 7 | CONFIG_EMBEDDED=y |
63 | CONFIG_SYSCTL_SYSCALL=y | ||
64 | # CONFIG_KALLSYMS is not set | 8 | # CONFIG_KALLSYMS is not set |
65 | # CONFIG_HOTPLUG is not set | 9 | # CONFIG_HOTPLUG is not set |
66 | CONFIG_PRINTK=y | ||
67 | CONFIG_BUG=y | ||
68 | CONFIG_ELF_CORE=y | ||
69 | CONFIG_BASE_FULL=y | ||
70 | CONFIG_FUTEX=y | ||
71 | CONFIG_EPOLL=y | ||
72 | CONFIG_SIGNALFD=y | ||
73 | CONFIG_TIMERFD=y | ||
74 | CONFIG_EVENTFD=y | ||
75 | CONFIG_SHMEM=y | ||
76 | CONFIG_AIO=y | ||
77 | |||
78 | # | ||
79 | # Kernel Performance Events And Counters | ||
80 | # | ||
81 | # CONFIG_VM_EVENT_COUNTERS is not set | 10 | # CONFIG_VM_EVENT_COUNTERS is not set |
82 | CONFIG_COMPAT_BRK=y | ||
83 | CONFIG_SLAB=y | 11 | CONFIG_SLAB=y |
84 | # CONFIG_SLUB is not set | ||
85 | # CONFIG_SLOB is not set | ||
86 | CONFIG_PROFILING=y | 12 | CONFIG_PROFILING=y |
87 | CONFIG_HAVE_OPROFILE=y | ||
88 | CONFIG_HAVE_ARCH_TRACEHOOK=y | ||
89 | |||
90 | # | ||
91 | # GCOV-based kernel profiling | ||
92 | # | ||
93 | # CONFIG_SLOW_WORK is not set | ||
94 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
95 | CONFIG_SLABINFO=y | ||
96 | CONFIG_RT_MUTEXES=y | ||
97 | CONFIG_BASE_SMALL=0 | ||
98 | # CONFIG_MODULES is not set | ||
99 | # CONFIG_BLOCK is not set | 13 | # CONFIG_BLOCK is not set |
100 | # CONFIG_INLINE_SPIN_TRYLOCK is not set | ||
101 | # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set | ||
102 | # CONFIG_INLINE_SPIN_LOCK is not set | ||
103 | # CONFIG_INLINE_SPIN_LOCK_BH is not set | ||
104 | # CONFIG_INLINE_SPIN_LOCK_IRQ is not set | ||
105 | # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set | ||
106 | # CONFIG_INLINE_SPIN_UNLOCK is not set | ||
107 | # CONFIG_INLINE_SPIN_UNLOCK_BH is not set | ||
108 | # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set | ||
109 | # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set | ||
110 | # CONFIG_INLINE_READ_TRYLOCK is not set | ||
111 | # CONFIG_INLINE_READ_LOCK is not set | ||
112 | # CONFIG_INLINE_READ_LOCK_BH is not set | ||
113 | # CONFIG_INLINE_READ_LOCK_IRQ is not set | ||
114 | # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set | ||
115 | # CONFIG_INLINE_READ_UNLOCK is not set | ||
116 | # CONFIG_INLINE_READ_UNLOCK_BH is not set | ||
117 | # CONFIG_INLINE_READ_UNLOCK_IRQ is not set | ||
118 | # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set | ||
119 | # CONFIG_INLINE_WRITE_TRYLOCK is not set | ||
120 | # CONFIG_INLINE_WRITE_LOCK is not set | ||
121 | # CONFIG_INLINE_WRITE_LOCK_BH is not set | ||
122 | # CONFIG_INLINE_WRITE_LOCK_IRQ is not set | ||
123 | # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set | ||
124 | # CONFIG_INLINE_WRITE_UNLOCK is not set | ||
125 | # CONFIG_INLINE_WRITE_UNLOCK_BH is not set | ||
126 | # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set | ||
127 | # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set | ||
128 | # CONFIG_MUTEX_SPIN_ON_OWNER is not set | ||
129 | # CONFIG_FREEZER is not set | ||
130 | |||
131 | # | ||
132 | # Matsushita MN10300 system setup | ||
133 | # | ||
134 | CONFIG_MN10300_UNIT_ASB2303=y | ||
135 | # CONFIG_MN10300_UNIT_ASB2305 is not set | ||
136 | CONFIG_MN10300_PROC_MN103E010=y | ||
137 | CONFIG_MN10300_CPU_AM33V2=y | ||
138 | CONFIG_FPU=y | ||
139 | CONFIG_MN10300_CACHE_WBACK=y | ||
140 | # CONFIG_MN10300_CACHE_WTHRU is not set | ||
141 | # CONFIG_MN10300_CACHE_DISABLED is not set | ||
142 | |||
143 | # | ||
144 | # Memory layout options | ||
145 | # | ||
146 | CONFIG_KERNEL_RAM_BASE_ADDRESS=0x90000000 | ||
147 | CONFIG_INTERRUPT_VECTOR_BASE=0x90000000 | ||
148 | CONFIG_KERNEL_TEXT_ADDRESS=0x90001000 | ||
149 | CONFIG_KERNEL_ZIMAGE_BASE_ADDRESS=0x90700000 | ||
150 | CONFIG_PREEMPT=y | 14 | CONFIG_PREEMPT=y |
151 | CONFIG_MN10300_CURRENT_IN_E2=y | ||
152 | CONFIG_MN10300_USING_JTAG=y | ||
153 | CONFIG_MN10300_RTC=y | 15 | CONFIG_MN10300_RTC=y |
154 | CONFIG_MN10300_WD_TIMER=y | ||
155 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
156 | |||
157 | # | ||
158 | # MN10300 internal serial options | ||
159 | # | ||
160 | CONFIG_MN10300_PROC_HAS_TTYSM0=y | ||
161 | CONFIG_MN10300_PROC_HAS_TTYSM1=y | ||
162 | CONFIG_MN10300_PROC_HAS_TTYSM2=y | ||
163 | CONFIG_MN10300_TTYSM=y | ||
164 | CONFIG_MN10300_TTYSM_CONSOLE=y | 16 | CONFIG_MN10300_TTYSM_CONSOLE=y |
165 | CONFIG_MN10300_TTYSM0=y | 17 | CONFIG_MN10300_TTYSM0=y |
166 | CONFIG_MN10300_TTYSM0_TIMER8=y | ||
167 | # CONFIG_MN10300_TTYSM0_TIMER2 is not set | ||
168 | CONFIG_MN10300_TTYSM1=y | 18 | CONFIG_MN10300_TTYSM1=y |
169 | CONFIG_MN10300_TTYSM1_TIMER9=y | ||
170 | # CONFIG_MN10300_TTYSM1_TIMER3 is not set | ||
171 | # CONFIG_MN10300_TTYSM2 is not set | ||
172 | CONFIG_SELECT_MEMORY_MODEL=y | ||
173 | CONFIG_FLATMEM_MANUAL=y | ||
174 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
175 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
176 | CONFIG_FLATMEM=y | ||
177 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
178 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
179 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
180 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
181 | CONFIG_ZONE_DMA_FLAG=0 | ||
182 | CONFIG_NR_QUICK=1 | ||
183 | CONFIG_VIRT_TO_BUS=y | ||
184 | # CONFIG_KSM is not set | ||
185 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
186 | |||
187 | # | ||
188 | # Power management options | ||
189 | # | ||
190 | # CONFIG_PM is not set | ||
191 | |||
192 | # | ||
193 | # Executable formats | ||
194 | # | ||
195 | CONFIG_BINFMT_ELF=y | ||
196 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
197 | # CONFIG_HAVE_AOUT is not set | ||
198 | # CONFIG_BINFMT_MISC is not set | ||
199 | CONFIG_NET=y | 19 | CONFIG_NET=y |
200 | |||
201 | # | ||
202 | # Networking options | ||
203 | # | ||
204 | CONFIG_PACKET=y | 20 | CONFIG_PACKET=y |
205 | CONFIG_PACKET_MMAP=y | ||
206 | CONFIG_UNIX=y | 21 | CONFIG_UNIX=y |
207 | # CONFIG_NET_KEY is not set | ||
208 | CONFIG_INET=y | 22 | CONFIG_INET=y |
209 | CONFIG_IP_MULTICAST=y | 23 | CONFIG_IP_MULTICAST=y |
210 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
211 | CONFIG_IP_FIB_HASH=y | ||
212 | CONFIG_IP_PNP=y | 24 | CONFIG_IP_PNP=y |
213 | # CONFIG_IP_PNP_DHCP is not set | ||
214 | CONFIG_IP_PNP_BOOTP=y | 25 | CONFIG_IP_PNP_BOOTP=y |
215 | # CONFIG_IP_PNP_RARP is not set | ||
216 | # CONFIG_NET_IPIP is not set | ||
217 | # CONFIG_NET_IPGRE is not set | ||
218 | # CONFIG_IP_MROUTE is not set | ||
219 | # CONFIG_ARPD is not set | ||
220 | # CONFIG_SYN_COOKIES is not set | ||
221 | # CONFIG_INET_AH is not set | ||
222 | # CONFIG_INET_ESP is not set | ||
223 | # CONFIG_INET_IPCOMP is not set | ||
224 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
225 | # CONFIG_INET_TUNNEL is not set | ||
226 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | 26 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set |
227 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | 27 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set |
228 | # CONFIG_INET_XFRM_MODE_BEET is not set | 28 | # CONFIG_INET_XFRM_MODE_BEET is not set |
229 | # CONFIG_INET_LRO is not set | 29 | # CONFIG_INET_LRO is not set |
230 | # CONFIG_INET_DIAG is not set | 30 | # CONFIG_INET_DIAG is not set |
231 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
232 | CONFIG_TCP_CONG_CUBIC=y | ||
233 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
234 | # CONFIG_TCP_MD5SIG is not set | ||
235 | # CONFIG_IPV6 is not set | 31 | # CONFIG_IPV6 is not set |
236 | # CONFIG_NETWORK_SECMARK is not set | ||
237 | # CONFIG_NETFILTER is not set | ||
238 | # CONFIG_IP_DCCP is not set | ||
239 | # CONFIG_IP_SCTP is not set | ||
240 | # CONFIG_RDS is not set | ||
241 | # CONFIG_TIPC is not set | ||
242 | # CONFIG_ATM is not set | ||
243 | # CONFIG_BRIDGE is not set | ||
244 | # CONFIG_NET_DSA is not set | ||
245 | # CONFIG_VLAN_8021Q is not set | ||
246 | # CONFIG_DECNET is not set | ||
247 | # CONFIG_LLC2 is not set | ||
248 | # CONFIG_IPX is not set | ||
249 | # CONFIG_ATALK is not set | ||
250 | # CONFIG_X25 is not set | ||
251 | # CONFIG_LAPB is not set | ||
252 | # CONFIG_ECONET is not set | ||
253 | # CONFIG_WAN_ROUTER is not set | ||
254 | # CONFIG_PHONET is not set | ||
255 | # CONFIG_IEEE802154 is not set | ||
256 | # CONFIG_NET_SCHED is not set | ||
257 | # CONFIG_DCB is not set | ||
258 | |||
259 | # | ||
260 | # Network testing | ||
261 | # | ||
262 | # CONFIG_NET_PKTGEN is not set | ||
263 | # CONFIG_HAMRADIO is not set | ||
264 | # CONFIG_CAN is not set | ||
265 | # CONFIG_IRDA is not set | ||
266 | # CONFIG_BT is not set | ||
267 | # CONFIG_AF_RXRPC is not set | ||
268 | # CONFIG_WIRELESS is not set | 32 | # CONFIG_WIRELESS is not set |
269 | # CONFIG_WIMAX is not set | ||
270 | # CONFIG_RFKILL is not set | ||
271 | # CONFIG_NET_9P is not set | ||
272 | |||
273 | # | ||
274 | # Device Drivers | ||
275 | # | ||
276 | |||
277 | # | ||
278 | # Generic Driver Options | ||
279 | # | ||
280 | CONFIG_STANDALONE=y | ||
281 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
282 | # CONFIG_SYS_HYPERVISOR is not set | ||
283 | # CONFIG_CONNECTOR is not set | ||
284 | CONFIG_MTD=y | 33 | CONFIG_MTD=y |
285 | CONFIG_MTD_DEBUG=y | 34 | CONFIG_MTD_DEBUG=y |
286 | CONFIG_MTD_DEBUG_VERBOSE=0 | ||
287 | # CONFIG_MTD_CONCAT is not set | ||
288 | CONFIG_MTD_PARTITIONS=y | 35 | CONFIG_MTD_PARTITIONS=y |
289 | CONFIG_MTD_REDBOOT_PARTS=y | 36 | CONFIG_MTD_REDBOOT_PARTS=y |
290 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | ||
291 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y | 37 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y |
292 | # CONFIG_MTD_REDBOOT_PARTS_READONLY is not set | ||
293 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
294 | # CONFIG_MTD_AR7_PARTS is not set | ||
295 | |||
296 | # | ||
297 | # User Modules And Translation Layers | ||
298 | # | ||
299 | CONFIG_MTD_CHAR=y | 38 | CONFIG_MTD_CHAR=y |
300 | # CONFIG_MTD_OOPS is not set | ||
301 | |||
302 | # | ||
303 | # RAM/ROM/Flash chip drivers | ||
304 | # | ||
305 | CONFIG_MTD_CFI=y | 39 | CONFIG_MTD_CFI=y |
306 | CONFIG_MTD_JEDECPROBE=y | 40 | CONFIG_MTD_JEDECPROBE=y |
307 | CONFIG_MTD_GEN_PROBE=y | ||
308 | CONFIG_MTD_CFI_ADV_OPTIONS=y | 41 | CONFIG_MTD_CFI_ADV_OPTIONS=y |
309 | CONFIG_MTD_CFI_NOSWAP=y | ||
310 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
311 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
312 | CONFIG_MTD_CFI_GEOMETRY=y | 42 | CONFIG_MTD_CFI_GEOMETRY=y |
313 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
314 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
315 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
316 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
317 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
318 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
319 | CONFIG_MTD_CFI_I1=y | ||
320 | CONFIG_MTD_CFI_I2=y | ||
321 | CONFIG_MTD_CFI_I4=y | 43 | CONFIG_MTD_CFI_I4=y |
322 | # CONFIG_MTD_CFI_I8 is not set | ||
323 | # CONFIG_MTD_OTP is not set | ||
324 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
325 | CONFIG_MTD_CFI_AMDSTD=y | 44 | CONFIG_MTD_CFI_AMDSTD=y |
326 | # CONFIG_MTD_CFI_STAA is not set | ||
327 | CONFIG_MTD_CFI_UTIL=y | ||
328 | # CONFIG_MTD_RAM is not set | ||
329 | # CONFIG_MTD_ROM is not set | ||
330 | # CONFIG_MTD_ABSENT is not set | ||
331 | |||
332 | # | ||
333 | # Mapping drivers for chip access | ||
334 | # | ||
335 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
336 | CONFIG_MTD_PHYSMAP=y | 45 | CONFIG_MTD_PHYSMAP=y |
337 | # CONFIG_MTD_PHYSMAP_COMPAT is not set | ||
338 | # CONFIG_MTD_PLATRAM is not set | ||
339 | |||
340 | # | ||
341 | # Self-contained MTD device drivers | ||
342 | # | ||
343 | # CONFIG_MTD_SLRAM is not set | ||
344 | # CONFIG_MTD_PHRAM is not set | ||
345 | # CONFIG_MTD_MTDRAM is not set | ||
346 | |||
347 | # | ||
348 | # Disk-On-Chip Device Drivers | ||
349 | # | ||
350 | # CONFIG_MTD_DOC2000 is not set | ||
351 | # CONFIG_MTD_DOC2001 is not set | ||
352 | # CONFIG_MTD_DOC2001PLUS is not set | ||
353 | # CONFIG_MTD_NAND is not set | ||
354 | # CONFIG_MTD_ONENAND is not set | ||
355 | |||
356 | # | ||
357 | # LPDDR flash memory drivers | ||
358 | # | ||
359 | # CONFIG_MTD_LPDDR is not set | ||
360 | |||
361 | # | ||
362 | # UBI - Unsorted block images | ||
363 | # | ||
364 | # CONFIG_MTD_UBI is not set | ||
365 | # CONFIG_PARPORT is not set | ||
366 | CONFIG_MISC_DEVICES=y | ||
367 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
368 | # CONFIG_C2PORT is not set | ||
369 | |||
370 | # | ||
371 | # EEPROM support | ||
372 | # | ||
373 | # CONFIG_EEPROM_93CX6 is not set | ||
374 | |||
375 | # | ||
376 | # SCSI device support | ||
377 | # | ||
378 | # CONFIG_SCSI_DMA is not set | ||
379 | # CONFIG_SCSI_NETLINK is not set | ||
380 | CONFIG_NETDEVICES=y | 46 | CONFIG_NETDEVICES=y |
381 | # CONFIG_DUMMY is not set | ||
382 | # CONFIG_BONDING is not set | ||
383 | # CONFIG_MACVLAN is not set | ||
384 | # CONFIG_EQUALIZER is not set | ||
385 | # CONFIG_TUN is not set | ||
386 | # CONFIG_VETH is not set | ||
387 | # CONFIG_PHYLIB is not set | ||
388 | CONFIG_NET_ETHERNET=y | 47 | CONFIG_NET_ETHERNET=y |
389 | CONFIG_MII=y | ||
390 | CONFIG_SMC91X=y | 48 | CONFIG_SMC91X=y |
391 | # CONFIG_ETHOC is not set | ||
392 | # CONFIG_DNET is not set | ||
393 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
394 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
395 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
396 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
397 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
398 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
399 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
400 | # CONFIG_B44 is not set | ||
401 | # CONFIG_KS8842 is not set | ||
402 | # CONFIG_KS8851_MLL is not set | ||
403 | # CONFIG_NETDEV_1000 is not set | 49 | # CONFIG_NETDEV_1000 is not set |
404 | # CONFIG_NETDEV_10000 is not set | 50 | # CONFIG_NETDEV_10000 is not set |
405 | # CONFIG_WLAN is not set | 51 | # CONFIG_WLAN is not set |
406 | |||
407 | # | ||
408 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
409 | # | ||
410 | # CONFIG_WAN is not set | ||
411 | # CONFIG_PPP is not set | ||
412 | # CONFIG_SLIP is not set | ||
413 | # CONFIG_NETCONSOLE is not set | ||
414 | # CONFIG_NETPOLL is not set | ||
415 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
416 | # CONFIG_ISDN is not set | ||
417 | # CONFIG_PHONE is not set | ||
418 | |||
419 | # | ||
420 | # Input device support | ||
421 | # | ||
422 | # CONFIG_INPUT is not set | 52 | # CONFIG_INPUT is not set |
423 | |||
424 | # | ||
425 | # Hardware I/O ports | ||
426 | # | ||
427 | # CONFIG_SERIO is not set | 53 | # CONFIG_SERIO is not set |
428 | # CONFIG_GAMEPORT is not set | ||
429 | |||
430 | # | ||
431 | # Character devices | ||
432 | # | ||
433 | # CONFIG_VT is not set | 54 | # CONFIG_VT is not set |
434 | CONFIG_DEVKMEM=y | ||
435 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
436 | |||
437 | # | ||
438 | # Serial drivers | ||
439 | # | ||
440 | CONFIG_SERIAL_8250=y | 55 | CONFIG_SERIAL_8250=y |
441 | CONFIG_SERIAL_8250_CONSOLE=y | 56 | CONFIG_SERIAL_8250_CONSOLE=y |
442 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
443 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
444 | CONFIG_SERIAL_8250_EXTENDED=y | 57 | CONFIG_SERIAL_8250_EXTENDED=y |
445 | # CONFIG_SERIAL_8250_MANY_PORTS is not set | ||
446 | CONFIG_SERIAL_8250_SHARE_IRQ=y | 58 | CONFIG_SERIAL_8250_SHARE_IRQ=y |
447 | # CONFIG_SERIAL_8250_DETECT_IRQ is not set | ||
448 | # CONFIG_SERIAL_8250_RSA is not set | ||
449 | |||
450 | # | ||
451 | # Non-8250 serial port support | ||
452 | # | ||
453 | CONFIG_SERIAL_CORE=y | ||
454 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
455 | CONFIG_UNIX98_PTYS=y | ||
456 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
457 | CONFIG_LEGACY_PTYS=y | ||
458 | CONFIG_LEGACY_PTY_COUNT=256 | ||
459 | # CONFIG_IPMI_HANDLER is not set | ||
460 | # CONFIG_HW_RANDOM is not set | 59 | # CONFIG_HW_RANDOM is not set |
461 | CONFIG_RTC=y | 60 | CONFIG_RTC=y |
462 | # CONFIG_R3964 is not set | ||
463 | # CONFIG_TCG_TPM is not set | ||
464 | # CONFIG_I2C is not set | ||
465 | # CONFIG_SPI is not set | ||
466 | |||
467 | # | ||
468 | # PPS support | ||
469 | # | ||
470 | # CONFIG_PPS is not set | ||
471 | # CONFIG_W1 is not set | ||
472 | # CONFIG_POWER_SUPPLY is not set | ||
473 | # CONFIG_HWMON is not set | 61 | # CONFIG_HWMON is not set |
474 | # CONFIG_THERMAL is not set | ||
475 | # CONFIG_WATCHDOG is not set | ||
476 | CONFIG_SSB_POSSIBLE=y | ||
477 | |||
478 | # | ||
479 | # Sonics Silicon Backplane | ||
480 | # | ||
481 | # CONFIG_SSB is not set | ||
482 | |||
483 | # | ||
484 | # Multifunction device drivers | ||
485 | # | ||
486 | # CONFIG_MFD_CORE is not set | ||
487 | # CONFIG_MFD_SM501 is not set | ||
488 | # CONFIG_HTC_PASIC3 is not set | ||
489 | # CONFIG_MFD_TMIO is not set | ||
490 | # CONFIG_REGULATOR is not set | ||
491 | # CONFIG_MEDIA_SUPPORT is not set | ||
492 | |||
493 | # | ||
494 | # Graphics support | ||
495 | # | ||
496 | # CONFIG_VGASTATE is not set | ||
497 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
498 | # CONFIG_FB is not set | ||
499 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
500 | |||
501 | # | ||
502 | # Display device support | ||
503 | # | ||
504 | # CONFIG_DISPLAY_SUPPORT is not set | ||
505 | # CONFIG_SOUND is not set | ||
506 | # CONFIG_USB_SUPPORT is not set | 62 | # CONFIG_USB_SUPPORT is not set |
507 | # CONFIG_MMC is not set | ||
508 | # CONFIG_MEMSTICK is not set | ||
509 | # CONFIG_NEW_LEDS is not set | ||
510 | # CONFIG_ACCESSIBILITY is not set | ||
511 | # CONFIG_RTC_CLASS is not set | ||
512 | # CONFIG_DMADEVICES is not set | ||
513 | # CONFIG_AUXDISPLAY is not set | ||
514 | # CONFIG_UIO is not set | ||
515 | |||
516 | # | ||
517 | # TI VLYNQ | ||
518 | # | ||
519 | # CONFIG_STAGING is not set | ||
520 | |||
521 | # | ||
522 | # File systems | ||
523 | # | ||
524 | CONFIG_FILE_LOCKING=y | ||
525 | CONFIG_FSNOTIFY=y | ||
526 | CONFIG_DNOTIFY=y | ||
527 | CONFIG_INOTIFY=y | ||
528 | CONFIG_INOTIFY_USER=y | ||
529 | # CONFIG_QUOTA is not set | ||
530 | # CONFIG_AUTOFS_FS is not set | ||
531 | # CONFIG_AUTOFS4_FS is not set | ||
532 | # CONFIG_FUSE_FS is not set | ||
533 | |||
534 | # | ||
535 | # Caches | ||
536 | # | ||
537 | # CONFIG_FSCACHE is not set | ||
538 | |||
539 | # | ||
540 | # Pseudo filesystems | ||
541 | # | ||
542 | CONFIG_PROC_FS=y | ||
543 | CONFIG_PROC_KCORE=y | 63 | CONFIG_PROC_KCORE=y |
544 | CONFIG_PROC_SYSCTL=y | ||
545 | # CONFIG_PROC_PAGE_MONITOR is not set | 64 | # CONFIG_PROC_PAGE_MONITOR is not set |
546 | CONFIG_SYSFS=y | ||
547 | CONFIG_TMPFS=y | 65 | CONFIG_TMPFS=y |
548 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
549 | # CONFIG_HUGETLB_PAGE is not set | ||
550 | # CONFIG_CONFIGFS_FS is not set | ||
551 | CONFIG_MISC_FILESYSTEMS=y | ||
552 | CONFIG_JFFS2_FS=y | 66 | CONFIG_JFFS2_FS=y |
553 | CONFIG_JFFS2_FS_DEBUG=0 | ||
554 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
555 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
556 | # CONFIG_JFFS2_SUMMARY is not set | ||
557 | # CONFIG_JFFS2_FS_XATTR is not set | ||
558 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
559 | CONFIG_JFFS2_ZLIB=y | ||
560 | # CONFIG_JFFS2_LZO is not set | ||
561 | CONFIG_JFFS2_RTIME=y | ||
562 | # CONFIG_JFFS2_RUBIN is not set | ||
563 | # CONFIG_ROMFS_FS is not set | ||
564 | CONFIG_NETWORK_FILESYSTEMS=y | ||
565 | CONFIG_NFS_FS=y | 67 | CONFIG_NFS_FS=y |
566 | CONFIG_NFS_V3=y | 68 | CONFIG_NFS_V3=y |
567 | # CONFIG_NFS_V3_ACL is not set | ||
568 | # CONFIG_NFS_V4 is not set | ||
569 | CONFIG_ROOT_NFS=y | 69 | CONFIG_ROOT_NFS=y |
570 | # CONFIG_NFSD is not set | ||
571 | CONFIG_LOCKD=y | ||
572 | CONFIG_LOCKD_V4=y | ||
573 | CONFIG_NFS_COMMON=y | ||
574 | CONFIG_SUNRPC=y | ||
575 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
576 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
577 | # CONFIG_SMB_FS is not set | ||
578 | # CONFIG_CIFS is not set | ||
579 | # CONFIG_NCP_FS is not set | ||
580 | # CONFIG_CODA_FS is not set | ||
581 | # CONFIG_AFS_FS is not set | ||
582 | # CONFIG_NLS is not set | ||
583 | # CONFIG_DLM is not set | ||
584 | |||
585 | # | ||
586 | # Kernel hacking | ||
587 | # | ||
588 | # CONFIG_PRINTK_TIME is not set | ||
589 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
590 | CONFIG_ENABLE_MUST_CHECK=y | ||
591 | CONFIG_FRAME_WARN=1024 | ||
592 | CONFIG_MAGIC_SYSRQ=y | 70 | CONFIG_MAGIC_SYSRQ=y |
593 | CONFIG_STRIP_ASM_SYMS=y | 71 | CONFIG_STRIP_ASM_SYMS=y |
594 | # CONFIG_UNUSED_SYMBOLS is not set | ||
595 | # CONFIG_DEBUG_FS is not set | ||
596 | # CONFIG_HEADERS_CHECK is not set | ||
597 | # CONFIG_DEBUG_KERNEL is not set | ||
598 | CONFIG_DEBUG_BUGVERBOSE=y | ||
599 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
600 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set | ||
601 | # CONFIG_SAMPLES is not set | ||
602 | |||
603 | # | ||
604 | # Security options | ||
605 | # | ||
606 | # CONFIG_KEYS is not set | ||
607 | # CONFIG_SECURITY is not set | ||
608 | # CONFIG_SECURITYFS is not set | ||
609 | # CONFIG_DEFAULT_SECURITY_SELINUX is not set | ||
610 | # CONFIG_DEFAULT_SECURITY_SMACK is not set | ||
611 | # CONFIG_DEFAULT_SECURITY_TOMOYO is not set | ||
612 | CONFIG_DEFAULT_SECURITY_DAC=y | ||
613 | CONFIG_DEFAULT_SECURITY="" | ||
614 | # CONFIG_CRYPTO is not set | ||
615 | # CONFIG_BINARY_PRINTF is not set | ||
616 | |||
617 | # | ||
618 | # Library routines | ||
619 | # | ||
620 | CONFIG_BITREVERSE=y | ||
621 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
622 | # CONFIG_CRC_CCITT is not set | ||
623 | # CONFIG_CRC16 is not set | ||
624 | # CONFIG_CRC_T10DIF is not set | ||
625 | # CONFIG_CRC_ITU_T is not set | ||
626 | CONFIG_CRC32=y | ||
627 | # CONFIG_CRC7 is not set | ||
628 | # CONFIG_LIBCRC32C is not set | ||
629 | CONFIG_ZLIB_INFLATE=y | ||
630 | CONFIG_ZLIB_DEFLATE=y | ||
631 | CONFIG_HAS_IOMEM=y | ||
632 | CONFIG_HAS_IOPORT=y | ||
633 | CONFIG_HAS_DMA=y | ||
634 | CONFIG_NLATTR=y | ||
diff --git a/arch/mn10300/include/asm/cache.h b/arch/mn10300/include/asm/cache.h index 6e2fe28dde4e..781bf613366d 100644 --- a/arch/mn10300/include/asm/cache.h +++ b/arch/mn10300/include/asm/cache.h | |||
@@ -21,7 +21,7 @@ | |||
21 | #define L1_CACHE_DISPARITY L1_CACHE_NENTRIES * L1_CACHE_BYTES | 21 | #define L1_CACHE_DISPARITY L1_CACHE_NENTRIES * L1_CACHE_BYTES |
22 | #endif | 22 | #endif |
23 | 23 | ||
24 | #define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES | 24 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES |
25 | 25 | ||
26 | /* data cache purge registers | 26 | /* data cache purge registers |
27 | * - read from the register to unconditionally purge that cache line | 27 | * - read from the register to unconditionally purge that cache line |
diff --git a/arch/mn10300/include/asm/dma-mapping.h b/arch/mn10300/include/asm/dma-mapping.h index 4ed1522b38d2..c1be4397b1ed 100644 --- a/arch/mn10300/include/asm/dma-mapping.h +++ b/arch/mn10300/include/asm/dma-mapping.h | |||
@@ -162,14 +162,6 @@ int dma_set_mask(struct device *dev, u64 mask) | |||
162 | } | 162 | } |
163 | 163 | ||
164 | static inline | 164 | static inline |
165 | int dma_get_cache_alignment(void) | ||
166 | { | ||
167 | return 1 << L1_CACHE_SHIFT; | ||
168 | } | ||
169 | |||
170 | #define dma_is_consistent(d) (1) | ||
171 | |||
172 | static inline | ||
173 | void dma_cache_sync(void *vaddr, size_t size, | 165 | void dma_cache_sync(void *vaddr, size_t size, |
174 | enum dma_data_direction direction) | 166 | enum dma_data_direction direction) |
175 | { | 167 | { |
diff --git a/arch/mn10300/include/asm/gdb-stub.h b/arch/mn10300/include/asm/gdb-stub.h index 556cce992548..41ed26763964 100644 --- a/arch/mn10300/include/asm/gdb-stub.h +++ b/arch/mn10300/include/asm/gdb-stub.h | |||
@@ -157,25 +157,25 @@ void gdbstub_printk(const char *fmt, ...) | |||
157 | #ifdef CONFIG_GDBSTUB_DEBUG_ENTRY | 157 | #ifdef CONFIG_GDBSTUB_DEBUG_ENTRY |
158 | #define gdbstub_entry(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) | 158 | #define gdbstub_entry(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) |
159 | #else | 159 | #else |
160 | #define gdbstub_entry(FMT, ...) ({ 0; }) | 160 | #define gdbstub_entry(FMT, ...) no_printk(FMT, ##__VA_ARGS__) |
161 | #endif | 161 | #endif |
162 | 162 | ||
163 | #ifdef CONFIG_GDBSTUB_DEBUG_PROTOCOL | 163 | #ifdef CONFIG_GDBSTUB_DEBUG_PROTOCOL |
164 | #define gdbstub_proto(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) | 164 | #define gdbstub_proto(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) |
165 | #else | 165 | #else |
166 | #define gdbstub_proto(FMT, ...) ({ 0; }) | 166 | #define gdbstub_proto(FMT, ...) no_printk(FMT, ##__VA_ARGS__) |
167 | #endif | 167 | #endif |
168 | 168 | ||
169 | #ifdef CONFIG_GDBSTUB_DEBUG_IO | 169 | #ifdef CONFIG_GDBSTUB_DEBUG_IO |
170 | #define gdbstub_io(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) | 170 | #define gdbstub_io(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) |
171 | #else | 171 | #else |
172 | #define gdbstub_io(FMT, ...) ({ 0; }) | 172 | #define gdbstub_io(FMT, ...) no_printk(FMT, ##__VA_ARGS__) |
173 | #endif | 173 | #endif |
174 | 174 | ||
175 | #ifdef CONFIG_GDBSTUB_DEBUG_BREAKPOINT | 175 | #ifdef CONFIG_GDBSTUB_DEBUG_BREAKPOINT |
176 | #define gdbstub_bkpt(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) | 176 | #define gdbstub_bkpt(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) |
177 | #else | 177 | #else |
178 | #define gdbstub_bkpt(FMT, ...) ({ 0; }) | 178 | #define gdbstub_bkpt(FMT, ...) no_printk(FMT, ##__VA_ARGS__) |
179 | #endif | 179 | #endif |
180 | 180 | ||
181 | #endif /* !__ASSEMBLY__ */ | 181 | #endif /* !__ASSEMBLY__ */ |
diff --git a/arch/mn10300/include/asm/highmem.h b/arch/mn10300/include/asm/highmem.h index 90f2abb04bfd..b0b187a29b88 100644 --- a/arch/mn10300/include/asm/highmem.h +++ b/arch/mn10300/include/asm/highmem.h | |||
@@ -91,7 +91,7 @@ static inline unsigned long kmap_atomic(struct page *page, enum km_type type) | |||
91 | return vaddr; | 91 | return vaddr; |
92 | } | 92 | } |
93 | 93 | ||
94 | static inline void kunmap_atomic(unsigned long vaddr, enum km_type type) | 94 | static inline void kunmap_atomic_notypecheck(unsigned long vaddr, enum km_type type) |
95 | { | 95 | { |
96 | #if HIGHMEM_DEBUG | 96 | #if HIGHMEM_DEBUG |
97 | enum fixed_addresses idx = type + KM_TYPE_NR * smp_processor_id(); | 97 | enum fixed_addresses idx = type + KM_TYPE_NR * smp_processor_id(); |
diff --git a/arch/mn10300/include/asm/ioctls.h b/arch/mn10300/include/asm/ioctls.h index dcbfb452974f..cb8cf1902234 100644 --- a/arch/mn10300/include/asm/ioctls.h +++ b/arch/mn10300/include/asm/ioctls.h | |||
@@ -54,6 +54,7 @@ | |||
54 | #define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number | 54 | #define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number |
55 | * (of pty-mux device) */ | 55 | * (of pty-mux device) */ |
56 | #define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */ | 56 | #define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */ |
57 | #define TIOCSIG _IOW('T', 0x36, int) /* Generate signal on Pty slave */ | ||
57 | 58 | ||
58 | #define FIONCLEX 0x5450 | 59 | #define FIONCLEX 0x5450 |
59 | #define FIOCLEX 0x5451 | 60 | #define FIOCLEX 0x5451 |
@@ -70,8 +71,6 @@ | |||
70 | 71 | ||
71 | #define TIOCMIWAIT 0x545C /* wait for a change on serial input line(s) */ | 72 | #define TIOCMIWAIT 0x545C /* wait for a change on serial input line(s) */ |
72 | #define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */ | 73 | #define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */ |
73 | #define TIOCGHAYESESP 0x545E /* Get Hayes ESP configuration */ | ||
74 | #define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */ | ||
75 | #define FIOQSIZE 0x5460 | 74 | #define FIOQSIZE 0x5460 |
76 | 75 | ||
77 | /* Used for packet mode */ | 76 | /* Used for packet mode */ |
@@ -82,6 +81,7 @@ | |||
82 | #define TIOCPKT_START 8 | 81 | #define TIOCPKT_START 8 |
83 | #define TIOCPKT_NOSTOP 16 | 82 | #define TIOCPKT_NOSTOP 16 |
84 | #define TIOCPKT_DOSTOP 32 | 83 | #define TIOCPKT_DOSTOP 32 |
84 | #define TIOCPKT_IOCTL 64 | ||
85 | 85 | ||
86 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ | 86 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ |
87 | 87 | ||
diff --git a/arch/mn10300/include/asm/local64.h b/arch/mn10300/include/asm/local64.h new file mode 100644 index 000000000000..36c93b5cc239 --- /dev/null +++ b/arch/mn10300/include/asm/local64.h | |||
@@ -0,0 +1 @@ | |||
#include <asm-generic/local64.h> | |||
diff --git a/arch/mn10300/include/asm/posix_types.h b/arch/mn10300/include/asm/posix_types.h index 077567c37798..56ffbc158798 100644 --- a/arch/mn10300/include/asm/posix_types.h +++ b/arch/mn10300/include/asm/posix_types.h | |||
@@ -25,8 +25,13 @@ typedef int __kernel_pid_t; | |||
25 | typedef unsigned short __kernel_ipc_pid_t; | 25 | typedef unsigned short __kernel_ipc_pid_t; |
26 | typedef unsigned short __kernel_uid_t; | 26 | typedef unsigned short __kernel_uid_t; |
27 | typedef unsigned short __kernel_gid_t; | 27 | typedef unsigned short __kernel_gid_t; |
28 | #if __GNUC__ == 4 | ||
29 | typedef unsigned int __kernel_size_t; | ||
30 | typedef signed int __kernel_ssize_t; | ||
31 | #else | ||
28 | typedef unsigned long __kernel_size_t; | 32 | typedef unsigned long __kernel_size_t; |
29 | typedef long __kernel_ssize_t; | 33 | typedef signed long __kernel_ssize_t; |
34 | #endif | ||
30 | typedef int __kernel_ptrdiff_t; | 35 | typedef int __kernel_ptrdiff_t; |
31 | typedef long __kernel_time_t; | 36 | typedef long __kernel_time_t; |
32 | typedef long __kernel_suseconds_t; | 37 | typedef long __kernel_suseconds_t; |
diff --git a/arch/mn10300/include/asm/scatterlist.h b/arch/mn10300/include/asm/scatterlist.h index 7bd00b9e030d..7baa4006008a 100644 --- a/arch/mn10300/include/asm/scatterlist.h +++ b/arch/mn10300/include/asm/scatterlist.h | |||
@@ -13,6 +13,4 @@ | |||
13 | 13 | ||
14 | #include <asm-generic/scatterlist.h> | 14 | #include <asm-generic/scatterlist.h> |
15 | 15 | ||
16 | #define ISA_DMA_THRESHOLD (0x00ffffff) | ||
17 | |||
18 | #endif /* _ASM_SCATTERLIST_H */ | 16 | #endif /* _ASM_SCATTERLIST_H */ |
diff --git a/arch/mn10300/include/asm/termbits.h b/arch/mn10300/include/asm/termbits.h index eb2b0dc1f696..130d42495972 100644 --- a/arch/mn10300/include/asm/termbits.h +++ b/arch/mn10300/include/asm/termbits.h | |||
@@ -180,6 +180,7 @@ struct ktermios { | |||
180 | #define FLUSHO 0010000 | 180 | #define FLUSHO 0010000 |
181 | #define PENDIN 0040000 | 181 | #define PENDIN 0040000 |
182 | #define IEXTEN 0100000 | 182 | #define IEXTEN 0100000 |
183 | #define EXTPROC 0200000 | ||
183 | 184 | ||
184 | /* tcflow() and TCXONC use these */ | 185 | /* tcflow() and TCXONC use these */ |
185 | #define TCOOFF 0 | 186 | #define TCOOFF 0 |
diff --git a/arch/mn10300/kernel/mn10300-serial.c b/arch/mn10300/kernel/mn10300-serial.c index ef34d5a0f8bd..9d49073e827a 100644 --- a/arch/mn10300/kernel/mn10300-serial.c +++ b/arch/mn10300/kernel/mn10300-serial.c | |||
@@ -44,11 +44,6 @@ static const char serial_revdate[] = "2007-11-06"; | |||
44 | #include <unit/timex.h> | 44 | #include <unit/timex.h> |
45 | #include "mn10300-serial.h" | 45 | #include "mn10300-serial.h" |
46 | 46 | ||
47 | static inline __attribute__((format(printf, 1, 2))) | ||
48 | void no_printk(const char *fmt, ...) | ||
49 | { | ||
50 | } | ||
51 | |||
52 | #define kenter(FMT, ...) \ | 47 | #define kenter(FMT, ...) \ |
53 | printk(KERN_DEBUG "-->%s(" FMT ")\n", __func__, ##__VA_ARGS__) | 48 | printk(KERN_DEBUG "-->%s(" FMT ")\n", __func__, ##__VA_ARGS__) |
54 | #define _enter(FMT, ...) \ | 49 | #define _enter(FMT, ...) \ |
diff --git a/arch/mn10300/kernel/process.c b/arch/mn10300/kernel/process.c index 82b817c7f7b6..762eb325b949 100644 --- a/arch/mn10300/kernel/process.c +++ b/arch/mn10300/kernel/process.c | |||
@@ -268,7 +268,7 @@ asmlinkage long sys_vfork(void) | |||
268 | 0, NULL, NULL); | 268 | 0, NULL, NULL); |
269 | } | 269 | } |
270 | 270 | ||
271 | asmlinkage long sys_execve(char __user *name, | 271 | asmlinkage long sys_execve(const char __user *name, |
272 | char __user * __user *argv, | 272 | char __user * __user *argv, |
273 | char __user * __user *envp) | 273 | char __user * __user *envp) |
274 | { | 274 | { |
diff --git a/arch/mn10300/kernel/rtc.c b/arch/mn10300/kernel/rtc.c index 815a933aafa8..4eef0e7224f6 100644 --- a/arch/mn10300/kernel/rtc.c +++ b/arch/mn10300/kernel/rtc.c | |||
@@ -20,9 +20,6 @@ | |||
20 | DEFINE_SPINLOCK(rtc_lock); | 20 | DEFINE_SPINLOCK(rtc_lock); |
21 | EXPORT_SYMBOL(rtc_lock); | 21 | EXPORT_SYMBOL(rtc_lock); |
22 | 22 | ||
23 | /* last time the RTC got updated */ | ||
24 | static long last_rtc_update; | ||
25 | |||
26 | /* time for RTC to update itself in ioclks */ | 23 | /* time for RTC to update itself in ioclks */ |
27 | static unsigned long mn10300_rtc_update_period; | 24 | static unsigned long mn10300_rtc_update_period; |
28 | 25 | ||
@@ -110,7 +107,7 @@ static int set_rtc_mmss(unsigned long nowtime) | |||
110 | 107 | ||
111 | int update_persistent_clock(struct timespec now) | 108 | int update_persistent_clock(struct timespec now) |
112 | { | 109 | { |
113 | return set_rtc_mms(now.tv_sec); | 110 | return set_rtc_mmss(now.tv_sec); |
114 | } | 111 | } |
115 | 112 | ||
116 | /* | 113 | /* |