diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-16 23:05:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-16 23:05:41 -0400 |
commit | c6c621b3a977b20d7ceffd3debcacbe3de7c0e87 (patch) | |
tree | 04b52f33ef1e8e24a4d9fa2c37cf218f82ff968a | |
parent | af6ea9ca23504fe620412826a420dca9c43a8bf6 (diff) | |
parent | b7523418f6af9093c462341c08c2233f44f7a28d (diff) |
Merge master.kernel.org:/home/rmk/linux-2.6-arm
-rw-r--r-- | Documentation/dontdiff | 2 | ||||
-rw-r--r-- | arch/arm/configs/shark_defconfig | 85 | ||||
-rw-r--r-- | arch/arm/kernel/traps.c | 12 | ||||
-rw-r--r-- | arch/arm/lib/bitops.h | 31 | ||||
-rw-r--r-- | arch/arm/lib/io-shark.c | 70 | ||||
-rw-r--r-- | arch/arm/mach-shark/core.c | 4 | ||||
-rw-r--r-- | include/asm-arm/arch-shark/io.h | 147 |
7 files changed, 96 insertions, 255 deletions
diff --git a/Documentation/dontdiff b/Documentation/dontdiff index d4fda25db868..b974cf595d01 100644 --- a/Documentation/dontdiff +++ b/Documentation/dontdiff | |||
@@ -41,6 +41,7 @@ COPYING | |||
41 | CREDITS | 41 | CREDITS |
42 | CVS | 42 | CVS |
43 | ChangeSet | 43 | ChangeSet |
44 | Image | ||
44 | Kerntypes | 45 | Kerntypes |
45 | MODS.txt | 46 | MODS.txt |
46 | Module.symvers | 47 | Module.symvers |
@@ -103,6 +104,7 @@ logo_*.c | |||
103 | logo_*_clut224.c | 104 | logo_*_clut224.c |
104 | logo_*_mono.c | 105 | logo_*_mono.c |
105 | lxdialog | 106 | lxdialog |
107 | mach-types.h | ||
106 | make_times_h | 108 | make_times_h |
107 | map | 109 | map |
108 | maui_boot.h | 110 | maui_boot.h |
diff --git a/arch/arm/configs/shark_defconfig b/arch/arm/configs/shark_defconfig index 1d9bcbbc8dfc..271823f0d708 100644 --- a/arch/arm/configs/shark_defconfig +++ b/arch/arm/configs/shark_defconfig | |||
@@ -1,22 +1,21 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.12-rc1-bk2 | 3 | # Linux kernel version: 2.6.12-git3 |
4 | # Sun Mar 27 23:59:14 2005 | 4 | # Sat Jul 16 15:21:47 2005 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
8 | CONFIG_UID16=y | 8 | CONFIG_UID16=y |
9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 9 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
10 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 10 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
11 | CONFIG_GENERIC_IOMAP=y | ||
12 | 11 | ||
13 | # | 12 | # |
14 | # Code maturity level options | 13 | # Code maturity level options |
15 | # | 14 | # |
16 | CONFIG_EXPERIMENTAL=y | 15 | CONFIG_EXPERIMENTAL=y |
17 | # CONFIG_CLEAN_COMPILE is not set | 16 | CONFIG_CLEAN_COMPILE=y |
18 | CONFIG_BROKEN=y | ||
19 | CONFIG_BROKEN_ON_SMP=y | 17 | CONFIG_BROKEN_ON_SMP=y |
18 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
20 | 19 | ||
21 | # | 20 | # |
22 | # General setup | 21 | # General setup |
@@ -33,7 +32,10 @@ CONFIG_KOBJECT_UEVENT=y | |||
33 | # CONFIG_IKCONFIG is not set | 32 | # CONFIG_IKCONFIG is not set |
34 | # CONFIG_EMBEDDED is not set | 33 | # CONFIG_EMBEDDED is not set |
35 | CONFIG_KALLSYMS=y | 34 | CONFIG_KALLSYMS=y |
35 | # CONFIG_KALLSYMS_ALL is not set | ||
36 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 36 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
37 | CONFIG_PRINTK=y | ||
38 | CONFIG_BUG=y | ||
37 | CONFIG_BASE_FULL=y | 39 | CONFIG_BASE_FULL=y |
38 | CONFIG_FUTEX=y | 40 | CONFIG_FUTEX=y |
39 | CONFIG_EPOLL=y | 41 | CONFIG_EPOLL=y |
@@ -81,6 +83,7 @@ CONFIG_ARCH_SHARK=y | |||
81 | # CONFIG_ARCH_VERSATILE is not set | 83 | # CONFIG_ARCH_VERSATILE is not set |
82 | # CONFIG_ARCH_IMX is not set | 84 | # CONFIG_ARCH_IMX is not set |
83 | # CONFIG_ARCH_H720X is not set | 85 | # CONFIG_ARCH_H720X is not set |
86 | # CONFIG_ARCH_AAEC2000 is not set | ||
84 | 87 | ||
85 | # | 88 | # |
86 | # Processor Type | 89 | # Processor Type |
@@ -103,10 +106,12 @@ CONFIG_CPU_TLB_V4WB=y | |||
103 | # | 106 | # |
104 | CONFIG_ISA=y | 107 | CONFIG_ISA=y |
105 | CONFIG_ISA_DMA=y | 108 | CONFIG_ISA_DMA=y |
109 | CONFIG_ISA_DMA_API=y | ||
106 | CONFIG_PCI=y | 110 | CONFIG_PCI=y |
107 | CONFIG_PCI_HOST_VIA82C505=y | 111 | CONFIG_PCI_HOST_VIA82C505=y |
108 | CONFIG_PCI_LEGACY_PROC=y | 112 | CONFIG_PCI_LEGACY_PROC=y |
109 | # CONFIG_PCI_NAMES is not set | 113 | # CONFIG_PCI_NAMES is not set |
114 | # CONFIG_PCI_DEBUG is not set | ||
110 | 115 | ||
111 | # | 116 | # |
112 | # PCCARD (PCMCIA/CardBus) support | 117 | # PCCARD (PCMCIA/CardBus) support |
@@ -116,7 +121,9 @@ CONFIG_PCI_LEGACY_PROC=y | |||
116 | # | 121 | # |
117 | # Kernel Features | 122 | # Kernel Features |
118 | # | 123 | # |
124 | # CONFIG_SMP is not set | ||
119 | # CONFIG_PREEMPT is not set | 125 | # CONFIG_PREEMPT is not set |
126 | # CONFIG_DISCONTIGMEM is not set | ||
120 | CONFIG_LEDS=y | 127 | CONFIG_LEDS=y |
121 | CONFIG_LEDS_TIMER=y | 128 | CONFIG_LEDS_TIMER=y |
122 | # CONFIG_LEDS_CPU is not set | 129 | # CONFIG_LEDS_CPU is not set |
@@ -163,6 +170,7 @@ CONFIG_BINFMT_ELF=y | |||
163 | # CONFIG_STANDALONE is not set | 170 | # CONFIG_STANDALONE is not set |
164 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 171 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
165 | # CONFIG_FW_LOADER is not set | 172 | # CONFIG_FW_LOADER is not set |
173 | # CONFIG_DEBUG_DRIVER is not set | ||
166 | 174 | ||
167 | # | 175 | # |
168 | # Memory Technology Devices (MTD) | 176 | # Memory Technology Devices (MTD) |
@@ -172,8 +180,8 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
172 | # | 180 | # |
173 | # Parallel port support | 181 | # Parallel port support |
174 | # | 182 | # |
175 | CONFIG_PARPORT=y | 183 | CONFIG_PARPORT=m |
176 | CONFIG_PARPORT_PC=y | 184 | CONFIG_PARPORT_PC=m |
177 | # CONFIG_PARPORT_SERIAL is not set | 185 | # CONFIG_PARPORT_SERIAL is not set |
178 | # CONFIG_PARPORT_PC_FIFO is not set | 186 | # CONFIG_PARPORT_PC_FIFO is not set |
179 | # CONFIG_PARPORT_PC_SUPERIO is not set | 187 | # CONFIG_PARPORT_PC_SUPERIO is not set |
@@ -189,7 +197,6 @@ CONFIG_PARPORT_PC=y | |||
189 | # | 197 | # |
190 | # Block devices | 198 | # Block devices |
191 | # | 199 | # |
192 | # CONFIG_BLK_DEV_FD is not set | ||
193 | # CONFIG_BLK_DEV_XD is not set | 200 | # CONFIG_BLK_DEV_XD is not set |
194 | # CONFIG_PARIDE is not set | 201 | # CONFIG_PARIDE is not set |
195 | # CONFIG_BLK_CPQ_DA is not set | 202 | # CONFIG_BLK_CPQ_DA is not set |
@@ -229,7 +236,7 @@ CONFIG_BLK_DEV_IDE=y | |||
229 | # CONFIG_BLK_DEV_IDE_SATA is not set | 236 | # CONFIG_BLK_DEV_IDE_SATA is not set |
230 | CONFIG_BLK_DEV_IDEDISK=y | 237 | CONFIG_BLK_DEV_IDEDISK=y |
231 | # CONFIG_IDEDISK_MULTI_MODE is not set | 238 | # CONFIG_IDEDISK_MULTI_MODE is not set |
232 | CONFIG_BLK_DEV_IDECD=y | 239 | CONFIG_BLK_DEV_IDECD=m |
233 | # CONFIG_BLK_DEV_IDETAPE is not set | 240 | # CONFIG_BLK_DEV_IDETAPE is not set |
234 | CONFIG_BLK_DEV_IDEFLOPPY=y | 241 | CONFIG_BLK_DEV_IDEFLOPPY=y |
235 | # CONFIG_BLK_DEV_IDESCSI is not set | 242 | # CONFIG_BLK_DEV_IDESCSI is not set |
@@ -261,6 +268,7 @@ CONFIG_CHR_DEV_ST=m | |||
261 | CONFIG_BLK_DEV_SR=m | 268 | CONFIG_BLK_DEV_SR=m |
262 | # CONFIG_BLK_DEV_SR_VENDOR is not set | 269 | # CONFIG_BLK_DEV_SR_VENDOR is not set |
263 | CONFIG_CHR_DEV_SG=m | 270 | CONFIG_CHR_DEV_SG=m |
271 | # CONFIG_CHR_DEV_SCH is not set | ||
264 | 272 | ||
265 | # | 273 | # |
266 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | 274 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs |
@@ -290,17 +298,14 @@ CONFIG_CHR_DEV_SG=m | |||
290 | # CONFIG_SCSI_AIC7XXX_OLD is not set | 298 | # CONFIG_SCSI_AIC7XXX_OLD is not set |
291 | # CONFIG_SCSI_AIC79XX is not set | 299 | # CONFIG_SCSI_AIC79XX is not set |
292 | # CONFIG_SCSI_DPT_I2O is not set | 300 | # CONFIG_SCSI_DPT_I2O is not set |
293 | # CONFIG_SCSI_ADVANSYS is not set | ||
294 | # CONFIG_SCSI_IN2000 is not set | 301 | # CONFIG_SCSI_IN2000 is not set |
295 | # CONFIG_MEGARAID_NEWGEN is not set | 302 | # CONFIG_MEGARAID_NEWGEN is not set |
296 | # CONFIG_MEGARAID_LEGACY is not set | 303 | # CONFIG_MEGARAID_LEGACY is not set |
297 | # CONFIG_SCSI_SATA is not set | 304 | # CONFIG_SCSI_SATA is not set |
298 | # CONFIG_SCSI_BUSLOGIC is not set | 305 | # CONFIG_SCSI_BUSLOGIC is not set |
299 | # CONFIG_SCSI_CPQFCTS is not set | ||
300 | # CONFIG_SCSI_DMX3191D is not set | 306 | # CONFIG_SCSI_DMX3191D is not set |
301 | # CONFIG_SCSI_DTC3280 is not set | 307 | # CONFIG_SCSI_DTC3280 is not set |
302 | # CONFIG_SCSI_EATA is not set | 308 | # CONFIG_SCSI_EATA is not set |
303 | # CONFIG_SCSI_EATA_PIO is not set | ||
304 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | 309 | # CONFIG_SCSI_FUTURE_DOMAIN is not set |
305 | # CONFIG_SCSI_GDTH is not set | 310 | # CONFIG_SCSI_GDTH is not set |
306 | # CONFIG_SCSI_GENERIC_NCR5380 is not set | 311 | # CONFIG_SCSI_GENERIC_NCR5380 is not set |
@@ -314,11 +319,8 @@ CONFIG_CHR_DEV_SG=m | |||
314 | # CONFIG_SCSI_SYM53C8XX_2 is not set | 319 | # CONFIG_SCSI_SYM53C8XX_2 is not set |
315 | # CONFIG_SCSI_IPR is not set | 320 | # CONFIG_SCSI_IPR is not set |
316 | # CONFIG_SCSI_PAS16 is not set | 321 | # CONFIG_SCSI_PAS16 is not set |
317 | # CONFIG_SCSI_PCI2000 is not set | ||
318 | # CONFIG_SCSI_PCI2220I is not set | ||
319 | # CONFIG_SCSI_PSI240I is not set | 322 | # CONFIG_SCSI_PSI240I is not set |
320 | # CONFIG_SCSI_QLOGIC_FAS is not set | 323 | # CONFIG_SCSI_QLOGIC_FAS is not set |
321 | # CONFIG_SCSI_QLOGIC_ISP is not set | ||
322 | # CONFIG_SCSI_QLOGIC_FC is not set | 324 | # CONFIG_SCSI_QLOGIC_FC is not set |
323 | # CONFIG_SCSI_QLOGIC_1280 is not set | 325 | # CONFIG_SCSI_QLOGIC_1280 is not set |
324 | CONFIG_SCSI_QLA2XXX=m | 326 | CONFIG_SCSI_QLA2XXX=m |
@@ -327,6 +329,7 @@ CONFIG_SCSI_QLA2XXX=m | |||
327 | # CONFIG_SCSI_QLA2300 is not set | 329 | # CONFIG_SCSI_QLA2300 is not set |
328 | # CONFIG_SCSI_QLA2322 is not set | 330 | # CONFIG_SCSI_QLA2322 is not set |
329 | # CONFIG_SCSI_QLA6312 is not set | 331 | # CONFIG_SCSI_QLA6312 is not set |
332 | # CONFIG_SCSI_LPFC is not set | ||
330 | # CONFIG_SCSI_SYM53C416 is not set | 333 | # CONFIG_SCSI_SYM53C416 is not set |
331 | # CONFIG_SCSI_DC395x is not set | 334 | # CONFIG_SCSI_DC395x is not set |
332 | # CONFIG_SCSI_DC390T is not set | 335 | # CONFIG_SCSI_DC390T is not set |
@@ -344,6 +347,8 @@ CONFIG_SCSI_QLA2XXX=m | |||
344 | # Fusion MPT device support | 347 | # Fusion MPT device support |
345 | # | 348 | # |
346 | # CONFIG_FUSION is not set | 349 | # CONFIG_FUSION is not set |
350 | # CONFIG_FUSION_SPI is not set | ||
351 | # CONFIG_FUSION_FC is not set | ||
347 | 352 | ||
348 | # | 353 | # |
349 | # IEEE 1394 (FireWire) support | 354 | # IEEE 1394 (FireWire) support |
@@ -365,7 +370,6 @@ CONFIG_NET=y | |||
365 | # | 370 | # |
366 | CONFIG_PACKET=y | 371 | CONFIG_PACKET=y |
367 | # CONFIG_PACKET_MMAP is not set | 372 | # CONFIG_PACKET_MMAP is not set |
368 | # CONFIG_NETLINK_DEV is not set | ||
369 | CONFIG_UNIX=y | 373 | CONFIG_UNIX=y |
370 | # CONFIG_NET_KEY is not set | 374 | # CONFIG_NET_KEY is not set |
371 | CONFIG_INET=y | 375 | CONFIG_INET=y |
@@ -380,7 +384,7 @@ CONFIG_INET=y | |||
380 | # CONFIG_INET_ESP is not set | 384 | # CONFIG_INET_ESP is not set |
381 | # CONFIG_INET_IPCOMP is not set | 385 | # CONFIG_INET_IPCOMP is not set |
382 | # CONFIG_INET_TUNNEL is not set | 386 | # CONFIG_INET_TUNNEL is not set |
383 | # CONFIG_IP_TCPDIAG is not set | 387 | CONFIG_IP_TCPDIAG=y |
384 | # CONFIG_IP_TCPDIAG_IPV6 is not set | 388 | # CONFIG_IP_TCPDIAG_IPV6 is not set |
385 | # CONFIG_IPV6 is not set | 389 | # CONFIG_IPV6 is not set |
386 | # CONFIG_NETFILTER is not set | 390 | # CONFIG_NETFILTER is not set |
@@ -439,6 +443,7 @@ CONFIG_NET_ETHERNET=y | |||
439 | # CONFIG_LANCE is not set | 443 | # CONFIG_LANCE is not set |
440 | # CONFIG_NET_VENDOR_SMC is not set | 444 | # CONFIG_NET_VENDOR_SMC is not set |
441 | # CONFIG_SMC91X is not set | 445 | # CONFIG_SMC91X is not set |
446 | # CONFIG_DM9000 is not set | ||
442 | # CONFIG_NET_VENDOR_RACAL is not set | 447 | # CONFIG_NET_VENDOR_RACAL is not set |
443 | 448 | ||
444 | # | 449 | # |
@@ -483,9 +488,11 @@ CONFIG_CS89x0=y | |||
483 | # CONFIG_HAMACHI is not set | 488 | # CONFIG_HAMACHI is not set |
484 | # CONFIG_YELLOWFIN is not set | 489 | # CONFIG_YELLOWFIN is not set |
485 | # CONFIG_R8169 is not set | 490 | # CONFIG_R8169 is not set |
491 | # CONFIG_SKGE is not set | ||
486 | # CONFIG_SK98LIN is not set | 492 | # CONFIG_SK98LIN is not set |
487 | # CONFIG_VIA_VELOCITY is not set | 493 | # CONFIG_VIA_VELOCITY is not set |
488 | # CONFIG_TIGON3 is not set | 494 | # CONFIG_TIGON3 is not set |
495 | # CONFIG_BNX2 is not set | ||
489 | 496 | ||
490 | # | 497 | # |
491 | # Ethernet (10000 Mbit) | 498 | # Ethernet (10000 Mbit) |
@@ -569,7 +576,6 @@ CONFIG_SERIO_I8042=y | |||
569 | CONFIG_SERIO_LIBPS2=y | 576 | CONFIG_SERIO_LIBPS2=y |
570 | # CONFIG_SERIO_RAW is not set | 577 | # CONFIG_SERIO_RAW is not set |
571 | # CONFIG_GAMEPORT is not set | 578 | # CONFIG_GAMEPORT is not set |
572 | CONFIG_SOUND_GAMEPORT=y | ||
573 | 579 | ||
574 | # | 580 | # |
575 | # Character devices | 581 | # Character devices |
@@ -592,6 +598,7 @@ CONFIG_SERIAL_8250_NR_UARTS=4 | |||
592 | # | 598 | # |
593 | CONFIG_SERIAL_CORE=y | 599 | CONFIG_SERIAL_CORE=y |
594 | CONFIG_SERIAL_CORE_CONSOLE=y | 600 | CONFIG_SERIAL_CORE_CONSOLE=y |
601 | # CONFIG_SERIAL_JSM is not set | ||
595 | CONFIG_UNIX98_PTYS=y | 602 | CONFIG_UNIX98_PTYS=y |
596 | CONFIG_LEGACY_PTYS=y | 603 | CONFIG_LEGACY_PTYS=y |
597 | CONFIG_LEGACY_PTY_COUNT=256 | 604 | CONFIG_LEGACY_PTY_COUNT=256 |
@@ -653,6 +660,7 @@ CONFIG_FB_CFB_FILLRECT=y | |||
653 | CONFIG_FB_CFB_COPYAREA=y | 660 | CONFIG_FB_CFB_COPYAREA=y |
654 | CONFIG_FB_CFB_IMAGEBLIT=y | 661 | CONFIG_FB_CFB_IMAGEBLIT=y |
655 | CONFIG_FB_SOFT_CURSOR=y | 662 | CONFIG_FB_SOFT_CURSOR=y |
663 | # CONFIG_FB_MACMODES is not set | ||
656 | # CONFIG_FB_MODE_HELPERS is not set | 664 | # CONFIG_FB_MODE_HELPERS is not set |
657 | # CONFIG_FB_TILEBLITTING is not set | 665 | # CONFIG_FB_TILEBLITTING is not set |
658 | # CONFIG_FB_CIRRUS is not set | 666 | # CONFIG_FB_CIRRUS is not set |
@@ -674,7 +682,7 @@ CONFIG_FB_CYBER2000=y | |||
674 | # CONFIG_FB_3DFX is not set | 682 | # CONFIG_FB_3DFX is not set |
675 | # CONFIG_FB_VOODOO1 is not set | 683 | # CONFIG_FB_VOODOO1 is not set |
676 | # CONFIG_FB_TRIDENT is not set | 684 | # CONFIG_FB_TRIDENT is not set |
677 | # CONFIG_FB_PM3 is not set | 685 | # CONFIG_FB_S1D13XXX is not set |
678 | # CONFIG_FB_VIRTUAL is not set | 686 | # CONFIG_FB_VIRTUAL is not set |
679 | 687 | ||
680 | # | 688 | # |
@@ -808,7 +816,7 @@ CONFIG_DNOTIFY=y | |||
808 | # | 816 | # |
809 | # CD-ROM/DVD Filesystems | 817 | # CD-ROM/DVD Filesystems |
810 | # | 818 | # |
811 | CONFIG_ISO9660_FS=y | 819 | CONFIG_ISO9660_FS=m |
812 | CONFIG_JOLIET=y | 820 | CONFIG_JOLIET=y |
813 | # CONFIG_ZISOFS is not set | 821 | # CONFIG_ZISOFS is not set |
814 | # CONFIG_UDF_FS is not set | 822 | # CONFIG_UDF_FS is not set |
@@ -816,9 +824,9 @@ CONFIG_JOLIET=y | |||
816 | # | 824 | # |
817 | # DOS/FAT/NT Filesystems | 825 | # DOS/FAT/NT Filesystems |
818 | # | 826 | # |
819 | CONFIG_FAT_FS=y | 827 | CONFIG_FAT_FS=m |
820 | CONFIG_MSDOS_FS=y | 828 | CONFIG_MSDOS_FS=m |
821 | CONFIG_VFAT_FS=y | 829 | CONFIG_VFAT_FS=m |
822 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | 830 | CONFIG_FAT_DEFAULT_CODEPAGE=437 |
823 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | 831 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
824 | # CONFIG_NTFS_FS is not set | 832 | # CONFIG_NTFS_FS is not set |
@@ -833,7 +841,6 @@ CONFIG_DEVFS_MOUNT=y | |||
833 | # CONFIG_DEVFS_DEBUG is not set | 841 | # CONFIG_DEVFS_DEBUG is not set |
834 | # CONFIG_DEVPTS_FS_XATTR is not set | 842 | # CONFIG_DEVPTS_FS_XATTR is not set |
835 | # CONFIG_TMPFS is not set | 843 | # CONFIG_TMPFS is not set |
836 | # CONFIG_HUGETLBFS is not set | ||
837 | # CONFIG_HUGETLB_PAGE is not set | 844 | # CONFIG_HUGETLB_PAGE is not set |
838 | CONFIG_RAMFS=y | 845 | CONFIG_RAMFS=y |
839 | 846 | ||
@@ -857,13 +864,14 @@ CONFIG_RAMFS=y | |||
857 | # | 864 | # |
858 | # Network File Systems | 865 | # Network File Systems |
859 | # | 866 | # |
860 | CONFIG_NFS_FS=y | 867 | CONFIG_NFS_FS=m |
861 | # CONFIG_NFS_V3 is not set | 868 | CONFIG_NFS_V3=y |
862 | # CONFIG_NFS_V4 is not set | 869 | # CONFIG_NFS_V4 is not set |
863 | # CONFIG_NFS_DIRECTIO is not set | 870 | # CONFIG_NFS_DIRECTIO is not set |
864 | # CONFIG_NFSD is not set | 871 | # CONFIG_NFSD is not set |
865 | CONFIG_LOCKD=y | 872 | CONFIG_LOCKD=m |
866 | CONFIG_SUNRPC=y | 873 | CONFIG_LOCKD_V4=y |
874 | CONFIG_SUNRPC=m | ||
867 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 875 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
868 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 876 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
869 | # CONFIG_SMB_FS is not set | 877 | # CONFIG_SMB_FS is not set |
@@ -895,12 +903,12 @@ CONFIG_MSDOS_PARTITION=y | |||
895 | # | 903 | # |
896 | # Native Language Support | 904 | # Native Language Support |
897 | # | 905 | # |
898 | CONFIG_NLS=y | 906 | CONFIG_NLS=m |
899 | CONFIG_NLS_DEFAULT="iso8859-1" | 907 | CONFIG_NLS_DEFAULT="iso8859-1" |
900 | CONFIG_NLS_CODEPAGE_437=y | 908 | CONFIG_NLS_CODEPAGE_437=m |
901 | # CONFIG_NLS_CODEPAGE_737 is not set | 909 | # CONFIG_NLS_CODEPAGE_737 is not set |
902 | # CONFIG_NLS_CODEPAGE_775 is not set | 910 | # CONFIG_NLS_CODEPAGE_775 is not set |
903 | CONFIG_NLS_CODEPAGE_850=y | 911 | CONFIG_NLS_CODEPAGE_850=m |
904 | # CONFIG_NLS_CODEPAGE_852 is not set | 912 | # CONFIG_NLS_CODEPAGE_852 is not set |
905 | # CONFIG_NLS_CODEPAGE_855 is not set | 913 | # CONFIG_NLS_CODEPAGE_855 is not set |
906 | # CONFIG_NLS_CODEPAGE_857 is not set | 914 | # CONFIG_NLS_CODEPAGE_857 is not set |
@@ -921,7 +929,7 @@ CONFIG_NLS_CODEPAGE_850=y | |||
921 | # CONFIG_NLS_CODEPAGE_1250 is not set | 929 | # CONFIG_NLS_CODEPAGE_1250 is not set |
922 | # CONFIG_NLS_CODEPAGE_1251 is not set | 930 | # CONFIG_NLS_CODEPAGE_1251 is not set |
923 | # CONFIG_NLS_ASCII is not set | 931 | # CONFIG_NLS_ASCII is not set |
924 | CONFIG_NLS_ISO8859_1=y | 932 | CONFIG_NLS_ISO8859_1=m |
925 | # CONFIG_NLS_ISO8859_2 is not set | 933 | # CONFIG_NLS_ISO8859_2 is not set |
926 | # CONFIG_NLS_ISO8859_3 is not set | 934 | # CONFIG_NLS_ISO8859_3 is not set |
927 | # CONFIG_NLS_ISO8859_4 is not set | 935 | # CONFIG_NLS_ISO8859_4 is not set |
@@ -945,11 +953,22 @@ CONFIG_NLS_ISO8859_1=y | |||
945 | # Kernel hacking | 953 | # Kernel hacking |
946 | # | 954 | # |
947 | # CONFIG_PRINTK_TIME is not set | 955 | # CONFIG_PRINTK_TIME is not set |
948 | # CONFIG_DEBUG_KERNEL is not set | 956 | CONFIG_DEBUG_KERNEL=y |
957 | # CONFIG_MAGIC_SYSRQ is not set | ||
949 | CONFIG_LOG_BUF_SHIFT=14 | 958 | CONFIG_LOG_BUF_SHIFT=14 |
959 | # CONFIG_SCHEDSTATS is not set | ||
960 | # CONFIG_DEBUG_SLAB is not set | ||
961 | # CONFIG_DEBUG_SPINLOCK is not set | ||
962 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
963 | # CONFIG_DEBUG_KOBJECT is not set | ||
950 | CONFIG_DEBUG_BUGVERBOSE=y | 964 | CONFIG_DEBUG_BUGVERBOSE=y |
965 | # CONFIG_DEBUG_INFO is not set | ||
966 | # CONFIG_DEBUG_FS is not set | ||
951 | CONFIG_FRAME_POINTER=y | 967 | CONFIG_FRAME_POINTER=y |
952 | CONFIG_DEBUG_USER=y | 968 | CONFIG_DEBUG_USER=y |
969 | # CONFIG_DEBUG_WAITQ is not set | ||
970 | # CONFIG_DEBUG_ERRORS is not set | ||
971 | # CONFIG_DEBUG_LL is not set | ||
953 | 972 | ||
954 | # | 973 | # |
955 | # Security options | 974 | # Security options |
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index df2cb06ce424..d571c37ac30c 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -248,16 +248,20 @@ static DEFINE_SPINLOCK(undef_lock); | |||
248 | 248 | ||
249 | void register_undef_hook(struct undef_hook *hook) | 249 | void register_undef_hook(struct undef_hook *hook) |
250 | { | 250 | { |
251 | spin_lock_irq(&undef_lock); | 251 | unsigned long flags; |
252 | |||
253 | spin_lock_irqsave(&undef_lock, flags); | ||
252 | list_add(&hook->node, &undef_hook); | 254 | list_add(&hook->node, &undef_hook); |
253 | spin_unlock_irq(&undef_lock); | 255 | spin_unlock_irqrestore(&undef_lock, flags); |
254 | } | 256 | } |
255 | 257 | ||
256 | void unregister_undef_hook(struct undef_hook *hook) | 258 | void unregister_undef_hook(struct undef_hook *hook) |
257 | { | 259 | { |
258 | spin_lock_irq(&undef_lock); | 260 | unsigned long flags; |
261 | |||
262 | spin_lock_irqsave(&undef_lock, flags); | ||
259 | list_del(&hook->node); | 263 | list_del(&hook->node); |
260 | spin_unlock_irq(&undef_lock); | 264 | spin_unlock_irqrestore(&undef_lock, flags); |
261 | } | 265 | } |
262 | 266 | ||
263 | asmlinkage void do_undefinstr(struct pt_regs *regs) | 267 | asmlinkage void do_undefinstr(struct pt_regs *regs) |
diff --git a/arch/arm/lib/bitops.h b/arch/arm/lib/bitops.h index 4a83ab6cd565..6976e60e47cb 100644 --- a/arch/arm/lib/bitops.h +++ b/arch/arm/lib/bitops.h | |||
@@ -1,3 +1,33 @@ | |||
1 | #if __LINUX_ARM_ARCH__ >= 6 | ||
2 | .macro bitop, instr | ||
3 | mov r2, #1 | ||
4 | and r3, r0, #7 @ Get bit offset | ||
5 | add r1, r1, r0, lsr #3 @ Get byte offset | ||
6 | mov r3, r2, lsl r3 | ||
7 | 1: ldrexb r2, [r1] | ||
8 | \instr r2, r2, r3 | ||
9 | strexb r0, r2, [r1] | ||
10 | cmpne r0, #0 | ||
11 | bne 1b | ||
12 | mov pc, lr | ||
13 | .endm | ||
14 | |||
15 | .macro testop, instr, store | ||
16 | and r3, r0, #7 @ Get bit offset | ||
17 | mov r2, #1 | ||
18 | add r1, r1, r0, lsr #3 @ Get byte offset | ||
19 | mov r3, r2, lsl r3 @ create mask | ||
20 | 1: ldrexb r2, [r1] | ||
21 | ands r0, r2, r3 @ save old value of bit | ||
22 | \instr ip, r2, r3 @ toggle bit | ||
23 | strexb r2, ip, [r1] | ||
24 | cmp r2, #0 | ||
25 | bne 1b | ||
26 | cmp r0, #0 | ||
27 | movne r0, #1 | ||
28 | 2: mov pc, lr | ||
29 | .endm | ||
30 | #else | ||
1 | .macro bitop, instr | 31 | .macro bitop, instr |
2 | and r2, r0, #7 | 32 | and r2, r0, #7 |
3 | mov r3, #1 | 33 | mov r3, #1 |
@@ -31,3 +61,4 @@ | |||
31 | moveq r0, #0 | 61 | moveq r0, #0 |
32 | mov pc, lr | 62 | mov pc, lr |
33 | .endm | 63 | .endm |
64 | #endif | ||
diff --git a/arch/arm/lib/io-shark.c b/arch/arm/lib/io-shark.c index 108d4573e970..824253948f51 100644 --- a/arch/arm/lib/io-shark.c +++ b/arch/arm/lib/io-shark.c | |||
@@ -11,73 +11,3 @@ | |||
11 | * it under the terms of the GNU General Public License version 2 as | 11 | * it under the terms of the GNU General Public License version 2 as |
12 | * published by the Free Software Foundation. | 12 | * published by the Free Software Foundation. |
13 | */ | 13 | */ |
14 | #include <linux/kernel.h> | ||
15 | |||
16 | #include <asm/io.h> | ||
17 | |||
18 | void print_warning(void) | ||
19 | { | ||
20 | printk(KERN_WARNING "ins?/outs? not implemented on this architecture\n"); | ||
21 | } | ||
22 | |||
23 | void insl(unsigned int port, void *to, int len) | ||
24 | { | ||
25 | print_warning(); | ||
26 | } | ||
27 | |||
28 | void insb(unsigned int port, void *to, int len) | ||
29 | { | ||
30 | print_warning(); | ||
31 | } | ||
32 | |||
33 | void outsl(unsigned int port, const void *from, int len) | ||
34 | { | ||
35 | print_warning(); | ||
36 | } | ||
37 | |||
38 | void outsb(unsigned int port, const void *from, int len) | ||
39 | { | ||
40 | print_warning(); | ||
41 | } | ||
42 | |||
43 | /* these should be in assembler again */ | ||
44 | |||
45 | /* | ||
46 | * Purpose: read a block of data from a hardware register to memory. | ||
47 | * Proto : insw(int from_port, void *to, int len_in_words); | ||
48 | * Proto : inswb(int from_port, void *to, int len_in_bytes); | ||
49 | * Notes : increment to | ||
50 | */ | ||
51 | |||
52 | void insw(unsigned int port, void *to, int len) | ||
53 | { | ||
54 | int i; | ||
55 | |||
56 | for (i = 0; i < len; i++) | ||
57 | ((unsigned short *) to)[i] = inw(port); | ||
58 | } | ||
59 | |||
60 | void inswb(unsigned int port, void *to, int len) | ||
61 | { | ||
62 | insw(port, to, len >> 2); | ||
63 | } | ||
64 | |||
65 | /* | ||
66 | * Purpose: write a block of data from memory to a hardware register. | ||
67 | * Proto : outsw(int to_reg, void *from, int len_in_words); | ||
68 | * Proto : outswb(int to_reg, void *from, int len_in_bytes); | ||
69 | * Notes : increments from | ||
70 | */ | ||
71 | |||
72 | void outsw(unsigned int port, const void *from, int len) | ||
73 | { | ||
74 | int i; | ||
75 | |||
76 | for (i = 0; i < len; i++) | ||
77 | outw(((unsigned short *) from)[i], port); | ||
78 | } | ||
79 | |||
80 | void outswb(unsigned int port, const void *from, int len) | ||
81 | { | ||
82 | outsw(port, from, len >> 2); | ||
83 | } | ||
diff --git a/arch/arm/mach-shark/core.c b/arch/arm/mach-shark/core.c index 726445895b5c..e737eae4521f 100644 --- a/arch/arm/mach-shark/core.c +++ b/arch/arm/mach-shark/core.c | |||
@@ -24,7 +24,7 @@ static struct plat_serial8250_port serial_platform_data[] = { | |||
24 | .iobase = 0x3f8, | 24 | .iobase = 0x3f8, |
25 | .irq = 4, | 25 | .irq = 4, |
26 | .uartclk = 1843200, | 26 | .uartclk = 1843200, |
27 | .regshift = 2, | 27 | .regshift = 0, |
28 | .iotype = UPIO_PORT, | 28 | .iotype = UPIO_PORT, |
29 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | 29 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, |
30 | }, | 30 | }, |
@@ -32,7 +32,7 @@ static struct plat_serial8250_port serial_platform_data[] = { | |||
32 | .iobase = 0x2f8, | 32 | .iobase = 0x2f8, |
33 | .irq = 3, | 33 | .irq = 3, |
34 | .uartclk = 1843200, | 34 | .uartclk = 1843200, |
35 | .regshift = 2, | 35 | .regshift = 0, |
36 | .iotype = UPIO_PORT, | 36 | .iotype = UPIO_PORT, |
37 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | 37 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, |
38 | }, | 38 | }, |
diff --git a/include/asm-arm/arch-shark/io.h b/include/asm-arm/arch-shark/io.h index 1e7f26bc2e1d..5e6ed0038b2b 100644 --- a/include/asm-arm/arch-shark/io.h +++ b/include/asm-arm/arch-shark/io.h | |||
@@ -21,38 +21,8 @@ | |||
21 | */ | 21 | */ |
22 | #define __PORT_PCIO(x) (!((x) & 0x80000000)) | 22 | #define __PORT_PCIO(x) (!((x) & 0x80000000)) |
23 | 23 | ||
24 | /* | 24 | #define __io(a) ((void __iomem *)(PCIO_BASE + (a))) |
25 | * Dynamic IO functions - let the compiler | ||
26 | * optimize the expressions | ||
27 | */ | ||
28 | #define DECLARE_DYN_OUT(fnsuffix,instr) \ | ||
29 | static inline void __out##fnsuffix (unsigned int value, unsigned int port) \ | ||
30 | { \ | ||
31 | unsigned long temp; \ | ||
32 | __asm__ __volatile__( \ | ||
33 | "tst %2, #0x80000000\n\t" \ | ||
34 | "mov %0, %4\n\t" \ | ||
35 | "addeq %0, %0, %3\n\t" \ | ||
36 | "str" instr " %1, [%0, %2] @ out" #fnsuffix \ | ||
37 | : "=&r" (temp) \ | ||
38 | : "r" (value), "r" (port), "Ir" (PCIO_BASE - IO_BASE), "Ir" (IO_BASE) \ | ||
39 | : "cc"); \ | ||
40 | } | ||
41 | 25 | ||
42 | #define DECLARE_DYN_IN(sz,fnsuffix,instr) \ | ||
43 | static inline unsigned sz __in##fnsuffix (unsigned int port) \ | ||
44 | { \ | ||
45 | unsigned long temp, value; \ | ||
46 | __asm__ __volatile__( \ | ||
47 | "tst %2, #0x80000000\n\t" \ | ||
48 | "mov %0, %4\n\t" \ | ||
49 | "addeq %0, %0, %3\n\t" \ | ||
50 | "ldr" instr " %1, [%0, %2] @ in" #fnsuffix \ | ||
51 | : "=&r" (temp), "=r" (value) \ | ||
52 | : "r" (port), "Ir" (PCIO_BASE - IO_BASE), "Ir" (IO_BASE) \ | ||
53 | : "cc"); \ | ||
54 | return (unsigned sz)value; \ | ||
55 | } | ||
56 | 26 | ||
57 | static inline unsigned int __ioaddr (unsigned int port) \ | 27 | static inline unsigned int __ioaddr (unsigned int port) \ |
58 | { \ | 28 | { \ |
@@ -62,123 +32,8 @@ static inline unsigned int __ioaddr (unsigned int port) \ | |||
62 | return (unsigned int)(IO_BASE + (port)); \ | 32 | return (unsigned int)(IO_BASE + (port)); \ |
63 | } | 33 | } |
64 | 34 | ||
65 | #define DECLARE_IO(sz,fnsuffix,instr) \ | ||
66 | DECLARE_DYN_OUT(fnsuffix,instr) \ | ||
67 | DECLARE_DYN_IN(sz,fnsuffix,instr) | ||
68 | |||
69 | DECLARE_IO(char,b,"b") | ||
70 | DECLARE_IO(short,w,"h") | ||
71 | DECLARE_IO(long,l,"") | ||
72 | |||
73 | #undef DECLARE_IO | ||
74 | #undef DECLARE_DYN_OUT | ||
75 | #undef DECLARE_DYN_IN | ||
76 | |||
77 | /* | ||
78 | * Constant address IO functions | ||
79 | * | ||
80 | * These have to be macros for the 'J' constraint to work - | ||
81 | * +/-4096 immediate operand. | ||
82 | */ | ||
83 | #define __outbc(value,port) \ | ||
84 | ({ \ | ||
85 | if (__PORT_PCIO((port))) \ | ||
86 | __asm__ __volatile__( \ | ||
87 | "strb %0, [%1, %2] @ outbc" \ | ||
88 | : : "r" (value), "r" (PCIO_BASE), "Jr" (port)); \ | ||
89 | else \ | ||
90 | __asm__ __volatile__( \ | ||
91 | "strb %0, [%1, %2] @ outbc" \ | ||
92 | : : "r" (value), "r" (IO_BASE), "r" (port)); \ | ||
93 | }) | ||
94 | |||
95 | #define __inbc(port) \ | ||
96 | ({ \ | ||
97 | unsigned char result; \ | ||
98 | if (__PORT_PCIO((port))) \ | ||
99 | __asm__ __volatile__( \ | ||
100 | "ldrb %0, [%1, %2] @ inbc" \ | ||
101 | : "=r" (result) : "r" (PCIO_BASE), "Jr" (port)); \ | ||
102 | else \ | ||
103 | __asm__ __volatile__( \ | ||
104 | "ldrb %0, [%1, %2] @ inbc" \ | ||
105 | : "=r" (result) : "r" (IO_BASE), "r" (port)); \ | ||
106 | result; \ | ||
107 | }) | ||
108 | |||
109 | #define __outwc(value,port) \ | ||
110 | ({ \ | ||
111 | unsigned long v = value; \ | ||
112 | if (__PORT_PCIO((port))) \ | ||
113 | __asm__ __volatile__( \ | ||
114 | "strh %0, [%1, %2] @ outwc" \ | ||
115 | : : "r" (v|v<<16), "r" (PCIO_BASE), "Jr" (port)); \ | ||
116 | else \ | ||
117 | __asm__ __volatile__( \ | ||
118 | "strh %0, [%1, %2] @ outwc" \ | ||
119 | : : "r" (v|v<<16), "r" (IO_BASE), "r" (port)); \ | ||
120 | }) | ||
121 | |||
122 | #define __inwc(port) \ | ||
123 | ({ \ | ||
124 | unsigned short result; \ | ||
125 | if (__PORT_PCIO((port))) \ | ||
126 | __asm__ __volatile__( \ | ||
127 | "ldrh %0, [%1, %2] @ inwc" \ | ||
128 | : "=r" (result) : "r" (PCIO_BASE), "Jr" (port)); \ | ||
129 | else \ | ||
130 | __asm__ __volatile__( \ | ||
131 | "ldrh %0, [%1, %2] @ inwc" \ | ||
132 | : "=r" (result) : "r" (IO_BASE), "r" (port)); \ | ||
133 | result & 0xffff; \ | ||
134 | }) | ||
135 | |||
136 | #define __outlc(value,port) \ | ||
137 | ({ \ | ||
138 | unsigned long v = value; \ | ||
139 | if (__PORT_PCIO((port))) \ | ||
140 | __asm__ __volatile__( \ | ||
141 | "str %0, [%1, %2] @ outlc" \ | ||
142 | : : "r" (v), "r" (PCIO_BASE), "Jr" (port)); \ | ||
143 | else \ | ||
144 | __asm__ __volatile__( \ | ||
145 | "str %0, [%1, %2] @ outlc" \ | ||
146 | : : "r" (v), "r" (IO_BASE), "r" (port)); \ | ||
147 | }) | ||
148 | |||
149 | #define __inlc(port) \ | ||
150 | ({ \ | ||
151 | unsigned long result; \ | ||
152 | if (__PORT_PCIO((port))) \ | ||
153 | __asm__ __volatile__( \ | ||
154 | "ldr %0, [%1, %2] @ inlc" \ | ||
155 | : "=r" (result) : "r" (PCIO_BASE), "Jr" (port)); \ | ||
156 | else \ | ||
157 | __asm__ __volatile__( \ | ||
158 | "ldr %0, [%1, %2] @ inlc" \ | ||
159 | : "=r" (result) : "r" (IO_BASE), "r" (port)); \ | ||
160 | result; \ | ||
161 | }) | ||
162 | |||
163 | #define __ioaddrc(port) \ | ||
164 | ({ \ | ||
165 | unsigned long addr; \ | ||
166 | if (__PORT_PCIO((port))) \ | ||
167 | addr = PCIO_BASE + (port); \ | ||
168 | else \ | ||
169 | addr = IO_BASE + (port); \ | ||
170 | addr; \ | ||
171 | }) | ||
172 | |||
173 | #define __mem_pci(addr) (addr) | 35 | #define __mem_pci(addr) (addr) |
174 | 36 | ||
175 | #define inb(p) (__builtin_constant_p((p)) ? __inbc(p) : __inb(p)) | ||
176 | #define inw(p) (__builtin_constant_p((p)) ? __inwc(p) : __inw(p)) | ||
177 | #define inl(p) (__builtin_constant_p((p)) ? __inlc(p) : __inl(p)) | ||
178 | #define outb(v,p) (__builtin_constant_p((p)) ? __outbc(v,p) : __outb(v,p)) | ||
179 | #define outw(v,p) (__builtin_constant_p((p)) ? __outwc(v,p) : __outw(v,p)) | ||
180 | #define outl(v,p) (__builtin_constant_p((p)) ? __outlc(v,p) : __outl(v,p)) | ||
181 | |||
182 | /* | 37 | /* |
183 | * Translated address IO functions | 38 | * Translated address IO functions |
184 | * | 39 | * |