aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-10-12 09:09:06 -0400
committerMichal Marek <mmarek@suse.cz>2010-10-12 09:09:06 -0400
commit239060b93bb30a4ad55f1ecaa512464a035cc5ba (patch)
tree77f79810e57d4fc24356eca0cd6db463e8994128 /arch/mn10300
parent1408b15b98635a13bad2e2a50b3c2ae2ccdf625b (diff)
parente9203c988234aa512bd45ca32b52e21c7bbfc414 (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/Kconfig3
-rw-r--r--arch/mn10300/boot/compressed/misc.c1
-rw-r--r--arch/mn10300/configs/asb2303_defconfig563
-rw-r--r--arch/mn10300/include/asm/cache.h2
-rw-r--r--arch/mn10300/include/asm/dma-mapping.h8
-rw-r--r--arch/mn10300/include/asm/gdb-stub.h8
-rw-r--r--arch/mn10300/include/asm/highmem.h2
-rw-r--r--arch/mn10300/include/asm/ioctls.h4
-rw-r--r--arch/mn10300/include/asm/local64.h1
-rw-r--r--arch/mn10300/include/asm/posix_types.h7
-rw-r--r--arch/mn10300/include/asm/scatterlist.h2
-rw-r--r--arch/mn10300/include/asm/termbits.h1
-rw-r--r--arch/mn10300/kernel/mn10300-serial.c5
-rw-r--r--arch/mn10300/kernel/process.c2
-rw-r--r--arch/mn10300/kernel/rtc.c5
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
39config GENERIC_HWEIGHT 39config GENERIC_HWEIGHT
40 def_bool y 40 def_bool y
41 41
42config GENERIC_TIME
43 def_bool y
44
45config GENERIC_BUG 42config 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)*/;
167static char *vidmem = (char *)0xb8000; 167static char *vidmem = (char *)0xb8000;
168static int lines, cols; 168static int lines, cols;
169 169
170#define BOOTLOADER_INFLATE
170#include "../../../../lib/inflate.c" 171#include "../../../../lib/inflate.c"
171 172
172static inline void scroll(void) 173static 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#
6CONFIG_MN10300=y
7CONFIG_AM33=y
8CONFIG_MMU=y
9# CONFIG_HIGHMEM is not set
10# CONFIG_NUMA is not set
11CONFIG_UID16=y
12CONFIG_RWSEM_GENERIC_SPINLOCK=y
13CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
14CONFIG_GENERIC_CALIBRATE_DELAY=y
15CONFIG_GENERIC_FIND_NEXT_BIT=y
16CONFIG_GENERIC_HWEIGHT=y
17CONFIG_GENERIC_TIME=y
18CONFIG_GENERIC_BUG=y
19CONFIG_QUICKLIST=y
20CONFIG_ARCH_HAS_ILOG2_U32=y
21CONFIG_GENERIC_HARDIRQS=y
22# CONFIG_HOTPLUG_CPU is not set
23CONFIG_HZ=1000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y 1CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35CONFIG_LOCALVERSION_AUTO=y
36CONFIG_SYSVIPC=y 2CONFIG_SYSVIPC=y
37CONFIG_SYSVIPC_SYSCTL=y
38# CONFIG_POSIX_MQUEUE is not set
39CONFIG_BSD_PROCESS_ACCT=y 3CONFIG_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
49CONFIG_TINY_RCU=y 4CONFIG_TINY_RCU=y
50# CONFIG_TREE_RCU_TRACE is not set
51# CONFIG_IKCONFIG is not set
52CONFIG_LOG_BUF_SHIFT=14 5CONFIG_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
60CONFIG_SYSCTL=y
61CONFIG_ANON_INODES=y
62CONFIG_EMBEDDED=y 7CONFIG_EMBEDDED=y
63CONFIG_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
66CONFIG_PRINTK=y
67CONFIG_BUG=y
68CONFIG_ELF_CORE=y
69CONFIG_BASE_FULL=y
70CONFIG_FUTEX=y
71CONFIG_EPOLL=y
72CONFIG_SIGNALFD=y
73CONFIG_TIMERFD=y
74CONFIG_EVENTFD=y
75CONFIG_SHMEM=y
76CONFIG_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
82CONFIG_COMPAT_BRK=y
83CONFIG_SLAB=y 11CONFIG_SLAB=y
84# CONFIG_SLUB is not set
85# CONFIG_SLOB is not set
86CONFIG_PROFILING=y 12CONFIG_PROFILING=y
87CONFIG_HAVE_OPROFILE=y
88CONFIG_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
95CONFIG_SLABINFO=y
96CONFIG_RT_MUTEXES=y
97CONFIG_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#
134CONFIG_MN10300_UNIT_ASB2303=y
135# CONFIG_MN10300_UNIT_ASB2305 is not set
136CONFIG_MN10300_PROC_MN103E010=y
137CONFIG_MN10300_CPU_AM33V2=y
138CONFIG_FPU=y
139CONFIG_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#
146CONFIG_KERNEL_RAM_BASE_ADDRESS=0x90000000
147CONFIG_INTERRUPT_VECTOR_BASE=0x90000000
148CONFIG_KERNEL_TEXT_ADDRESS=0x90001000
149CONFIG_KERNEL_ZIMAGE_BASE_ADDRESS=0x90700000
150CONFIG_PREEMPT=y 14CONFIG_PREEMPT=y
151CONFIG_MN10300_CURRENT_IN_E2=y
152CONFIG_MN10300_USING_JTAG=y
153CONFIG_MN10300_RTC=y 15CONFIG_MN10300_RTC=y
154CONFIG_MN10300_WD_TIMER=y
155# CONFIG_ARCH_SUPPORTS_MSI is not set
156
157#
158# MN10300 internal serial options
159#
160CONFIG_MN10300_PROC_HAS_TTYSM0=y
161CONFIG_MN10300_PROC_HAS_TTYSM1=y
162CONFIG_MN10300_PROC_HAS_TTYSM2=y
163CONFIG_MN10300_TTYSM=y
164CONFIG_MN10300_TTYSM_CONSOLE=y 16CONFIG_MN10300_TTYSM_CONSOLE=y
165CONFIG_MN10300_TTYSM0=y 17CONFIG_MN10300_TTYSM0=y
166CONFIG_MN10300_TTYSM0_TIMER8=y
167# CONFIG_MN10300_TTYSM0_TIMER2 is not set
168CONFIG_MN10300_TTYSM1=y 18CONFIG_MN10300_TTYSM1=y
169CONFIG_MN10300_TTYSM1_TIMER9=y
170# CONFIG_MN10300_TTYSM1_TIMER3 is not set
171# CONFIG_MN10300_TTYSM2 is not set
172CONFIG_SELECT_MEMORY_MODEL=y
173CONFIG_FLATMEM_MANUAL=y
174# CONFIG_DISCONTIGMEM_MANUAL is not set
175# CONFIG_SPARSEMEM_MANUAL is not set
176CONFIG_FLATMEM=y
177CONFIG_FLAT_NODE_MEM_MAP=y
178CONFIG_PAGEFLAGS_EXTENDED=y
179CONFIG_SPLIT_PTLOCK_CPUS=4
180# CONFIG_PHYS_ADDR_T_64BIT is not set
181CONFIG_ZONE_DMA_FLAG=0
182CONFIG_NR_QUICK=1
183CONFIG_VIRT_TO_BUS=y
184# CONFIG_KSM is not set
185CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
186
187#
188# Power management options
189#
190# CONFIG_PM is not set
191
192#
193# Executable formats
194#
195CONFIG_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
199CONFIG_NET=y 19CONFIG_NET=y
200
201#
202# Networking options
203#
204CONFIG_PACKET=y 20CONFIG_PACKET=y
205CONFIG_PACKET_MMAP=y
206CONFIG_UNIX=y 21CONFIG_UNIX=y
207# CONFIG_NET_KEY is not set
208CONFIG_INET=y 22CONFIG_INET=y
209CONFIG_IP_MULTICAST=y 23CONFIG_IP_MULTICAST=y
210# CONFIG_IP_ADVANCED_ROUTER is not set
211CONFIG_IP_FIB_HASH=y
212CONFIG_IP_PNP=y 24CONFIG_IP_PNP=y
213# CONFIG_IP_PNP_DHCP is not set
214CONFIG_IP_PNP_BOOTP=y 25CONFIG_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
232CONFIG_TCP_CONG_CUBIC=y
233CONFIG_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#
280CONFIG_STANDALONE=y
281CONFIG_PREVENT_FIRMWARE_BUILD=y
282# CONFIG_SYS_HYPERVISOR is not set
283# CONFIG_CONNECTOR is not set
284CONFIG_MTD=y 33CONFIG_MTD=y
285CONFIG_MTD_DEBUG=y 34CONFIG_MTD_DEBUG=y
286CONFIG_MTD_DEBUG_VERBOSE=0
287# CONFIG_MTD_CONCAT is not set
288CONFIG_MTD_PARTITIONS=y 35CONFIG_MTD_PARTITIONS=y
289CONFIG_MTD_REDBOOT_PARTS=y 36CONFIG_MTD_REDBOOT_PARTS=y
290CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
291CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y 37CONFIG_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#
299CONFIG_MTD_CHAR=y 38CONFIG_MTD_CHAR=y
300# CONFIG_MTD_OOPS is not set
301
302#
303# RAM/ROM/Flash chip drivers
304#
305CONFIG_MTD_CFI=y 39CONFIG_MTD_CFI=y
306CONFIG_MTD_JEDECPROBE=y 40CONFIG_MTD_JEDECPROBE=y
307CONFIG_MTD_GEN_PROBE=y
308CONFIG_MTD_CFI_ADV_OPTIONS=y 41CONFIG_MTD_CFI_ADV_OPTIONS=y
309CONFIG_MTD_CFI_NOSWAP=y
310# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
311# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
312CONFIG_MTD_CFI_GEOMETRY=y 42CONFIG_MTD_CFI_GEOMETRY=y
313CONFIG_MTD_MAP_BANK_WIDTH_1=y
314CONFIG_MTD_MAP_BANK_WIDTH_2=y
315CONFIG_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
319CONFIG_MTD_CFI_I1=y
320CONFIG_MTD_CFI_I2=y
321CONFIG_MTD_CFI_I4=y 43CONFIG_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
325CONFIG_MTD_CFI_AMDSTD=y 44CONFIG_MTD_CFI_AMDSTD=y
326# CONFIG_MTD_CFI_STAA is not set
327CONFIG_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
336CONFIG_MTD_PHYSMAP=y 45CONFIG_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
366CONFIG_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
380CONFIG_NETDEVICES=y 46CONFIG_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
388CONFIG_NET_ETHERNET=y 47CONFIG_NET_ETHERNET=y
389CONFIG_MII=y
390CONFIG_SMC91X=y 48CONFIG_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
434CONFIG_DEVKMEM=y
435# CONFIG_SERIAL_NONSTANDARD is not set
436
437#
438# Serial drivers
439#
440CONFIG_SERIAL_8250=y 55CONFIG_SERIAL_8250=y
441CONFIG_SERIAL_8250_CONSOLE=y 56CONFIG_SERIAL_8250_CONSOLE=y
442CONFIG_SERIAL_8250_NR_UARTS=4
443CONFIG_SERIAL_8250_RUNTIME_UARTS=4
444CONFIG_SERIAL_8250_EXTENDED=y 57CONFIG_SERIAL_8250_EXTENDED=y
445# CONFIG_SERIAL_8250_MANY_PORTS is not set
446CONFIG_SERIAL_8250_SHARE_IRQ=y 58CONFIG_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#
453CONFIG_SERIAL_CORE=y
454CONFIG_SERIAL_CORE_CONSOLE=y
455CONFIG_UNIX98_PTYS=y
456# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
457CONFIG_LEGACY_PTYS=y
458CONFIG_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
461CONFIG_RTC=y 60CONFIG_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
476CONFIG_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#
524CONFIG_FILE_LOCKING=y
525CONFIG_FSNOTIFY=y
526CONFIG_DNOTIFY=y
527CONFIG_INOTIFY=y
528CONFIG_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#
542CONFIG_PROC_FS=y
543CONFIG_PROC_KCORE=y 63CONFIG_PROC_KCORE=y
544CONFIG_PROC_SYSCTL=y
545# CONFIG_PROC_PAGE_MONITOR is not set 64# CONFIG_PROC_PAGE_MONITOR is not set
546CONFIG_SYSFS=y
547CONFIG_TMPFS=y 65CONFIG_TMPFS=y
548# CONFIG_TMPFS_POSIX_ACL is not set
549# CONFIG_HUGETLB_PAGE is not set
550# CONFIG_CONFIGFS_FS is not set
551CONFIG_MISC_FILESYSTEMS=y
552CONFIG_JFFS2_FS=y 66CONFIG_JFFS2_FS=y
553CONFIG_JFFS2_FS_DEBUG=0
554CONFIG_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
559CONFIG_JFFS2_ZLIB=y
560# CONFIG_JFFS2_LZO is not set
561CONFIG_JFFS2_RTIME=y
562# CONFIG_JFFS2_RUBIN is not set
563# CONFIG_ROMFS_FS is not set
564CONFIG_NETWORK_FILESYSTEMS=y
565CONFIG_NFS_FS=y 67CONFIG_NFS_FS=y
566CONFIG_NFS_V3=y 68CONFIG_NFS_V3=y
567# CONFIG_NFS_V3_ACL is not set
568# CONFIG_NFS_V4 is not set
569CONFIG_ROOT_NFS=y 69CONFIG_ROOT_NFS=y
570# CONFIG_NFSD is not set
571CONFIG_LOCKD=y
572CONFIG_LOCKD_V4=y
573CONFIG_NFS_COMMON=y
574CONFIG_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
589CONFIG_ENABLE_WARN_DEPRECATED=y
590CONFIG_ENABLE_MUST_CHECK=y
591CONFIG_FRAME_WARN=1024
592CONFIG_MAGIC_SYSRQ=y 70CONFIG_MAGIC_SYSRQ=y
593CONFIG_STRIP_ASM_SYMS=y 71CONFIG_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
598CONFIG_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
612CONFIG_DEFAULT_SECURITY_DAC=y
613CONFIG_DEFAULT_SECURITY=""
614# CONFIG_CRYPTO is not set
615# CONFIG_BINARY_PRINTF is not set
616
617#
618# Library routines
619#
620CONFIG_BITREVERSE=y
621CONFIG_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
626CONFIG_CRC32=y
627# CONFIG_CRC7 is not set
628# CONFIG_LIBCRC32C is not set
629CONFIG_ZLIB_INFLATE=y
630CONFIG_ZLIB_DEFLATE=y
631CONFIG_HAS_IOMEM=y
632CONFIG_HAS_IOPORT=y
633CONFIG_HAS_DMA=y
634CONFIG_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
164static inline 164static inline
165int dma_get_cache_alignment(void)
166{
167 return 1 << L1_CACHE_SHIFT;
168}
169
170#define dma_is_consistent(d) (1)
171
172static inline
173void dma_cache_sync(void *vaddr, size_t size, 165void 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
94static inline void kunmap_atomic(unsigned long vaddr, enum km_type type) 94static 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;
25typedef unsigned short __kernel_ipc_pid_t; 25typedef unsigned short __kernel_ipc_pid_t;
26typedef unsigned short __kernel_uid_t; 26typedef unsigned short __kernel_uid_t;
27typedef unsigned short __kernel_gid_t; 27typedef unsigned short __kernel_gid_t;
28#if __GNUC__ == 4
29typedef unsigned int __kernel_size_t;
30typedef signed int __kernel_ssize_t;
31#else
28typedef unsigned long __kernel_size_t; 32typedef unsigned long __kernel_size_t;
29typedef long __kernel_ssize_t; 33typedef signed long __kernel_ssize_t;
34#endif
30typedef int __kernel_ptrdiff_t; 35typedef int __kernel_ptrdiff_t;
31typedef long __kernel_time_t; 36typedef long __kernel_time_t;
32typedef long __kernel_suseconds_t; 37typedef 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
47static inline __attribute__((format(printf, 1, 2)))
48void 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
271asmlinkage long sys_execve(char __user *name, 271asmlinkage 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 @@
20DEFINE_SPINLOCK(rtc_lock); 20DEFINE_SPINLOCK(rtc_lock);
21EXPORT_SYMBOL(rtc_lock); 21EXPORT_SYMBOL(rtc_lock);
22 22
23/* last time the RTC got updated */
24static long last_rtc_update;
25
26/* time for RTC to update itself in ioclks */ 23/* time for RTC to update itself in ioclks */
27static unsigned long mn10300_rtc_update_period; 24static unsigned long mn10300_rtc_update_period;
28 25
@@ -110,7 +107,7 @@ static int set_rtc_mmss(unsigned long nowtime)
110 107
111int update_persistent_clock(struct timespec now) 108int 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/*