diff options
Diffstat (limited to 'arch/mn10300')
-rw-r--r-- | arch/mn10300/configs/asb2303_defconfig | 160 | ||||
-rw-r--r-- | arch/mn10300/include/asm/bug.h | 10 | ||||
-rw-r--r-- | arch/mn10300/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/mn10300/kernel/entry.S | 2 | ||||
-rw-r--r-- | arch/mn10300/kernel/head.S | 3 | ||||
-rw-r--r-- | arch/mn10300/kernel/setup.c | 4 | ||||
-rw-r--r-- | arch/mn10300/kernel/vmlinux.lds.S | 5 |
7 files changed, 107 insertions, 79 deletions
diff --git a/arch/mn10300/configs/asb2303_defconfig b/arch/mn10300/configs/asb2303_defconfig index 3aa8906b3dea..3acce23708b0 100644 --- a/arch/mn10300/configs/asb2303_defconfig +++ b/arch/mn10300/configs/asb2303_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.25-rc2 | 3 | # Linux kernel version: 2.6.30-rc2 |
4 | # Tue Feb 19 18:52:24 2008 | 4 | # Sat Apr 18 11:13:22 2009 |
5 | # | 5 | # |
6 | CONFIG_MN10300=y | 6 | CONFIG_MN10300=y |
7 | CONFIG_AM33=y | 7 | CONFIG_AM33=y |
@@ -18,7 +18,6 @@ CONFIG_GENERIC_TIME=y | |||
18 | CONFIG_GENERIC_BUG=y | 18 | CONFIG_GENERIC_BUG=y |
19 | CONFIG_QUICKLIST=y | 19 | CONFIG_QUICKLIST=y |
20 | CONFIG_ARCH_HAS_ILOG2_U32=y | 20 | CONFIG_ARCH_HAS_ILOG2_U32=y |
21 | # CONFIG_ARCH_SUPPORTS_AOUT is not set | ||
22 | CONFIG_GENERIC_HARDIRQS=y | 21 | CONFIG_GENERIC_HARDIRQS=y |
23 | # CONFIG_HOTPLUG_CPU is not set | 22 | # CONFIG_HOTPLUG_CPU is not set |
24 | CONFIG_HZ=1000 | 23 | CONFIG_HZ=1000 |
@@ -40,52 +39,58 @@ CONFIG_BSD_PROCESS_ACCT=y | |||
40 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | 39 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set |
41 | # CONFIG_TASKSTATS is not set | 40 | # CONFIG_TASKSTATS is not set |
42 | # CONFIG_AUDIT is not set | 41 | # CONFIG_AUDIT is not set |
42 | |||
43 | # | ||
44 | # RCU Subsystem | ||
45 | # | ||
46 | CONFIG_CLASSIC_RCU=y | ||
47 | # CONFIG_TREE_RCU is not set | ||
48 | # CONFIG_PREEMPT_RCU is not set | ||
49 | # CONFIG_TREE_RCU_TRACE is not set | ||
50 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
43 | # CONFIG_IKCONFIG is not set | 51 | # CONFIG_IKCONFIG is not set |
44 | CONFIG_LOG_BUF_SHIFT=14 | 52 | CONFIG_LOG_BUF_SHIFT=14 |
45 | # CONFIG_CGROUPS is not set | ||
46 | # CONFIG_GROUP_SCHED is not set | 53 | # CONFIG_GROUP_SCHED is not set |
47 | # CONFIG_USER_SCHED is not set | 54 | # CONFIG_CGROUPS is not set |
48 | # CONFIG_CGROUP_SCHED is not set | 55 | # CONFIG_SYSFS_DEPRECATED_V2 is not set |
49 | # CONFIG_SYSFS_DEPRECATED is not set | ||
50 | # CONFIG_RELAY is not set | 56 | # CONFIG_RELAY is not set |
51 | # CONFIG_NAMESPACES is not set | 57 | # CONFIG_NAMESPACES is not set |
52 | # CONFIG_BLK_DEV_INITRD is not set | 58 | # CONFIG_BLK_DEV_INITRD is not set |
53 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 59 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
54 | CONFIG_SYSCTL=y | 60 | CONFIG_SYSCTL=y |
61 | CONFIG_ANON_INODES=y | ||
55 | CONFIG_EMBEDDED=y | 62 | CONFIG_EMBEDDED=y |
56 | CONFIG_SYSCTL_SYSCALL=y | 63 | CONFIG_SYSCTL_SYSCALL=y |
57 | # CONFIG_KALLSYMS is not set | 64 | # CONFIG_KALLSYMS is not set |
65 | CONFIG_STRIP_ASM_SYMS=y | ||
58 | # CONFIG_HOTPLUG is not set | 66 | # CONFIG_HOTPLUG is not set |
59 | CONFIG_PRINTK=y | 67 | CONFIG_PRINTK=y |
60 | CONFIG_BUG=y | 68 | CONFIG_BUG=y |
61 | CONFIG_ELF_CORE=y | 69 | CONFIG_ELF_CORE=y |
62 | CONFIG_COMPAT_BRK=y | ||
63 | CONFIG_BASE_FULL=y | 70 | CONFIG_BASE_FULL=y |
64 | CONFIG_FUTEX=y | 71 | CONFIG_FUTEX=y |
65 | CONFIG_ANON_INODES=y | ||
66 | CONFIG_EPOLL=y | 72 | CONFIG_EPOLL=y |
67 | CONFIG_SIGNALFD=y | 73 | CONFIG_SIGNALFD=y |
68 | CONFIG_TIMERFD=y | 74 | CONFIG_TIMERFD=y |
69 | CONFIG_EVENTFD=y | 75 | CONFIG_EVENTFD=y |
70 | CONFIG_SHMEM=y | 76 | CONFIG_SHMEM=y |
77 | CONFIG_AIO=y | ||
71 | # CONFIG_VM_EVENT_COUNTERS is not set | 78 | # CONFIG_VM_EVENT_COUNTERS is not set |
79 | CONFIG_COMPAT_BRK=y | ||
72 | CONFIG_SLAB=y | 80 | CONFIG_SLAB=y |
73 | # CONFIG_SLUB is not set | 81 | # CONFIG_SLUB is not set |
74 | # CONFIG_SLOB is not set | 82 | # CONFIG_SLOB is not set |
75 | CONFIG_PROFILING=y | 83 | CONFIG_PROFILING=y |
76 | # CONFIG_MARKERS is not set | 84 | # CONFIG_MARKERS is not set |
77 | CONFIG_OPROFILE=y | 85 | CONFIG_HAVE_OPROFILE=y |
78 | # CONFIG_HAVE_OPROFILE is not set | 86 | # CONFIG_SLOW_WORK is not set |
79 | # CONFIG_HAVE_KPROBES is not set | 87 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
80 | # CONFIG_PROC_PAGE_MONITOR is not set | ||
81 | CONFIG_SLABINFO=y | 88 | CONFIG_SLABINFO=y |
82 | CONFIG_RT_MUTEXES=y | 89 | CONFIG_RT_MUTEXES=y |
83 | # CONFIG_TINY_SHMEM is not set | ||
84 | CONFIG_BASE_SMALL=0 | 90 | CONFIG_BASE_SMALL=0 |
85 | # CONFIG_MODULES is not set | 91 | # CONFIG_MODULES is not set |
86 | # CONFIG_BLOCK is not set | 92 | # CONFIG_BLOCK is not set |
87 | CONFIG_CLASSIC_RCU=y | 93 | # CONFIG_FREEZER is not set |
88 | # CONFIG_PREEMPT_RCU is not set | ||
89 | 94 | ||
90 | # | 95 | # |
91 | # Matsushita MN10300 system setup | 96 | # Matsushita MN10300 system setup |
@@ -107,7 +112,6 @@ CONFIG_INTERRUPT_VECTOR_BASE=0x90000000 | |||
107 | CONFIG_KERNEL_TEXT_ADDRESS=0x90001000 | 112 | CONFIG_KERNEL_TEXT_ADDRESS=0x90001000 |
108 | CONFIG_KERNEL_ZIMAGE_BASE_ADDRESS=0x90700000 | 113 | CONFIG_KERNEL_ZIMAGE_BASE_ADDRESS=0x90700000 |
109 | CONFIG_PREEMPT=y | 114 | CONFIG_PREEMPT=y |
110 | CONFIG_PREEMPT_BKL=y | ||
111 | CONFIG_MN10300_CURRENT_IN_E2=y | 115 | CONFIG_MN10300_CURRENT_IN_E2=y |
112 | CONFIG_MN10300_USING_JTAG=y | 116 | CONFIG_MN10300_USING_JTAG=y |
113 | CONFIG_MN10300_RTC=y | 117 | CONFIG_MN10300_RTC=y |
@@ -135,13 +139,15 @@ CONFIG_FLATMEM_MANUAL=y | |||
135 | # CONFIG_SPARSEMEM_MANUAL is not set | 139 | # CONFIG_SPARSEMEM_MANUAL is not set |
136 | CONFIG_FLATMEM=y | 140 | CONFIG_FLATMEM=y |
137 | CONFIG_FLAT_NODE_MEM_MAP=y | 141 | CONFIG_FLAT_NODE_MEM_MAP=y |
138 | # CONFIG_SPARSEMEM_STATIC is not set | 142 | CONFIG_PAGEFLAGS_EXTENDED=y |
139 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
140 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 143 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
141 | # CONFIG_RESOURCES_64BIT is not set | 144 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
142 | CONFIG_ZONE_DMA_FLAG=0 | 145 | CONFIG_ZONE_DMA_FLAG=0 |
143 | CONFIG_NR_QUICK=1 | 146 | CONFIG_NR_QUICK=1 |
144 | CONFIG_VIRT_TO_BUS=y | 147 | CONFIG_VIRT_TO_BUS=y |
148 | CONFIG_UNEVICTABLE_LRU=y | ||
149 | CONFIG_HAVE_MLOCK=y | ||
150 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
145 | 151 | ||
146 | # | 152 | # |
147 | # Power management options | 153 | # Power management options |
@@ -152,11 +158,9 @@ CONFIG_VIRT_TO_BUS=y | |||
152 | # Executable formats | 158 | # Executable formats |
153 | # | 159 | # |
154 | CONFIG_BINFMT_ELF=y | 160 | CONFIG_BINFMT_ELF=y |
161 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
162 | # CONFIG_HAVE_AOUT is not set | ||
155 | # CONFIG_BINFMT_MISC is not set | 163 | # CONFIG_BINFMT_MISC is not set |
156 | |||
157 | # | ||
158 | # Networking | ||
159 | # | ||
160 | CONFIG_NET=y | 164 | CONFIG_NET=y |
161 | 165 | ||
162 | # | 166 | # |
@@ -194,8 +198,6 @@ CONFIG_TCP_CONG_CUBIC=y | |||
194 | CONFIG_DEFAULT_TCP_CONG="cubic" | 198 | CONFIG_DEFAULT_TCP_CONG="cubic" |
195 | # CONFIG_TCP_MD5SIG is not set | 199 | # CONFIG_TCP_MD5SIG is not set |
196 | # CONFIG_IPV6 is not set | 200 | # CONFIG_IPV6 is not set |
197 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
198 | # CONFIG_INET6_TUNNEL is not set | ||
199 | # CONFIG_NETWORK_SECMARK is not set | 201 | # CONFIG_NETWORK_SECMARK is not set |
200 | # CONFIG_NETFILTER is not set | 202 | # CONFIG_NETFILTER is not set |
201 | # CONFIG_IP_DCCP is not set | 203 | # CONFIG_IP_DCCP is not set |
@@ -203,6 +205,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
203 | # CONFIG_TIPC is not set | 205 | # CONFIG_TIPC is not set |
204 | # CONFIG_ATM is not set | 206 | # CONFIG_ATM is not set |
205 | # CONFIG_BRIDGE is not set | 207 | # CONFIG_BRIDGE is not set |
208 | # CONFIG_NET_DSA is not set | ||
206 | # CONFIG_VLAN_8021Q is not set | 209 | # CONFIG_VLAN_8021Q is not set |
207 | # CONFIG_DECNET is not set | 210 | # CONFIG_DECNET is not set |
208 | # CONFIG_LLC2 is not set | 211 | # CONFIG_LLC2 is not set |
@@ -212,7 +215,9 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
212 | # CONFIG_LAPB is not set | 215 | # CONFIG_LAPB is not set |
213 | # CONFIG_ECONET is not set | 216 | # CONFIG_ECONET is not set |
214 | # CONFIG_WAN_ROUTER is not set | 217 | # CONFIG_WAN_ROUTER is not set |
218 | # CONFIG_PHONET is not set | ||
215 | # CONFIG_NET_SCHED is not set | 219 | # CONFIG_NET_SCHED is not set |
220 | # CONFIG_DCB is not set | ||
216 | 221 | ||
217 | # | 222 | # |
218 | # Network testing | 223 | # Network testing |
@@ -223,14 +228,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
223 | # CONFIG_IRDA is not set | 228 | # CONFIG_IRDA is not set |
224 | # CONFIG_BT is not set | 229 | # CONFIG_BT is not set |
225 | # CONFIG_AF_RXRPC is not set | 230 | # CONFIG_AF_RXRPC is not set |
226 | 231 | # CONFIG_WIRELESS is not set | |
227 | # | 232 | # CONFIG_WIMAX is not set |
228 | # Wireless | ||
229 | # | ||
230 | # CONFIG_CFG80211 is not set | ||
231 | # CONFIG_WIRELESS_EXT is not set | ||
232 | # CONFIG_MAC80211 is not set | ||
233 | # CONFIG_IEEE80211 is not set | ||
234 | # CONFIG_RFKILL is not set | 233 | # CONFIG_RFKILL is not set |
235 | # CONFIG_NET_9P is not set | 234 | # CONFIG_NET_9P is not set |
236 | 235 | ||
@@ -255,6 +254,7 @@ CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | |||
255 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y | 254 | CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y |
256 | # CONFIG_MTD_REDBOOT_PARTS_READONLY is not set | 255 | # CONFIG_MTD_REDBOOT_PARTS_READONLY is not set |
257 | # CONFIG_MTD_CMDLINE_PARTS is not set | 256 | # CONFIG_MTD_CMDLINE_PARTS is not set |
257 | # CONFIG_MTD_AR7_PARTS is not set | ||
258 | 258 | ||
259 | # | 259 | # |
260 | # User Modules And Translation Layers | 260 | # User Modules And Translation Layers |
@@ -297,9 +297,7 @@ CONFIG_MTD_CFI_UTIL=y | |||
297 | # | 297 | # |
298 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 298 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
299 | CONFIG_MTD_PHYSMAP=y | 299 | CONFIG_MTD_PHYSMAP=y |
300 | CONFIG_MTD_PHYSMAP_START=0x8000000 | 300 | # CONFIG_MTD_PHYSMAP_COMPAT is not set |
301 | CONFIG_MTD_PHYSMAP_LEN=0x0 | ||
302 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
303 | # CONFIG_MTD_PLATRAM is not set | 301 | # CONFIG_MTD_PLATRAM is not set |
304 | 302 | ||
305 | # | 303 | # |
@@ -319,14 +317,23 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | |||
319 | # CONFIG_MTD_ONENAND is not set | 317 | # CONFIG_MTD_ONENAND is not set |
320 | 318 | ||
321 | # | 319 | # |
320 | # LPDDR flash memory drivers | ||
321 | # | ||
322 | # CONFIG_MTD_LPDDR is not set | ||
323 | |||
324 | # | ||
322 | # UBI - Unsorted block images | 325 | # UBI - Unsorted block images |
323 | # | 326 | # |
324 | # CONFIG_MTD_UBI is not set | 327 | # CONFIG_MTD_UBI is not set |
325 | # CONFIG_PARPORT is not set | 328 | # CONFIG_PARPORT is not set |
326 | CONFIG_MISC_DEVICES=y | 329 | CONFIG_MISC_DEVICES=y |
327 | # CONFIG_EEPROM_93CX6 is not set | ||
328 | # CONFIG_ENCLOSURE_SERVICES is not set | 330 | # CONFIG_ENCLOSURE_SERVICES is not set |
329 | # CONFIG_HAVE_IDE is not set | 331 | # CONFIG_C2PORT is not set |
332 | |||
333 | # | ||
334 | # EEPROM support | ||
335 | # | ||
336 | # CONFIG_EEPROM_93CX6 is not set | ||
330 | 337 | ||
331 | # | 338 | # |
332 | # SCSI device support | 339 | # SCSI device support |
@@ -334,7 +341,7 @@ CONFIG_MISC_DEVICES=y | |||
334 | # CONFIG_SCSI_DMA is not set | 341 | # CONFIG_SCSI_DMA is not set |
335 | # CONFIG_SCSI_NETLINK is not set | 342 | # CONFIG_SCSI_NETLINK is not set |
336 | CONFIG_NETDEVICES=y | 343 | CONFIG_NETDEVICES=y |
337 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | 344 | CONFIG_COMPAT_NET_DEV_OPS=y |
338 | # CONFIG_DUMMY is not set | 345 | # CONFIG_DUMMY is not set |
339 | # CONFIG_BONDING is not set | 346 | # CONFIG_BONDING is not set |
340 | # CONFIG_MACVLAN is not set | 347 | # CONFIG_MACVLAN is not set |
@@ -345,10 +352,15 @@ CONFIG_NETDEVICES=y | |||
345 | CONFIG_NET_ETHERNET=y | 352 | CONFIG_NET_ETHERNET=y |
346 | CONFIG_MII=y | 353 | CONFIG_MII=y |
347 | CONFIG_SMC91X=y | 354 | CONFIG_SMC91X=y |
355 | # CONFIG_ETHOC is not set | ||
356 | # CONFIG_DNET is not set | ||
348 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 357 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
349 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 358 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
350 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 359 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
351 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | 360 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set |
361 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
362 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
363 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
352 | # CONFIG_B44 is not set | 364 | # CONFIG_B44 is not set |
353 | # CONFIG_NETDEV_1000 is not set | 365 | # CONFIG_NETDEV_1000 is not set |
354 | # CONFIG_NETDEV_10000 is not set | 366 | # CONFIG_NETDEV_10000 is not set |
@@ -358,6 +370,10 @@ CONFIG_SMC91X=y | |||
358 | # | 370 | # |
359 | # CONFIG_WLAN_PRE80211 is not set | 371 | # CONFIG_WLAN_PRE80211 is not set |
360 | # CONFIG_WLAN_80211 is not set | 372 | # CONFIG_WLAN_80211 is not set |
373 | |||
374 | # | ||
375 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
376 | # | ||
361 | # CONFIG_WAN is not set | 377 | # CONFIG_WAN is not set |
362 | # CONFIG_PPP is not set | 378 | # CONFIG_PPP is not set |
363 | # CONFIG_SLIP is not set | 379 | # CONFIG_SLIP is not set |
@@ -382,6 +398,7 @@ CONFIG_SMC91X=y | |||
382 | # Character devices | 398 | # Character devices |
383 | # | 399 | # |
384 | # CONFIG_VT is not set | 400 | # CONFIG_VT is not set |
401 | CONFIG_DEVKMEM=y | ||
385 | # CONFIG_SERIAL_NONSTANDARD is not set | 402 | # CONFIG_SERIAL_NONSTANDARD is not set |
386 | 403 | ||
387 | # | 404 | # |
@@ -403,6 +420,7 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y | |||
403 | CONFIG_SERIAL_CORE=y | 420 | CONFIG_SERIAL_CORE=y |
404 | CONFIG_SERIAL_CORE_CONSOLE=y | 421 | CONFIG_SERIAL_CORE_CONSOLE=y |
405 | CONFIG_UNIX98_PTYS=y | 422 | CONFIG_UNIX98_PTYS=y |
423 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
406 | CONFIG_LEGACY_PTYS=y | 424 | CONFIG_LEGACY_PTYS=y |
407 | CONFIG_LEGACY_PTY_COUNT=256 | 425 | CONFIG_LEGACY_PTY_COUNT=256 |
408 | # CONFIG_IPMI_HANDLER is not set | 426 | # CONFIG_IPMI_HANDLER is not set |
@@ -411,34 +429,43 @@ CONFIG_RTC=y | |||
411 | # CONFIG_R3964 is not set | 429 | # CONFIG_R3964 is not set |
412 | # CONFIG_TCG_TPM is not set | 430 | # CONFIG_TCG_TPM is not set |
413 | # CONFIG_I2C is not set | 431 | # CONFIG_I2C is not set |
414 | |||
415 | # | ||
416 | # SPI support | ||
417 | # | ||
418 | # CONFIG_SPI is not set | 432 | # CONFIG_SPI is not set |
419 | # CONFIG_SPI_MASTER is not set | ||
420 | # CONFIG_W1 is not set | 433 | # CONFIG_W1 is not set |
421 | # CONFIG_POWER_SUPPLY is not set | 434 | # CONFIG_POWER_SUPPLY is not set |
422 | # CONFIG_HWMON is not set | 435 | # CONFIG_HWMON is not set |
423 | # CONFIG_THERMAL is not set | 436 | # CONFIG_THERMAL is not set |
437 | # CONFIG_THERMAL_HWMON is not set | ||
424 | # CONFIG_WATCHDOG is not set | 438 | # CONFIG_WATCHDOG is not set |
439 | CONFIG_SSB_POSSIBLE=y | ||
425 | 440 | ||
426 | # | 441 | # |
427 | # Sonics Silicon Backplane | 442 | # Sonics Silicon Backplane |
428 | # | 443 | # |
429 | CONFIG_SSB_POSSIBLE=y | ||
430 | # CONFIG_SSB is not set | 444 | # CONFIG_SSB is not set |
431 | 445 | ||
432 | # | 446 | # |
433 | # Multifunction device drivers | 447 | # Multifunction device drivers |
434 | # | 448 | # |
449 | # CONFIG_MFD_CORE is not set | ||
435 | # CONFIG_MFD_SM501 is not set | 450 | # CONFIG_MFD_SM501 is not set |
451 | # CONFIG_HTC_PASIC3 is not set | ||
452 | # CONFIG_MFD_TMIO is not set | ||
453 | # CONFIG_REGULATOR is not set | ||
436 | 454 | ||
437 | # | 455 | # |
438 | # Multimedia devices | 456 | # Multimedia devices |
439 | # | 457 | # |
458 | |||
459 | # | ||
460 | # Multimedia core support | ||
461 | # | ||
440 | # CONFIG_VIDEO_DEV is not set | 462 | # CONFIG_VIDEO_DEV is not set |
441 | # CONFIG_DVB_CORE is not set | 463 | # CONFIG_DVB_CORE is not set |
464 | # CONFIG_VIDEO_MEDIA is not set | ||
465 | |||
466 | # | ||
467 | # Multimedia drivers | ||
468 | # | ||
442 | # CONFIG_DAB is not set | 469 | # CONFIG_DAB is not set |
443 | 470 | ||
444 | # | 471 | # |
@@ -453,21 +480,17 @@ CONFIG_SSB_POSSIBLE=y | |||
453 | # Display device support | 480 | # Display device support |
454 | # | 481 | # |
455 | # CONFIG_DISPLAY_SUPPORT is not set | 482 | # CONFIG_DISPLAY_SUPPORT is not set |
456 | |||
457 | # | ||
458 | # Sound | ||
459 | # | ||
460 | # CONFIG_SOUND is not set | 483 | # CONFIG_SOUND is not set |
461 | # CONFIG_USB_SUPPORT is not set | 484 | # CONFIG_USB_SUPPORT is not set |
462 | # CONFIG_MMC is not set | 485 | # CONFIG_MMC is not set |
463 | # CONFIG_MEMSTICK is not set | 486 | # CONFIG_MEMSTICK is not set |
464 | # CONFIG_NEW_LEDS is not set | 487 | # CONFIG_NEW_LEDS is not set |
488 | # CONFIG_ACCESSIBILITY is not set | ||
465 | # CONFIG_RTC_CLASS is not set | 489 | # CONFIG_RTC_CLASS is not set |
466 | 490 | # CONFIG_DMADEVICES is not set | |
467 | # | 491 | # CONFIG_AUXDISPLAY is not set |
468 | # Userspace I/O | ||
469 | # | ||
470 | # CONFIG_UIO is not set | 492 | # CONFIG_UIO is not set |
493 | # CONFIG_STAGING is not set | ||
471 | 494 | ||
472 | # | 495 | # |
473 | # File systems | 496 | # File systems |
@@ -481,20 +504,23 @@ CONFIG_INOTIFY_USER=y | |||
481 | # CONFIG_FUSE_FS is not set | 504 | # CONFIG_FUSE_FS is not set |
482 | 505 | ||
483 | # | 506 | # |
507 | # Caches | ||
508 | # | ||
509 | # CONFIG_FSCACHE is not set | ||
510 | |||
511 | # | ||
484 | # Pseudo filesystems | 512 | # Pseudo filesystems |
485 | # | 513 | # |
486 | CONFIG_PROC_FS=y | 514 | CONFIG_PROC_FS=y |
487 | CONFIG_PROC_KCORE=y | 515 | CONFIG_PROC_KCORE=y |
488 | CONFIG_PROC_SYSCTL=y | 516 | CONFIG_PROC_SYSCTL=y |
517 | # CONFIG_PROC_PAGE_MONITOR is not set | ||
489 | CONFIG_SYSFS=y | 518 | CONFIG_SYSFS=y |
490 | CONFIG_TMPFS=y | 519 | CONFIG_TMPFS=y |
491 | # CONFIG_TMPFS_POSIX_ACL is not set | 520 | # CONFIG_TMPFS_POSIX_ACL is not set |
492 | # CONFIG_HUGETLB_PAGE is not set | 521 | # CONFIG_HUGETLB_PAGE is not set |
493 | # CONFIG_CONFIGFS_FS is not set | 522 | # CONFIG_CONFIGFS_FS is not set |
494 | 523 | CONFIG_MISC_FILESYSTEMS=y | |
495 | # | ||
496 | # Miscellaneous filesystems | ||
497 | # | ||
498 | CONFIG_JFFS2_FS=y | 524 | CONFIG_JFFS2_FS=y |
499 | CONFIG_JFFS2_FS_DEBUG=0 | 525 | CONFIG_JFFS2_FS_DEBUG=0 |
500 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 526 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
@@ -506,19 +532,17 @@ CONFIG_JFFS2_ZLIB=y | |||
506 | # CONFIG_JFFS2_LZO is not set | 532 | # CONFIG_JFFS2_LZO is not set |
507 | CONFIG_JFFS2_RTIME=y | 533 | CONFIG_JFFS2_RTIME=y |
508 | # CONFIG_JFFS2_RUBIN is not set | 534 | # CONFIG_JFFS2_RUBIN is not set |
535 | # CONFIG_ROMFS_FS is not set | ||
509 | CONFIG_NETWORK_FILESYSTEMS=y | 536 | CONFIG_NETWORK_FILESYSTEMS=y |
510 | CONFIG_NFS_FS=y | 537 | CONFIG_NFS_FS=y |
511 | CONFIG_NFS_V3=y | 538 | CONFIG_NFS_V3=y |
512 | # CONFIG_NFS_V3_ACL is not set | 539 | # CONFIG_NFS_V3_ACL is not set |
513 | # CONFIG_NFS_V4 is not set | 540 | # CONFIG_NFS_V4 is not set |
514 | # CONFIG_NFS_DIRECTIO is not set | ||
515 | # CONFIG_NFSD is not set | ||
516 | CONFIG_ROOT_NFS=y | 541 | CONFIG_ROOT_NFS=y |
517 | CONFIG_LOCKD=y | 542 | CONFIG_LOCKD=y |
518 | CONFIG_LOCKD_V4=y | 543 | CONFIG_LOCKD_V4=y |
519 | CONFIG_NFS_COMMON=y | 544 | CONFIG_NFS_COMMON=y |
520 | CONFIG_SUNRPC=y | 545 | CONFIG_SUNRPC=y |
521 | # CONFIG_SUNRPC_BIND34 is not set | ||
522 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 546 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
523 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 547 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
524 | # CONFIG_SMB_FS is not set | 548 | # CONFIG_SMB_FS is not set |
@@ -535,12 +559,16 @@ CONFIG_SUNRPC=y | |||
535 | # CONFIG_PRINTK_TIME is not set | 559 | # CONFIG_PRINTK_TIME is not set |
536 | CONFIG_ENABLE_WARN_DEPRECATED=y | 560 | CONFIG_ENABLE_WARN_DEPRECATED=y |
537 | CONFIG_ENABLE_MUST_CHECK=y | 561 | CONFIG_ENABLE_MUST_CHECK=y |
562 | CONFIG_FRAME_WARN=1024 | ||
538 | CONFIG_MAGIC_SYSRQ=y | 563 | CONFIG_MAGIC_SYSRQ=y |
539 | # CONFIG_UNUSED_SYMBOLS is not set | 564 | # CONFIG_UNUSED_SYMBOLS is not set |
540 | # CONFIG_DEBUG_FS is not set | 565 | # CONFIG_DEBUG_FS is not set |
541 | # CONFIG_HEADERS_CHECK is not set | 566 | # CONFIG_HEADERS_CHECK is not set |
542 | # CONFIG_DEBUG_KERNEL is not set | 567 | # CONFIG_DEBUG_KERNEL is not set |
543 | # CONFIG_DEBUG_BUGVERBOSE is not set | 568 | # CONFIG_DEBUG_BUGVERBOSE is not set |
569 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
570 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
571 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set | ||
544 | # CONFIG_SAMPLES is not set | 572 | # CONFIG_SAMPLES is not set |
545 | 573 | ||
546 | # | 574 | # |
@@ -548,26 +576,26 @@ CONFIG_MAGIC_SYSRQ=y | |||
548 | # | 576 | # |
549 | # CONFIG_KEYS is not set | 577 | # CONFIG_KEYS is not set |
550 | # CONFIG_SECURITY is not set | 578 | # CONFIG_SECURITY is not set |
579 | # CONFIG_SECURITYFS is not set | ||
551 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 580 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
552 | # CONFIG_CRYPTO is not set | 581 | # CONFIG_CRYPTO is not set |
582 | # CONFIG_BINARY_PRINTF is not set | ||
553 | 583 | ||
554 | # | 584 | # |
555 | # Library routines | 585 | # Library routines |
556 | # | 586 | # |
557 | CONFIG_BITREVERSE=y | 587 | CONFIG_BITREVERSE=y |
588 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
558 | # CONFIG_CRC_CCITT is not set | 589 | # CONFIG_CRC_CCITT is not set |
559 | # CONFIG_CRC16 is not set | 590 | # CONFIG_CRC16 is not set |
591 | # CONFIG_CRC_T10DIF is not set | ||
560 | # CONFIG_CRC_ITU_T is not set | 592 | # CONFIG_CRC_ITU_T is not set |
561 | CONFIG_CRC32=y | 593 | CONFIG_CRC32=y |
562 | # CONFIG_CRC7 is not set | 594 | # CONFIG_CRC7 is not set |
563 | # CONFIG_LIBCRC32C is not set | 595 | # CONFIG_LIBCRC32C is not set |
564 | CONFIG_ZLIB_INFLATE=y | 596 | CONFIG_ZLIB_INFLATE=y |
565 | CONFIG_ZLIB_DEFLATE=y | 597 | CONFIG_ZLIB_DEFLATE=y |
566 | CONFIG_PLIST=y | ||
567 | CONFIG_HAS_IOMEM=y | 598 | CONFIG_HAS_IOMEM=y |
568 | CONFIG_HAS_IOPORT=y | 599 | CONFIG_HAS_IOPORT=y |
569 | CONFIG_HAS_DMA=y | 600 | CONFIG_HAS_DMA=y |
570 | 601 | CONFIG_NLATTR=y | |
571 | # | ||
572 | # Profiling support | ||
573 | # | ||
diff --git a/arch/mn10300/include/asm/bug.h b/arch/mn10300/include/asm/bug.h index 4fcf3384e259..aa6a38886391 100644 --- a/arch/mn10300/include/asm/bug.h +++ b/arch/mn10300/include/asm/bug.h | |||
@@ -11,10 +11,12 @@ | |||
11 | #ifndef _ASM_BUG_H | 11 | #ifndef _ASM_BUG_H |
12 | #define _ASM_BUG_H | 12 | #define _ASM_BUG_H |
13 | 13 | ||
14 | #ifdef CONFIG_BUG | ||
15 | |||
14 | /* | 16 | /* |
15 | * Tell the user there is some problem. | 17 | * Tell the user there is some problem. |
16 | */ | 18 | */ |
17 | #define _debug_bug_trap() \ | 19 | #define BUG() \ |
18 | do { \ | 20 | do { \ |
19 | asm volatile( \ | 21 | asm volatile( \ |
20 | " syscall 15 \n" \ | 22 | " syscall 15 \n" \ |
@@ -25,11 +27,11 @@ do { \ | |||
25 | : \ | 27 | : \ |
26 | : "i"(__FILE__), "i"(__LINE__) \ | 28 | : "i"(__FILE__), "i"(__LINE__) \ |
27 | ); \ | 29 | ); \ |
28 | } while (0) | 30 | } while (1) |
29 | |||
30 | #define BUG() _debug_bug_trap() | ||
31 | 31 | ||
32 | #define HAVE_ARCH_BUG | 32 | #define HAVE_ARCH_BUG |
33 | #endif /* CONFIG_BUG */ | ||
34 | |||
33 | #include <asm-generic/bug.h> | 35 | #include <asm-generic/bug.h> |
34 | 36 | ||
35 | #endif /* _ASM_BUG_H */ | 37 | #endif /* _ASM_BUG_H */ |
diff --git a/arch/mn10300/include/asm/unistd.h b/arch/mn10300/include/asm/unistd.h index 543a4f98695d..fef5b434dadc 100644 --- a/arch/mn10300/include/asm/unistd.h +++ b/arch/mn10300/include/asm/unistd.h | |||
@@ -344,6 +344,8 @@ | |||
344 | #define __NR_dup3 331 | 344 | #define __NR_dup3 331 |
345 | #define __NR_pipe2 332 | 345 | #define __NR_pipe2 332 |
346 | #define __NR_inotify_init1 333 | 346 | #define __NR_inotify_init1 333 |
347 | #define __NR_preadv 334 | ||
348 | #define __NR_pwritev 335 | ||
347 | 349 | ||
348 | #ifdef __KERNEL__ | 350 | #ifdef __KERNEL__ |
349 | 351 | ||
diff --git a/arch/mn10300/kernel/entry.S b/arch/mn10300/kernel/entry.S index 34ab5a293153..3dc3e462f92a 100644 --- a/arch/mn10300/kernel/entry.S +++ b/arch/mn10300/kernel/entry.S | |||
@@ -723,6 +723,8 @@ ENTRY(sys_call_table) | |||
723 | .long sys_dup3 | 723 | .long sys_dup3 |
724 | .long sys_pipe2 | 724 | .long sys_pipe2 |
725 | .long sys_inotify_init1 | 725 | .long sys_inotify_init1 |
726 | .long sys_preadv | ||
727 | .long sys_pwritev /* 335 */ | ||
726 | 728 | ||
727 | 729 | ||
728 | nr_syscalls=(.-sys_call_table)/4 | 730 | nr_syscalls=(.-sys_call_table)/4 |
diff --git a/arch/mn10300/kernel/head.S b/arch/mn10300/kernel/head.S index 8a8309fbe3c4..14f27f3bfaf4 100644 --- a/arch/mn10300/kernel/head.S +++ b/arch/mn10300/kernel/head.S | |||
@@ -9,6 +9,7 @@ | |||
9 | * 2 of the Licence, or (at your option) any later version. | 9 | * 2 of the Licence, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/init.h> | ||
12 | #include <linux/threads.h> | 13 | #include <linux/threads.h> |
13 | #include <linux/linkage.h> | 14 | #include <linux/linkage.h> |
14 | #include <linux/serial_reg.h> | 15 | #include <linux/serial_reg.h> |
@@ -19,7 +20,7 @@ | |||
19 | #include <asm/param.h> | 20 | #include <asm/param.h> |
20 | #include <unit/serial.h> | 21 | #include <unit/serial.h> |
21 | 22 | ||
22 | .section .text.head,"ax" | 23 | __HEAD |
23 | 24 | ||
24 | ############################################################################### | 25 | ############################################################################### |
25 | # | 26 | # |
diff --git a/arch/mn10300/kernel/setup.c b/arch/mn10300/kernel/setup.c index 71414e19fd16..79890edfd67a 100644 --- a/arch/mn10300/kernel/setup.c +++ b/arch/mn10300/kernel/setup.c | |||
@@ -136,10 +136,6 @@ void __init setup_arch(char **cmdline_p) | |||
136 | data_resource.start = virt_to_bus(&_etext); | 136 | data_resource.start = virt_to_bus(&_etext); |
137 | data_resource.end = virt_to_bus(&_edata)-1; | 137 | data_resource.end = virt_to_bus(&_edata)-1; |
138 | 138 | ||
139 | #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) | ||
140 | #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) | ||
141 | #define PFN_PHYS(x) ((x) << PAGE_SHIFT) | ||
142 | |||
143 | start_pfn = (CONFIG_KERNEL_RAM_BASE_ADDRESS >> PAGE_SHIFT); | 139 | start_pfn = (CONFIG_KERNEL_RAM_BASE_ADDRESS >> PAGE_SHIFT); |
144 | kstart_pfn = PFN_UP(__pa(&_text)); | 140 | kstart_pfn = PFN_UP(__pa(&_text)); |
145 | free_pfn = PFN_UP(__pa(&_end)); | 141 | free_pfn = PFN_UP(__pa(&_end)); |
diff --git a/arch/mn10300/kernel/vmlinux.lds.S b/arch/mn10300/kernel/vmlinux.lds.S index b8259668f7dc..24de6b90f401 100644 --- a/arch/mn10300/kernel/vmlinux.lds.S +++ b/arch/mn10300/kernel/vmlinux.lds.S | |||
@@ -27,10 +27,7 @@ SECTIONS | |||
27 | _stext = .; | 27 | _stext = .; |
28 | _text = .; /* Text and read-only data */ | 28 | _text = .; /* Text and read-only data */ |
29 | .text : { | 29 | .text : { |
30 | *( | 30 | HEAD_TEXT |
31 | .text.head | ||
32 | .text | ||
33 | ) | ||
34 | TEXT_TEXT | 31 | TEXT_TEXT |
35 | SCHED_TEXT | 32 | SCHED_TEXT |
36 | LOCK_TEXT | 33 | LOCK_TEXT |