diff options
-rw-r--r-- | arch/arm/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/configs/orion5x_defconfig | 146 | ||||
-rw-r--r-- | arch/arm/include/asm/byteorder.h | 25 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/time.c | 18 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/dns323-setup.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/kurobox_pro-setup.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/pci.c | 13 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/ts209-setup.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/ts409-setup.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-pxa/corgi.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/poodle.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/spitz.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h | 10 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/nor-simtec.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c2412/mach-jive.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/gpiolib.c | 12 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/pwm-clock.c | 6 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/pwm.c | 5 | ||||
-rw-r--r-- | mm/vmstat.c | 19 |
20 files changed, 207 insertions, 92 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4b8acd2851f4..70dba1668907 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -810,6 +810,11 @@ config OABI_COMPAT | |||
810 | UNPREDICTABLE (in fact it can be predicted that it won't work | 810 | UNPREDICTABLE (in fact it can be predicted that it won't work |
811 | at all). If in doubt say Y. | 811 | at all). If in doubt say Y. |
812 | 812 | ||
813 | config ARCH_FLATMEM_HAS_HOLES | ||
814 | bool | ||
815 | default y | ||
816 | depends on FLATMEM | ||
817 | |||
813 | config ARCH_DISCONTIGMEM_ENABLE | 818 | config ARCH_DISCONTIGMEM_ENABLE |
814 | bool | 819 | bool |
815 | default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM) | 820 | default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM) |
diff --git a/arch/arm/configs/orion5x_defconfig b/arch/arm/configs/orion5x_defconfig index 1464ffe71717..4017d83c9d2d 100644 --- a/arch/arm/configs/orion5x_defconfig +++ b/arch/arm/configs/orion5x_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.26-rc4 | 3 | # Linux kernel version: 2.6.27-rc4 |
4 | # Mon Jun 2 23:54:48 2008 | 4 | # Fri Aug 22 12:38:51 2008 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | 7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y |
@@ -12,6 +12,7 @@ CONFIG_MMU=y | |||
12 | # CONFIG_NO_IOPORT is not set | 12 | # CONFIG_NO_IOPORT is not set |
13 | CONFIG_GENERIC_HARDIRQS=y | 13 | CONFIG_GENERIC_HARDIRQS=y |
14 | CONFIG_STACKTRACE_SUPPORT=y | 14 | CONFIG_STACKTRACE_SUPPORT=y |
15 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
15 | CONFIG_LOCKDEP_SUPPORT=y | 16 | CONFIG_LOCKDEP_SUPPORT=y |
16 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | 17 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y |
17 | CONFIG_HARDIRQS_SW_RESEND=y | 18 | CONFIG_HARDIRQS_SW_RESEND=y |
@@ -23,6 +24,7 @@ CONFIG_GENERIC_HWEIGHT=y | |||
23 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 24 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
24 | CONFIG_ARCH_SUPPORTS_AOUT=y | 25 | CONFIG_ARCH_SUPPORTS_AOUT=y |
25 | CONFIG_ZONE_DMA=y | 26 | CONFIG_ZONE_DMA=y |
27 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
26 | CONFIG_VECTORS_BASE=0xffff0000 | 28 | CONFIG_VECTORS_BASE=0xffff0000 |
27 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 29 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
28 | 30 | ||
@@ -56,7 +58,6 @@ CONFIG_SYSCTL=y | |||
56 | CONFIG_EMBEDDED=y | 58 | CONFIG_EMBEDDED=y |
57 | CONFIG_UID16=y | 59 | CONFIG_UID16=y |
58 | CONFIG_SYSCTL_SYSCALL=y | 60 | CONFIG_SYSCTL_SYSCALL=y |
59 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
60 | CONFIG_KALLSYMS=y | 61 | CONFIG_KALLSYMS=y |
61 | CONFIG_KALLSYMS_ALL=y | 62 | CONFIG_KALLSYMS_ALL=y |
62 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 63 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
@@ -83,11 +84,17 @@ CONFIG_PROFILING=y | |||
83 | CONFIG_OPROFILE=y | 84 | CONFIG_OPROFILE=y |
84 | CONFIG_HAVE_OPROFILE=y | 85 | CONFIG_HAVE_OPROFILE=y |
85 | CONFIG_KPROBES=y | 86 | CONFIG_KPROBES=y |
87 | # CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is not set | ||
86 | CONFIG_KRETPROBES=y | 88 | CONFIG_KRETPROBES=y |
89 | # CONFIG_HAVE_IOREMAP_PROT is not set | ||
87 | CONFIG_HAVE_KPROBES=y | 90 | CONFIG_HAVE_KPROBES=y |
88 | CONFIG_HAVE_KRETPROBES=y | 91 | CONFIG_HAVE_KRETPROBES=y |
92 | # CONFIG_HAVE_ARCH_TRACEHOOK is not set | ||
89 | # CONFIG_HAVE_DMA_ATTRS is not set | 93 | # CONFIG_HAVE_DMA_ATTRS is not set |
94 | # CONFIG_USE_GENERIC_SMP_HELPERS is not set | ||
95 | # CONFIG_HAVE_CLK is not set | ||
90 | CONFIG_PROC_PAGE_MONITOR=y | 96 | CONFIG_PROC_PAGE_MONITOR=y |
97 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
91 | CONFIG_RT_MUTEXES=y | 98 | CONFIG_RT_MUTEXES=y |
92 | # CONFIG_TINY_SHMEM is not set | 99 | # CONFIG_TINY_SHMEM is not set |
93 | CONFIG_BASE_SMALL=0 | 100 | CONFIG_BASE_SMALL=0 |
@@ -97,12 +104,13 @@ CONFIG_MODULE_UNLOAD=y | |||
97 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 104 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
98 | # CONFIG_MODVERSIONS is not set | 105 | # CONFIG_MODVERSIONS is not set |
99 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 106 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
100 | # CONFIG_KMOD is not set | 107 | CONFIG_KMOD=y |
101 | CONFIG_BLOCK=y | 108 | CONFIG_BLOCK=y |
102 | # CONFIG_LBD is not set | 109 | # CONFIG_LBD is not set |
103 | # CONFIG_BLK_DEV_IO_TRACE is not set | 110 | # CONFIG_BLK_DEV_IO_TRACE is not set |
104 | # CONFIG_LSF is not set | 111 | # CONFIG_LSF is not set |
105 | # CONFIG_BLK_DEV_BSG is not set | 112 | # CONFIG_BLK_DEV_BSG is not set |
113 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
106 | 114 | ||
107 | # | 115 | # |
108 | # IO Schedulers | 116 | # IO Schedulers |
@@ -128,7 +136,6 @@ CONFIG_CLASSIC_RCU=y | |||
128 | # CONFIG_ARCH_AT91 is not set | 136 | # CONFIG_ARCH_AT91 is not set |
129 | # CONFIG_ARCH_CLPS7500 is not set | 137 | # CONFIG_ARCH_CLPS7500 is not set |
130 | # CONFIG_ARCH_CLPS711X is not set | 138 | # CONFIG_ARCH_CLPS711X is not set |
131 | # CONFIG_ARCH_CO285 is not set | ||
132 | # CONFIG_ARCH_EBSA110 is not set | 139 | # CONFIG_ARCH_EBSA110 is not set |
133 | # CONFIG_ARCH_EP93XX is not set | 140 | # CONFIG_ARCH_EP93XX is not set |
134 | # CONFIG_ARCH_FOOTBRIDGE is not set | 141 | # CONFIG_ARCH_FOOTBRIDGE is not set |
@@ -142,8 +149,11 @@ CONFIG_CLASSIC_RCU=y | |||
142 | # CONFIG_ARCH_IXP2000 is not set | 149 | # CONFIG_ARCH_IXP2000 is not set |
143 | # CONFIG_ARCH_IXP4XX is not set | 150 | # CONFIG_ARCH_IXP4XX is not set |
144 | # CONFIG_ARCH_L7200 is not set | 151 | # CONFIG_ARCH_L7200 is not set |
152 | # CONFIG_ARCH_KIRKWOOD is not set | ||
145 | # CONFIG_ARCH_KS8695 is not set | 153 | # CONFIG_ARCH_KS8695 is not set |
146 | # CONFIG_ARCH_NS9XXX is not set | 154 | # CONFIG_ARCH_NS9XXX is not set |
155 | # CONFIG_ARCH_LOKI is not set | ||
156 | # CONFIG_ARCH_MV78XX0 is not set | ||
147 | # CONFIG_ARCH_MXC is not set | 157 | # CONFIG_ARCH_MXC is not set |
148 | CONFIG_ARCH_ORION5X=y | 158 | CONFIG_ARCH_ORION5X=y |
149 | # CONFIG_ARCH_PNX4008 is not set | 159 | # CONFIG_ARCH_PNX4008 is not set |
@@ -195,7 +205,7 @@ CONFIG_CPU_ABRT_EV5T=y | |||
195 | CONFIG_CPU_PABRT_NOIFAR=y | 205 | CONFIG_CPU_PABRT_NOIFAR=y |
196 | CONFIG_CPU_CACHE_VIVT=y | 206 | CONFIG_CPU_CACHE_VIVT=y |
197 | CONFIG_CPU_COPY_FEROCEON=y | 207 | CONFIG_CPU_COPY_FEROCEON=y |
198 | CONFIG_CPU_TLB_V4WBI=y | 208 | CONFIG_CPU_TLB_FEROCEON=y |
199 | CONFIG_CPU_CP15=y | 209 | CONFIG_CPU_CP15=y |
200 | CONFIG_CPU_CP15_MMU=y | 210 | CONFIG_CPU_CP15_MMU=y |
201 | 211 | ||
@@ -280,10 +290,6 @@ CONFIG_BINFMT_ELF=y | |||
280 | # | 290 | # |
281 | # CONFIG_PM is not set | 291 | # CONFIG_PM is not set |
282 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 292 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
283 | |||
284 | # | ||
285 | # Networking | ||
286 | # | ||
287 | CONFIG_NET=y | 293 | CONFIG_NET=y |
288 | 294 | ||
289 | # | 295 | # |
@@ -361,6 +367,7 @@ CONFIG_NET_PKTGEN=m | |||
361 | # | 367 | # |
362 | # CONFIG_CFG80211 is not set | 368 | # CONFIG_CFG80211 is not set |
363 | CONFIG_WIRELESS_EXT=y | 369 | CONFIG_WIRELESS_EXT=y |
370 | CONFIG_WIRELESS_EXT_SYSFS=y | ||
364 | # CONFIG_MAC80211 is not set | 371 | # CONFIG_MAC80211 is not set |
365 | # CONFIG_IEEE80211 is not set | 372 | # CONFIG_IEEE80211 is not set |
366 | # CONFIG_RFKILL is not set | 373 | # CONFIG_RFKILL is not set |
@@ -377,6 +384,8 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | |||
377 | CONFIG_STANDALONE=y | 384 | CONFIG_STANDALONE=y |
378 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 385 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
379 | CONFIG_FW_LOADER=y | 386 | CONFIG_FW_LOADER=y |
387 | # CONFIG_FIRMWARE_IN_KERNEL is not set | ||
388 | CONFIG_EXTRA_FIRMWARE="" | ||
380 | # CONFIG_DEBUG_DRIVER is not set | 389 | # CONFIG_DEBUG_DRIVER is not set |
381 | # CONFIG_DEBUG_DEVRES is not set | 390 | # CONFIG_DEBUG_DEVRES is not set |
382 | # CONFIG_SYS_HYPERVISOR is not set | 391 | # CONFIG_SYS_HYPERVISOR is not set |
@@ -499,6 +508,7 @@ CONFIG_MISC_DEVICES=y | |||
499 | # CONFIG_SGI_IOC4 is not set | 508 | # CONFIG_SGI_IOC4 is not set |
500 | # CONFIG_TIFM_CORE is not set | 509 | # CONFIG_TIFM_CORE is not set |
501 | # CONFIG_ENCLOSURE_SERVICES is not set | 510 | # CONFIG_ENCLOSURE_SERVICES is not set |
511 | # CONFIG_HP_ILO is not set | ||
502 | CONFIG_HAVE_IDE=y | 512 | CONFIG_HAVE_IDE=y |
503 | # CONFIG_IDE is not set | 513 | # CONFIG_IDE is not set |
504 | 514 | ||
@@ -575,6 +585,7 @@ CONFIG_SCSI_LOWLEVEL=y | |||
575 | # CONFIG_SCSI_NSP32 is not set | 585 | # CONFIG_SCSI_NSP32 is not set |
576 | # CONFIG_SCSI_DEBUG is not set | 586 | # CONFIG_SCSI_DEBUG is not set |
577 | # CONFIG_SCSI_SRP is not set | 587 | # CONFIG_SCSI_SRP is not set |
588 | # CONFIG_SCSI_DH is not set | ||
578 | CONFIG_ATA=y | 589 | CONFIG_ATA=y |
579 | # CONFIG_ATA_NONSTANDARD is not set | 590 | # CONFIG_ATA_NONSTANDARD is not set |
580 | CONFIG_SATA_PMP=y | 591 | CONFIG_SATA_PMP=y |
@@ -641,11 +652,14 @@ CONFIG_SATA_MV=y | |||
641 | # | 652 | # |
642 | # IEEE 1394 (FireWire) support | 653 | # IEEE 1394 (FireWire) support |
643 | # | 654 | # |
655 | |||
656 | # | ||
657 | # Enable only one of the two stacks, unless you know what you are doing | ||
658 | # | ||
644 | # CONFIG_FIREWIRE is not set | 659 | # CONFIG_FIREWIRE is not set |
645 | # CONFIG_IEEE1394 is not set | 660 | # CONFIG_IEEE1394 is not set |
646 | # CONFIG_I2O is not set | 661 | # CONFIG_I2O is not set |
647 | CONFIG_NETDEVICES=y | 662 | CONFIG_NETDEVICES=y |
648 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
649 | # CONFIG_DUMMY is not set | 663 | # CONFIG_DUMMY is not set |
650 | # CONFIG_BONDING is not set | 664 | # CONFIG_BONDING is not set |
651 | # CONFIG_MACVLAN is not set | 665 | # CONFIG_MACVLAN is not set |
@@ -694,7 +708,6 @@ CONFIG_NETDEV_1000=y | |||
694 | # CONFIG_DL2K is not set | 708 | # CONFIG_DL2K is not set |
695 | # CONFIG_E1000 is not set | 709 | # CONFIG_E1000 is not set |
696 | # CONFIG_E1000E is not set | 710 | # CONFIG_E1000E is not set |
697 | # CONFIG_E1000E_ENABLED is not set | ||
698 | # CONFIG_IP1000 is not set | 711 | # CONFIG_IP1000 is not set |
699 | # CONFIG_IGB is not set | 712 | # CONFIG_IGB is not set |
700 | # CONFIG_NS83820 is not set | 713 | # CONFIG_NS83820 is not set |
@@ -710,6 +723,7 @@ CONFIG_NETDEV_1000=y | |||
710 | CONFIG_MV643XX_ETH=y | 723 | CONFIG_MV643XX_ETH=y |
711 | # CONFIG_QLA3XXX is not set | 724 | # CONFIG_QLA3XXX is not set |
712 | # CONFIG_ATL1 is not set | 725 | # CONFIG_ATL1 is not set |
726 | # CONFIG_ATL1E is not set | ||
713 | # CONFIG_NETDEV_10000 is not set | 727 | # CONFIG_NETDEV_10000 is not set |
714 | # CONFIG_TR is not set | 728 | # CONFIG_TR is not set |
715 | 729 | ||
@@ -815,44 +829,65 @@ CONFIG_DEVPORT=y | |||
815 | CONFIG_I2C=y | 829 | CONFIG_I2C=y |
816 | CONFIG_I2C_BOARDINFO=y | 830 | CONFIG_I2C_BOARDINFO=y |
817 | CONFIG_I2C_CHARDEV=y | 831 | CONFIG_I2C_CHARDEV=y |
832 | CONFIG_I2C_HELPER_AUTO=y | ||
818 | 833 | ||
819 | # | 834 | # |
820 | # I2C Hardware Bus support | 835 | # I2C Hardware Bus support |
821 | # | 836 | # |
837 | |||
838 | # | ||
839 | # PC SMBus host controller drivers | ||
840 | # | ||
822 | # CONFIG_I2C_ALI1535 is not set | 841 | # CONFIG_I2C_ALI1535 is not set |
823 | # CONFIG_I2C_ALI1563 is not set | 842 | # CONFIG_I2C_ALI1563 is not set |
824 | # CONFIG_I2C_ALI15X3 is not set | 843 | # CONFIG_I2C_ALI15X3 is not set |
825 | # CONFIG_I2C_AMD756 is not set | 844 | # CONFIG_I2C_AMD756 is not set |
826 | # CONFIG_I2C_AMD8111 is not set | 845 | # CONFIG_I2C_AMD8111 is not set |
827 | # CONFIG_I2C_GPIO is not set | ||
828 | # CONFIG_I2C_I801 is not set | 846 | # CONFIG_I2C_I801 is not set |
829 | # CONFIG_I2C_I810 is not set | 847 | # CONFIG_I2C_ISCH is not set |
830 | # CONFIG_I2C_PIIX4 is not set | 848 | # CONFIG_I2C_PIIX4 is not set |
831 | # CONFIG_I2C_NFORCE2 is not set | 849 | # CONFIG_I2C_NFORCE2 is not set |
832 | # CONFIG_I2C_OCORES is not set | ||
833 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
834 | # CONFIG_I2C_PROSAVAGE is not set | ||
835 | # CONFIG_I2C_SAVAGE4 is not set | ||
836 | # CONFIG_I2C_SIMTEC is not set | ||
837 | # CONFIG_I2C_SIS5595 is not set | 850 | # CONFIG_I2C_SIS5595 is not set |
838 | # CONFIG_I2C_SIS630 is not set | 851 | # CONFIG_I2C_SIS630 is not set |
839 | # CONFIG_I2C_SIS96X is not set | 852 | # CONFIG_I2C_SIS96X is not set |
840 | # CONFIG_I2C_TAOS_EVM is not set | ||
841 | # CONFIG_I2C_STUB is not set | ||
842 | # CONFIG_I2C_TINY_USB is not set | ||
843 | # CONFIG_I2C_VIA is not set | 853 | # CONFIG_I2C_VIA is not set |
844 | # CONFIG_I2C_VIAPRO is not set | 854 | # CONFIG_I2C_VIAPRO is not set |
855 | |||
856 | # | ||
857 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
858 | # | ||
859 | # CONFIG_I2C_GPIO is not set | ||
860 | CONFIG_I2C_MV64XXX=y | ||
861 | # CONFIG_I2C_OCORES is not set | ||
862 | # CONFIG_I2C_SIMTEC is not set | ||
863 | |||
864 | # | ||
865 | # External I2C/SMBus adapter drivers | ||
866 | # | ||
867 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
868 | # CONFIG_I2C_TAOS_EVM is not set | ||
869 | # CONFIG_I2C_TINY_USB is not set | ||
870 | |||
871 | # | ||
872 | # Graphics adapter I2C/DDC channel drivers | ||
873 | # | ||
845 | # CONFIG_I2C_VOODOO3 is not set | 874 | # CONFIG_I2C_VOODOO3 is not set |
875 | |||
876 | # | ||
877 | # Other I2C/SMBus bus drivers | ||
878 | # | ||
846 | # CONFIG_I2C_PCA_PLATFORM is not set | 879 | # CONFIG_I2C_PCA_PLATFORM is not set |
847 | CONFIG_I2C_MV64XXX=y | 880 | # CONFIG_I2C_STUB is not set |
848 | 881 | ||
849 | # | 882 | # |
850 | # Miscellaneous I2C Chip support | 883 | # Miscellaneous I2C Chip support |
851 | # | 884 | # |
852 | # CONFIG_DS1682 is not set | 885 | # CONFIG_DS1682 is not set |
886 | # CONFIG_AT24 is not set | ||
853 | # CONFIG_SENSORS_EEPROM is not set | 887 | # CONFIG_SENSORS_EEPROM is not set |
854 | # CONFIG_SENSORS_PCF8574 is not set | 888 | # CONFIG_SENSORS_PCF8574 is not set |
855 | # CONFIG_PCF8575 is not set | 889 | # CONFIG_PCF8575 is not set |
890 | # CONFIG_SENSORS_PCA9539 is not set | ||
856 | # CONFIG_SENSORS_PCF8591 is not set | 891 | # CONFIG_SENSORS_PCF8591 is not set |
857 | # CONFIG_SENSORS_MAX6875 is not set | 892 | # CONFIG_SENSORS_MAX6875 is not set |
858 | # CONFIG_SENSORS_TSL2550 is not set | 893 | # CONFIG_SENSORS_TSL2550 is not set |
@@ -865,6 +900,7 @@ CONFIG_I2C_MV64XXX=y | |||
865 | # CONFIG_POWER_SUPPLY is not set | 900 | # CONFIG_POWER_SUPPLY is not set |
866 | CONFIG_HWMON=y | 901 | CONFIG_HWMON=y |
867 | # CONFIG_HWMON_VID is not set | 902 | # CONFIG_HWMON_VID is not set |
903 | # CONFIG_SENSORS_AD7414 is not set | ||
868 | # CONFIG_SENSORS_AD7418 is not set | 904 | # CONFIG_SENSORS_AD7418 is not set |
869 | # CONFIG_SENSORS_ADM1021 is not set | 905 | # CONFIG_SENSORS_ADM1021 is not set |
870 | # CONFIG_SENSORS_ADM1025 is not set | 906 | # CONFIG_SENSORS_ADM1025 is not set |
@@ -884,7 +920,7 @@ CONFIG_HWMON=y | |||
884 | # CONFIG_SENSORS_GL520SM is not set | 920 | # CONFIG_SENSORS_GL520SM is not set |
885 | # CONFIG_SENSORS_IT87 is not set | 921 | # CONFIG_SENSORS_IT87 is not set |
886 | # CONFIG_SENSORS_LM63 is not set | 922 | # CONFIG_SENSORS_LM63 is not set |
887 | # CONFIG_SENSORS_LM75 is not set | 923 | CONFIG_SENSORS_LM75=y |
888 | # CONFIG_SENSORS_LM77 is not set | 924 | # CONFIG_SENSORS_LM77 is not set |
889 | # CONFIG_SENSORS_LM78 is not set | 925 | # CONFIG_SENSORS_LM78 is not set |
890 | # CONFIG_SENSORS_LM80 is not set | 926 | # CONFIG_SENSORS_LM80 is not set |
@@ -928,9 +964,12 @@ CONFIG_SSB_POSSIBLE=y | |||
928 | # | 964 | # |
929 | # Multifunction device drivers | 965 | # Multifunction device drivers |
930 | # | 966 | # |
967 | # CONFIG_MFD_CORE is not set | ||
931 | # CONFIG_MFD_SM501 is not set | 968 | # CONFIG_MFD_SM501 is not set |
932 | # CONFIG_MFD_ASIC3 is not set | ||
933 | # CONFIG_HTC_PASIC3 is not set | 969 | # CONFIG_HTC_PASIC3 is not set |
970 | # CONFIG_MFD_TMIO is not set | ||
971 | # CONFIG_MFD_T7L66XB is not set | ||
972 | # CONFIG_MFD_TC6387XB is not set | ||
934 | 973 | ||
935 | # | 974 | # |
936 | # Multimedia devices | 975 | # Multimedia devices |
@@ -961,10 +1000,6 @@ CONFIG_SSB_POSSIBLE=y | |||
961 | # Display device support | 1000 | # Display device support |
962 | # | 1001 | # |
963 | # CONFIG_DISPLAY_SUPPORT is not set | 1002 | # CONFIG_DISPLAY_SUPPORT is not set |
964 | |||
965 | # | ||
966 | # Sound | ||
967 | # | ||
968 | # CONFIG_SOUND is not set | 1003 | # CONFIG_SOUND is not set |
969 | CONFIG_HID_SUPPORT=y | 1004 | CONFIG_HID_SUPPORT=y |
970 | CONFIG_HID=y | 1005 | CONFIG_HID=y |
@@ -995,6 +1030,7 @@ CONFIG_USB_DEVICE_CLASS=y | |||
995 | # CONFIG_USB_OTG is not set | 1030 | # CONFIG_USB_OTG is not set |
996 | # CONFIG_USB_OTG_WHITELIST is not set | 1031 | # CONFIG_USB_OTG_WHITELIST is not set |
997 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | 1032 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set |
1033 | # CONFIG_USB_MON is not set | ||
998 | 1034 | ||
999 | # | 1035 | # |
1000 | # USB Host Controller Drivers | 1036 | # USB Host Controller Drivers |
@@ -1037,6 +1073,7 @@ CONFIG_USB_STORAGE_JUMPSHOT=y | |||
1037 | # CONFIG_USB_STORAGE_ALAUDA is not set | 1073 | # CONFIG_USB_STORAGE_ALAUDA is not set |
1038 | # CONFIG_USB_STORAGE_ONETOUCH is not set | 1074 | # CONFIG_USB_STORAGE_ONETOUCH is not set |
1039 | # CONFIG_USB_STORAGE_KARMA is not set | 1075 | # CONFIG_USB_STORAGE_KARMA is not set |
1076 | # CONFIG_USB_STORAGE_SIERRA is not set | ||
1040 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | 1077 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set |
1041 | # CONFIG_USB_LIBUSUAL is not set | 1078 | # CONFIG_USB_LIBUSUAL is not set |
1042 | 1079 | ||
@@ -1045,7 +1082,6 @@ CONFIG_USB_STORAGE_JUMPSHOT=y | |||
1045 | # | 1082 | # |
1046 | # CONFIG_USB_MDC800 is not set | 1083 | # CONFIG_USB_MDC800 is not set |
1047 | # CONFIG_USB_MICROTEK is not set | 1084 | # CONFIG_USB_MICROTEK is not set |
1048 | # CONFIG_USB_MON is not set | ||
1049 | 1085 | ||
1050 | # | 1086 | # |
1051 | # USB port drivers | 1087 | # USB port drivers |
@@ -1058,7 +1094,6 @@ CONFIG_USB_STORAGE_JUMPSHOT=y | |||
1058 | # CONFIG_USB_EMI62 is not set | 1094 | # CONFIG_USB_EMI62 is not set |
1059 | # CONFIG_USB_EMI26 is not set | 1095 | # CONFIG_USB_EMI26 is not set |
1060 | # CONFIG_USB_ADUTUX is not set | 1096 | # CONFIG_USB_ADUTUX is not set |
1061 | # CONFIG_USB_AUERSWALD is not set | ||
1062 | # CONFIG_USB_RIO500 is not set | 1097 | # CONFIG_USB_RIO500 is not set |
1063 | # CONFIG_USB_LEGOTOWER is not set | 1098 | # CONFIG_USB_LEGOTOWER is not set |
1064 | # CONFIG_USB_LCD is not set | 1099 | # CONFIG_USB_LCD is not set |
@@ -1084,7 +1119,9 @@ CONFIG_LEDS_CLASS=y | |||
1084 | # | 1119 | # |
1085 | # LED drivers | 1120 | # LED drivers |
1086 | # | 1121 | # |
1122 | # CONFIG_LEDS_PCA9532 is not set | ||
1087 | CONFIG_LEDS_GPIO=y | 1123 | CONFIG_LEDS_GPIO=y |
1124 | # CONFIG_LEDS_PCA955X is not set | ||
1088 | 1125 | ||
1089 | # | 1126 | # |
1090 | # LED Triggers | 1127 | # LED Triggers |
@@ -1123,6 +1160,7 @@ CONFIG_RTC_DRV_PCF8563=y | |||
1123 | CONFIG_RTC_DRV_M41T80=y | 1160 | CONFIG_RTC_DRV_M41T80=y |
1124 | # CONFIG_RTC_DRV_M41T80_WDT is not set | 1161 | # CONFIG_RTC_DRV_M41T80_WDT is not set |
1125 | CONFIG_RTC_DRV_S35390A=y | 1162 | CONFIG_RTC_DRV_S35390A=y |
1163 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1126 | 1164 | ||
1127 | # | 1165 | # |
1128 | # SPI RTC drivers | 1166 | # SPI RTC drivers |
@@ -1143,6 +1181,27 @@ CONFIG_RTC_DRV_S35390A=y | |||
1143 | # | 1181 | # |
1144 | # on-CPU RTC drivers | 1182 | # on-CPU RTC drivers |
1145 | # | 1183 | # |
1184 | CONFIG_DMADEVICES=y | ||
1185 | |||
1186 | # | ||
1187 | # DMA Devices | ||
1188 | # | ||
1189 | CONFIG_MV_XOR=y | ||
1190 | CONFIG_DMA_ENGINE=y | ||
1191 | |||
1192 | # | ||
1193 | # DMA Clients | ||
1194 | # | ||
1195 | # CONFIG_NET_DMA is not set | ||
1196 | # CONFIG_DMATEST is not set | ||
1197 | |||
1198 | # | ||
1199 | # Voltage and Current regulators | ||
1200 | # | ||
1201 | # CONFIG_REGULATOR is not set | ||
1202 | # CONFIG_REGULATOR_FIXED_VOLTAGE is not set | ||
1203 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
1204 | # CONFIG_REGULATOR_BQ24022 is not set | ||
1146 | # CONFIG_UIO is not set | 1205 | # CONFIG_UIO is not set |
1147 | 1206 | ||
1148 | # | 1207 | # |
@@ -1222,6 +1281,7 @@ CONFIG_JFFS2_RTIME=y | |||
1222 | CONFIG_CRAMFS=y | 1281 | CONFIG_CRAMFS=y |
1223 | # CONFIG_VXFS_FS is not set | 1282 | # CONFIG_VXFS_FS is not set |
1224 | # CONFIG_MINIX_FS is not set | 1283 | # CONFIG_MINIX_FS is not set |
1284 | # CONFIG_OMFS_FS is not set | ||
1225 | # CONFIG_HPFS_FS is not set | 1285 | # CONFIG_HPFS_FS is not set |
1226 | # CONFIG_QNX4FS_FS is not set | 1286 | # CONFIG_QNX4FS_FS is not set |
1227 | # CONFIG_ROMFS_FS is not set | 1287 | # CONFIG_ROMFS_FS is not set |
@@ -1232,13 +1292,12 @@ CONFIG_NFS_FS=y | |||
1232 | CONFIG_NFS_V3=y | 1292 | CONFIG_NFS_V3=y |
1233 | # CONFIG_NFS_V3_ACL is not set | 1293 | # CONFIG_NFS_V3_ACL is not set |
1234 | # CONFIG_NFS_V4 is not set | 1294 | # CONFIG_NFS_V4 is not set |
1235 | # CONFIG_NFSD is not set | ||
1236 | CONFIG_ROOT_NFS=y | 1295 | CONFIG_ROOT_NFS=y |
1296 | # CONFIG_NFSD is not set | ||
1237 | CONFIG_LOCKD=y | 1297 | CONFIG_LOCKD=y |
1238 | CONFIG_LOCKD_V4=y | 1298 | CONFIG_LOCKD_V4=y |
1239 | CONFIG_NFS_COMMON=y | 1299 | CONFIG_NFS_COMMON=y |
1240 | CONFIG_SUNRPC=y | 1300 | CONFIG_SUNRPC=y |
1241 | # CONFIG_SUNRPC_BIND34 is not set | ||
1242 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1301 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1243 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1302 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1244 | # CONFIG_SMB_FS is not set | 1303 | # CONFIG_SMB_FS is not set |
@@ -1324,6 +1383,8 @@ CONFIG_MAGIC_SYSRQ=y | |||
1324 | CONFIG_DEBUG_KERNEL=y | 1383 | CONFIG_DEBUG_KERNEL=y |
1325 | # CONFIG_DEBUG_SHIRQ is not set | 1384 | # CONFIG_DEBUG_SHIRQ is not set |
1326 | CONFIG_DETECT_SOFTLOCKUP=y | 1385 | CONFIG_DETECT_SOFTLOCKUP=y |
1386 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
1387 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
1327 | CONFIG_SCHED_DEBUG=y | 1388 | CONFIG_SCHED_DEBUG=y |
1328 | CONFIG_SCHEDSTATS=y | 1389 | CONFIG_SCHEDSTATS=y |
1329 | # CONFIG_TIMER_STATS is not set | 1390 | # CONFIG_TIMER_STATS is not set |
@@ -1338,11 +1399,13 @@ CONFIG_DEBUG_PREEMPT=y | |||
1338 | # CONFIG_LOCK_STAT is not set | 1399 | # CONFIG_LOCK_STAT is not set |
1339 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1400 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1340 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1401 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1402 | CONFIG_STACKTRACE=y | ||
1341 | # CONFIG_DEBUG_KOBJECT is not set | 1403 | # CONFIG_DEBUG_KOBJECT is not set |
1342 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1404 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1343 | CONFIG_DEBUG_INFO=y | 1405 | CONFIG_DEBUG_INFO=y |
1344 | # CONFIG_DEBUG_VM is not set | 1406 | # CONFIG_DEBUG_VM is not set |
1345 | # CONFIG_DEBUG_WRITECOUNT is not set | 1407 | # CONFIG_DEBUG_WRITECOUNT is not set |
1408 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
1346 | # CONFIG_DEBUG_LIST is not set | 1409 | # CONFIG_DEBUG_LIST is not set |
1347 | # CONFIG_DEBUG_SG is not set | 1410 | # CONFIG_DEBUG_SG is not set |
1348 | CONFIG_FRAME_POINTER=y | 1411 | CONFIG_FRAME_POINTER=y |
@@ -1352,7 +1415,18 @@ CONFIG_FRAME_POINTER=y | |||
1352 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1415 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1353 | # CONFIG_LKDTM is not set | 1416 | # CONFIG_LKDTM is not set |
1354 | # CONFIG_FAULT_INJECTION is not set | 1417 | # CONFIG_FAULT_INJECTION is not set |
1418 | CONFIG_LATENCYTOP=y | ||
1419 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
1420 | CONFIG_HAVE_FTRACE=y | ||
1421 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
1422 | # CONFIG_FTRACE is not set | ||
1423 | # CONFIG_IRQSOFF_TRACER is not set | ||
1424 | # CONFIG_PREEMPT_TRACER is not set | ||
1425 | # CONFIG_SCHED_TRACER is not set | ||
1426 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1355 | # CONFIG_SAMPLES is not set | 1427 | # CONFIG_SAMPLES is not set |
1428 | CONFIG_HAVE_ARCH_KGDB=y | ||
1429 | # CONFIG_KGDB is not set | ||
1356 | CONFIG_DEBUG_USER=y | 1430 | CONFIG_DEBUG_USER=y |
1357 | CONFIG_DEBUG_ERRORS=y | 1431 | CONFIG_DEBUG_ERRORS=y |
1358 | # CONFIG_DEBUG_STACK_USAGE is not set | 1432 | # CONFIG_DEBUG_STACK_USAGE is not set |
@@ -1365,6 +1439,7 @@ CONFIG_DEBUG_LL=y | |||
1365 | # CONFIG_KEYS is not set | 1439 | # CONFIG_KEYS is not set |
1366 | # CONFIG_SECURITY is not set | 1440 | # CONFIG_SECURITY is not set |
1367 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1441 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
1442 | CONFIG_ASYNC_CORE=y | ||
1368 | CONFIG_CRYPTO=y | 1443 | CONFIG_CRYPTO=y |
1369 | 1444 | ||
1370 | # | 1445 | # |
@@ -1410,6 +1485,10 @@ CONFIG_CRYPTO_PCBC=m | |||
1410 | # CONFIG_CRYPTO_MD4 is not set | 1485 | # CONFIG_CRYPTO_MD4 is not set |
1411 | # CONFIG_CRYPTO_MD5 is not set | 1486 | # CONFIG_CRYPTO_MD5 is not set |
1412 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 1487 | # CONFIG_CRYPTO_MICHAEL_MIC is not set |
1488 | # CONFIG_CRYPTO_RMD128 is not set | ||
1489 | # CONFIG_CRYPTO_RMD160 is not set | ||
1490 | # CONFIG_CRYPTO_RMD256 is not set | ||
1491 | # CONFIG_CRYPTO_RMD320 is not set | ||
1413 | # CONFIG_CRYPTO_SHA1 is not set | 1492 | # CONFIG_CRYPTO_SHA1 is not set |
1414 | # CONFIG_CRYPTO_SHA256 is not set | 1493 | # CONFIG_CRYPTO_SHA256 is not set |
1415 | # CONFIG_CRYPTO_SHA512 is not set | 1494 | # CONFIG_CRYPTO_SHA512 is not set |
@@ -1451,6 +1530,7 @@ CONFIG_BITREVERSE=y | |||
1451 | # CONFIG_GENERIC_FIND_NEXT_BIT is not set | 1530 | # CONFIG_GENERIC_FIND_NEXT_BIT is not set |
1452 | # CONFIG_CRC_CCITT is not set | 1531 | # CONFIG_CRC_CCITT is not set |
1453 | # CONFIG_CRC16 is not set | 1532 | # CONFIG_CRC16 is not set |
1533 | CONFIG_CRC_T10DIF=y | ||
1454 | CONFIG_CRC_ITU_T=m | 1534 | CONFIG_CRC_ITU_T=m |
1455 | CONFIG_CRC32=y | 1535 | CONFIG_CRC32=y |
1456 | # CONFIG_CRC7 is not set | 1536 | # CONFIG_CRC7 is not set |
diff --git a/arch/arm/include/asm/byteorder.h b/arch/arm/include/asm/byteorder.h index 4fbfb22f65a0..d04a7a2bc2e9 100644 --- a/arch/arm/include/asm/byteorder.h +++ b/arch/arm/include/asm/byteorder.h | |||
@@ -18,7 +18,15 @@ | |||
18 | #include <linux/compiler.h> | 18 | #include <linux/compiler.h> |
19 | #include <asm/types.h> | 19 | #include <asm/types.h> |
20 | 20 | ||
21 | static inline __attribute_const__ __u32 ___arch__swab32(__u32 x) | 21 | #ifdef __ARMEB__ |
22 | # define __BIG_ENDIAN | ||
23 | #else | ||
24 | # define __LITTLE_ENDIAN | ||
25 | #endif | ||
26 | |||
27 | #define __SWAB_64_THRU_32__ | ||
28 | |||
29 | static inline __attribute_const__ __u32 __arch_swab32(__u32 x) | ||
22 | { | 30 | { |
23 | __u32 t; | 31 | __u32 t; |
24 | 32 | ||
@@ -40,19 +48,8 @@ static inline __attribute_const__ __u32 ___arch__swab32(__u32 x) | |||
40 | 48 | ||
41 | return x; | 49 | return x; |
42 | } | 50 | } |
51 | #define __arch_swab32 __arch_swab32 | ||
43 | 52 | ||
44 | #define __arch__swab32(x) ___arch__swab32(x) | 53 | #include <linux/byteorder.h> |
45 | |||
46 | #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) | ||
47 | # define __BYTEORDER_HAS_U64__ | ||
48 | # define __SWAB_64_THRU_32__ | ||
49 | #endif | ||
50 | |||
51 | #ifdef __ARMEB__ | ||
52 | #include <linux/byteorder/big_endian.h> | ||
53 | #else | ||
54 | #include <linux/byteorder/little_endian.h> | ||
55 | #endif | ||
56 | 54 | ||
57 | #endif | 55 | #endif |
58 | |||
diff --git a/arch/arm/mach-footbridge/time.c b/arch/arm/mach-footbridge/time.c index fd9a7c11d62d..004819ea85c8 100644 --- a/arch/arm/mach-footbridge/time.c +++ b/arch/arm/mach-footbridge/time.c | |||
@@ -49,12 +49,12 @@ static unsigned long __init get_isa_cmos_time(void) | |||
49 | } while (sec != CMOS_READ(RTC_SECONDS)); | 49 | } while (sec != CMOS_READ(RTC_SECONDS)); |
50 | 50 | ||
51 | if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { | 51 | if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { |
52 | BCD_TO_BIN(sec); | 52 | sec = bcd2bin(sec); |
53 | BCD_TO_BIN(min); | 53 | min = bcd2bin(min); |
54 | BCD_TO_BIN(hour); | 54 | hour = bcd2bin(hour); |
55 | BCD_TO_BIN(day); | 55 | day = bcd2bin(day); |
56 | BCD_TO_BIN(mon); | 56 | mon = bcd2bin(mon); |
57 | BCD_TO_BIN(year); | 57 | year = bcd2bin(year); |
58 | } | 58 | } |
59 | if ((year += 1900) < 1970) | 59 | if ((year += 1900) < 1970) |
60 | year += 100; | 60 | year += 100; |
@@ -76,7 +76,7 @@ static int set_isa_cmos_time(void) | |||
76 | 76 | ||
77 | cmos_minutes = CMOS_READ(RTC_MINUTES); | 77 | cmos_minutes = CMOS_READ(RTC_MINUTES); |
78 | if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) | 78 | if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) |
79 | BCD_TO_BIN(cmos_minutes); | 79 | cmos_minutes = bcd2bin(cmos_minutes); |
80 | 80 | ||
81 | /* | 81 | /* |
82 | * since we're only adjusting minutes and seconds, | 82 | * since we're only adjusting minutes and seconds, |
@@ -92,8 +92,8 @@ static int set_isa_cmos_time(void) | |||
92 | 92 | ||
93 | if (abs(real_minutes - cmos_minutes) < 30) { | 93 | if (abs(real_minutes - cmos_minutes) < 30) { |
94 | if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { | 94 | if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { |
95 | BIN_TO_BCD(real_seconds); | 95 | real_seconds = bin2bcd(real_seconds); |
96 | BIN_TO_BCD(real_minutes); | 96 | real_minutes = bin2bcd(real_minutes); |
97 | } | 97 | } |
98 | CMOS_WRITE(real_seconds,RTC_SECONDS); | 98 | CMOS_WRITE(real_seconds,RTC_SECONDS); |
99 | CMOS_WRITE(real_minutes,RTC_MINUTES); | 99 | CMOS_WRITE(real_minutes,RTC_MINUTES); |
diff --git a/arch/arm/mach-orion5x/common.h b/arch/arm/mach-orion5x/common.h index e75bd7004b94..0bd195551a27 100644 --- a/arch/arm/mach-orion5x/common.h +++ b/arch/arm/mach-orion5x/common.h | |||
@@ -41,6 +41,7 @@ struct pci_bus; | |||
41 | struct pci_sys_data; | 41 | struct pci_sys_data; |
42 | 42 | ||
43 | void orion5x_pcie_id(u32 *dev, u32 *rev); | 43 | void orion5x_pcie_id(u32 *dev, u32 *rev); |
44 | void orion5x_pci_disable(void); | ||
44 | void orion5x_pci_set_cardbus_mode(void); | 45 | void orion5x_pci_set_cardbus_mode(void); |
45 | int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); | 46 | int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); |
46 | struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); | 47 | struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); |
diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c index 1a1d84b80a65..b38c65ccfb15 100644 --- a/arch/arm/mach-orion5x/dns323-setup.c +++ b/arch/arm/mach-orion5x/dns323-setup.c | |||
@@ -245,12 +245,8 @@ static struct orion5x_mpp_mode dns323_mpp_modes[] __initdata = { | |||
245 | static struct i2c_board_info __initdata dns323_i2c_devices[] = { | 245 | static struct i2c_board_info __initdata dns323_i2c_devices[] = { |
246 | { | 246 | { |
247 | I2C_BOARD_INFO("g760a", 0x3e), | 247 | I2C_BOARD_INFO("g760a", 0x3e), |
248 | #if 0 | ||
249 | /* this entry requires the new-style driver model lm75 driver, | ||
250 | * for the meantime "insmod lm75.ko force_lm75=0,0x48" is needed */ | ||
251 | }, { | 248 | }, { |
252 | I2C_BOARD_INFO("g751", 0x48), | 249 | I2C_BOARD_INFO("lm75", 0x48), |
253 | #endif | ||
254 | }, { | 250 | }, { |
255 | I2C_BOARD_INFO("m41t80", 0x68), | 251 | I2C_BOARD_INFO("m41t80", 0x68), |
256 | }, | 252 | }, |
diff --git a/arch/arm/mach-orion5x/kurobox_pro-setup.c b/arch/arm/mach-orion5x/kurobox_pro-setup.c index cb72f1bb9cb7..e321ec331839 100644 --- a/arch/arm/mach-orion5x/kurobox_pro-setup.c +++ b/arch/arm/mach-orion5x/kurobox_pro-setup.c | |||
@@ -146,8 +146,10 @@ static struct hw_pci kurobox_pro_pci __initdata = { | |||
146 | 146 | ||
147 | static int __init kurobox_pro_pci_init(void) | 147 | static int __init kurobox_pro_pci_init(void) |
148 | { | 148 | { |
149 | if (machine_is_kurobox_pro()) | 149 | if (machine_is_kurobox_pro()) { |
150 | orion5x_pci_disable(); | ||
150 | pci_common_init(&kurobox_pro_pci); | 151 | pci_common_init(&kurobox_pro_pci); |
152 | } | ||
151 | 153 | ||
152 | return 0; | 154 | return 0; |
153 | } | 155 | } |
diff --git a/arch/arm/mach-orion5x/pci.c b/arch/arm/mach-orion5x/pci.c index fbceecc4b7ec..a7b7d77b1b09 100644 --- a/arch/arm/mach-orion5x/pci.c +++ b/arch/arm/mach-orion5x/pci.c | |||
@@ -541,6 +541,13 @@ static void __devinit rc_pci_fixup(struct pci_dev *dev) | |||
541 | } | 541 | } |
542 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL, PCI_ANY_ID, rc_pci_fixup); | 542 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL, PCI_ANY_ID, rc_pci_fixup); |
543 | 543 | ||
544 | static int orion5x_pci_disabled __initdata; | ||
545 | |||
546 | void __init orion5x_pci_disable(void) | ||
547 | { | ||
548 | orion5x_pci_disabled = 1; | ||
549 | } | ||
550 | |||
544 | void __init orion5x_pci_set_cardbus_mode(void) | 551 | void __init orion5x_pci_set_cardbus_mode(void) |
545 | { | 552 | { |
546 | orion5x_pci_cardbus_mode = 1; | 553 | orion5x_pci_cardbus_mode = 1; |
@@ -553,7 +560,7 @@ int __init orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys) | |||
553 | if (nr == 0) { | 560 | if (nr == 0) { |
554 | orion_pcie_set_local_bus_nr(PCIE_BASE, sys->busnr); | 561 | orion_pcie_set_local_bus_nr(PCIE_BASE, sys->busnr); |
555 | ret = pcie_setup(sys); | 562 | ret = pcie_setup(sys); |
556 | } else if (nr == 1) { | 563 | } else if (nr == 1 && !orion5x_pci_disabled) { |
557 | orion5x_pci_set_bus_nr(sys->busnr); | 564 | orion5x_pci_set_bus_nr(sys->busnr); |
558 | ret = pci_setup(sys); | 565 | ret = pci_setup(sys); |
559 | } | 566 | } |
@@ -567,7 +574,7 @@ struct pci_bus __init *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys | |||
567 | 574 | ||
568 | if (nr == 0) { | 575 | if (nr == 0) { |
569 | bus = pci_scan_bus(sys->busnr, &pcie_ops, sys); | 576 | bus = pci_scan_bus(sys->busnr, &pcie_ops, sys); |
570 | } else if (nr == 1) { | 577 | } else if (nr == 1 && !orion5x_pci_disabled) { |
571 | bus = pci_scan_bus(sys->busnr, &pci_ops, sys); | 578 | bus = pci_scan_bus(sys->busnr, &pci_ops, sys); |
572 | } else { | 579 | } else { |
573 | bus = NULL; | 580 | bus = NULL; |
@@ -584,7 +591,7 @@ int __init orion5x_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | |||
584 | /* | 591 | /* |
585 | * PCIe endpoint? | 592 | * PCIe endpoint? |
586 | */ | 593 | */ |
587 | if (bus < orion5x_pci_local_bus_nr()) | 594 | if (orion5x_pci_disabled || bus < orion5x_pci_local_bus_nr()) |
588 | return IRQ_ORION5X_PCIE0_INT; | 595 | return IRQ_ORION5X_PCIE0_INT; |
589 | 596 | ||
590 | return -1; | 597 | return -1; |
diff --git a/arch/arm/mach-orion5x/ts209-setup.c b/arch/arm/mach-orion5x/ts209-setup.c index dd657163cd8d..9d6890514199 100644 --- a/arch/arm/mach-orion5x/ts209-setup.c +++ b/arch/arm/mach-orion5x/ts209-setup.c | |||
@@ -287,6 +287,10 @@ static void __init qnap_ts209_init(void) | |||
287 | /* | 287 | /* |
288 | * Configure peripherals. | 288 | * Configure peripherals. |
289 | */ | 289 | */ |
290 | orion5x_setup_dev_boot_win(QNAP_TS209_NOR_BOOT_BASE, | ||
291 | QNAP_TS209_NOR_BOOT_SIZE); | ||
292 | platform_device_register(&qnap_ts209_nor_flash); | ||
293 | |||
290 | orion5x_ehci0_init(); | 294 | orion5x_ehci0_init(); |
291 | orion5x_ehci1_init(); | 295 | orion5x_ehci1_init(); |
292 | qnap_tsx09_find_mac_addr(QNAP_TS209_NOR_BOOT_BASE + | 296 | qnap_tsx09_find_mac_addr(QNAP_TS209_NOR_BOOT_BASE + |
@@ -296,12 +300,9 @@ static void __init qnap_ts209_init(void) | |||
296 | orion5x_i2c_init(); | 300 | orion5x_i2c_init(); |
297 | orion5x_sata_init(&qnap_ts209_sata_data); | 301 | orion5x_sata_init(&qnap_ts209_sata_data); |
298 | orion5x_uart0_init(); | 302 | orion5x_uart0_init(); |
303 | orion5x_uart1_init(); | ||
299 | orion5x_xor_init(); | 304 | orion5x_xor_init(); |
300 | 305 | ||
301 | orion5x_setup_dev_boot_win(QNAP_TS209_NOR_BOOT_BASE, | ||
302 | QNAP_TS209_NOR_BOOT_SIZE); | ||
303 | platform_device_register(&qnap_ts209_nor_flash); | ||
304 | |||
305 | platform_device_register(&qnap_ts209_button_device); | 306 | platform_device_register(&qnap_ts209_button_device); |
306 | 307 | ||
307 | /* Get RTC IRQ and register the chip */ | 308 | /* Get RTC IRQ and register the chip */ |
diff --git a/arch/arm/mach-orion5x/ts409-setup.c b/arch/arm/mach-orion5x/ts409-setup.c index b27d2b762081..d85588ac7ef8 100644 --- a/arch/arm/mach-orion5x/ts409-setup.c +++ b/arch/arm/mach-orion5x/ts409-setup.c | |||
@@ -278,6 +278,10 @@ static void __init qnap_ts409_init(void) | |||
278 | /* | 278 | /* |
279 | * Configure peripherals. | 279 | * Configure peripherals. |
280 | */ | 280 | */ |
281 | orion5x_setup_dev_boot_win(QNAP_TS409_NOR_BOOT_BASE, | ||
282 | QNAP_TS409_NOR_BOOT_SIZE); | ||
283 | platform_device_register(&qnap_ts409_nor_flash); | ||
284 | |||
281 | orion5x_ehci0_init(); | 285 | orion5x_ehci0_init(); |
282 | qnap_tsx09_find_mac_addr(QNAP_TS409_NOR_BOOT_BASE + | 286 | qnap_tsx09_find_mac_addr(QNAP_TS409_NOR_BOOT_BASE + |
283 | qnap_ts409_partitions[5].offset, | 287 | qnap_ts409_partitions[5].offset, |
@@ -285,10 +289,7 @@ static void __init qnap_ts409_init(void) | |||
285 | orion5x_eth_init(&qnap_tsx09_eth_data); | 289 | orion5x_eth_init(&qnap_tsx09_eth_data); |
286 | orion5x_i2c_init(); | 290 | orion5x_i2c_init(); |
287 | orion5x_uart0_init(); | 291 | orion5x_uart0_init(); |
288 | 292 | orion5x_uart1_init(); | |
289 | orion5x_setup_dev_boot_win(QNAP_TS409_NOR_BOOT_BASE, | ||
290 | QNAP_TS409_NOR_BOOT_SIZE); | ||
291 | platform_device_register(&qnap_ts409_nor_flash); | ||
292 | 293 | ||
293 | platform_device_register(&qnap_ts409_button_device); | 294 | platform_device_register(&qnap_ts409_button_device); |
294 | 295 | ||
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 123a950db466..e703a8d209e2 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-pxa/corgi.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <mach/pxa-regs.h> | 38 | #include <mach/pxa-regs.h> |
39 | #include <mach/pxa2xx-regs.h> | 39 | #include <mach/pxa2xx-regs.h> |
40 | #include <mach/pxa2xx-gpio.h> | 40 | #include <mach/pxa2xx-gpio.h> |
41 | #include <mach/i2c.h> | ||
41 | #include <mach/irda.h> | 42 | #include <mach/irda.h> |
42 | #include <mach/mmc.h> | 43 | #include <mach/mmc.h> |
43 | #include <mach/udc.h> | 44 | #include <mach/udc.h> |
@@ -532,6 +533,7 @@ static void __init corgi_init(void) | |||
532 | pxa_set_udc_info(&udc_info); | 533 | pxa_set_udc_info(&udc_info); |
533 | pxa_set_mci_info(&corgi_mci_platform_data); | 534 | pxa_set_mci_info(&corgi_mci_platform_data); |
534 | pxa_set_ficp_info(&corgi_ficp_platform_data); | 535 | pxa_set_ficp_info(&corgi_ficp_platform_data); |
536 | pxa_set_i2c_info(NULL); | ||
535 | 537 | ||
536 | platform_scoop_config = &corgi_pcmcia_config; | 538 | platform_scoop_config = &corgi_pcmcia_config; |
537 | 539 | ||
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 055ec63d768c..3f5f484549b3 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/arch/arm/mach-pxa/poodle.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <mach/pxa2xx-gpio.h> | 36 | #include <mach/pxa2xx-gpio.h> |
37 | #include <mach/mmc.h> | 37 | #include <mach/mmc.h> |
38 | #include <mach/udc.h> | 38 | #include <mach/udc.h> |
39 | #include <mach/i2c.h> | ||
39 | #include <mach/irda.h> | 40 | #include <mach/irda.h> |
40 | #include <mach/poodle.h> | 41 | #include <mach/poodle.h> |
41 | #include <mach/pxafb.h> | 42 | #include <mach/pxafb.h> |
@@ -387,6 +388,7 @@ static void __init poodle_init(void) | |||
387 | pxa_set_udc_info(&udc_info); | 388 | pxa_set_udc_info(&udc_info); |
388 | pxa_set_mci_info(&poodle_mci_platform_data); | 389 | pxa_set_mci_info(&poodle_mci_platform_data); |
389 | pxa_set_ficp_info(&poodle_ficp_platform_data); | 390 | pxa_set_ficp_info(&poodle_ficp_platform_data); |
391 | pxa_set_i2c_info(NULL); | ||
390 | 392 | ||
391 | platform_scoop_config = &poodle_pcmcia_config; | 393 | platform_scoop_config = &poodle_pcmcia_config; |
392 | 394 | ||
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index cd39005c98ff..b569f3b4cf3a 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include <mach/pxa2xx-gpio.h> | 40 | #include <mach/pxa2xx-gpio.h> |
41 | #include <mach/pxa27x-udc.h> | 41 | #include <mach/pxa27x-udc.h> |
42 | #include <mach/reset.h> | 42 | #include <mach/reset.h> |
43 | #include <mach/i2c.h> | ||
43 | #include <mach/irda.h> | 44 | #include <mach/irda.h> |
44 | #include <mach/mmc.h> | 45 | #include <mach/mmc.h> |
45 | #include <mach/ohci.h> | 46 | #include <mach/ohci.h> |
@@ -574,6 +575,7 @@ static void __init common_init(void) | |||
574 | pxa_set_ficp_info(&spitz_ficp_platform_data); | 575 | pxa_set_ficp_info(&spitz_ficp_platform_data); |
575 | set_pxa_fb_parent(&spitzssp_device.dev); | 576 | set_pxa_fb_parent(&spitzssp_device.dev); |
576 | set_pxa_fb_info(&spitz_pxafb_info); | 577 | set_pxa_fb_info(&spitz_pxafb_info); |
578 | pxa_set_i2c_info(NULL); | ||
577 | } | 579 | } |
578 | 580 | ||
579 | #if defined(CONFIG_MACH_SPITZ) || defined(CONFIG_MACH_BORZOI) | 581 | #if defined(CONFIG_MACH_SPITZ) || defined(CONFIG_MACH_BORZOI) |
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h b/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h index 7dd458363a51..6026d091a2fe 100644 --- a/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h +++ b/arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h | |||
@@ -48,11 +48,11 @@ | |||
48 | #define S3C2443_CLKSRC_I2S_EPLLREF3 (3<<14) | 48 | #define S3C2443_CLKSRC_I2S_EPLLREF3 (3<<14) |
49 | #define S3C2443_CLKSRC_I2S_MASK (3<<14) | 49 | #define S3C2443_CLKSRC_I2S_MASK (3<<14) |
50 | 50 | ||
51 | #define S3C2443_CLKSRC_EPLLREF_XTAL (2<<8) | 51 | #define S3C2443_CLKSRC_EPLLREF_XTAL (2<<7) |
52 | #define S3C2443_CLKSRC_EPLLREF_EXTCLK (3<<8) | 52 | #define S3C2443_CLKSRC_EPLLREF_EXTCLK (3<<7) |
53 | #define S3C2443_CLKSRC_EPLLREF_MPLLREF (0<<8) | 53 | #define S3C2443_CLKSRC_EPLLREF_MPLLREF (0<<7) |
54 | #define S3C2443_CLKSRC_EPLLREF_MPLLREF2 (1<<8) | 54 | #define S3C2443_CLKSRC_EPLLREF_MPLLREF2 (1<<7) |
55 | #define S3C2443_CLKSRC_EPLLREF_MASK (3<<8) | 55 | #define S3C2443_CLKSRC_EPLLREF_MASK (3<<7) |
56 | 56 | ||
57 | #define S3C2443_CLKSRC_ESYSCLK_EPLL (1<<6) | 57 | #define S3C2443_CLKSRC_ESYSCLK_EPLL (1<<6) |
58 | #define S3C2443_CLKSRC_MSYSCLK_MPLL (1<<4) | 58 | #define S3C2443_CLKSRC_MSYSCLK_MPLL (1<<4) |
diff --git a/arch/arm/mach-s3c2410/nor-simtec.c b/arch/arm/mach-s3c2410/nor-simtec.c index b2ae237042a5..598d130633dc 100644 --- a/arch/arm/mach-s3c2410/nor-simtec.c +++ b/arch/arm/mach-s3c2410/nor-simtec.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <mach/bast-map.h> | 30 | #include <mach/bast-map.h> |
31 | #include <mach/bast-cpld.h> | 31 | #include <mach/bast-cpld.h> |
32 | 32 | ||
33 | #include "nor-simtec.h" | ||
33 | 34 | ||
34 | static void simtec_nor_vpp(struct map_info *map, int vpp) | 35 | static void simtec_nor_vpp(struct map_info *map, int vpp) |
35 | { | 36 | { |
@@ -50,7 +51,7 @@ static void simtec_nor_vpp(struct map_info *map, int vpp) | |||
50 | local_irq_restore(flags); | 51 | local_irq_restore(flags); |
51 | } | 52 | } |
52 | 53 | ||
53 | struct physmap_flash_data simtec_nor_pdata = { | 54 | static struct physmap_flash_data simtec_nor_pdata = { |
54 | .width = 2, | 55 | .width = 2, |
55 | .set_vpp = simtec_nor_vpp, | 56 | .set_vpp = simtec_nor_vpp, |
56 | .nr_parts = 0, | 57 | .nr_parts = 0, |
diff --git a/arch/arm/mach-s3c2412/mach-jive.c b/arch/arm/mach-s3c2412/mach-jive.c index 4c061d29463c..ad980a1690c2 100644 --- a/arch/arm/mach-s3c2412/mach-jive.c +++ b/arch/arm/mach-s3c2412/mach-jive.c | |||
@@ -395,7 +395,7 @@ static void jive_lcd_spi_chipselect(struct s3c2410_spigpio_info *spi, int cs) | |||
395 | } | 395 | } |
396 | 396 | ||
397 | static struct s3c2410_spigpio_info jive_lcd_spi = { | 397 | static struct s3c2410_spigpio_info jive_lcd_spi = { |
398 | .bus_num = 0, | 398 | .bus_num = 1, |
399 | .pin_clk = S3C2410_GPG8, | 399 | .pin_clk = S3C2410_GPG8, |
400 | .pin_mosi = S3C2410_GPB8, | 400 | .pin_mosi = S3C2410_GPB8, |
401 | .chip_select = jive_lcd_spi_chipselect, | 401 | .chip_select = jive_lcd_spi_chipselect, |
diff --git a/arch/arm/plat-s3c24xx/gpiolib.c b/arch/arm/plat-s3c24xx/gpiolib.c index 849f8469714a..3caec6bad3eb 100644 --- a/arch/arm/plat-s3c24xx/gpiolib.c +++ b/arch/arm/plat-s3c24xx/gpiolib.c | |||
@@ -39,7 +39,7 @@ static inline struct s3c24xx_gpio_chip *to_s3c_chip(struct gpio_chip *gpc) | |||
39 | * drivers themsevles. | 39 | * drivers themsevles. |
40 | */ | 40 | */ |
41 | 41 | ||
42 | int s3c24xx_gpiolib_input(struct gpio_chip *chip, unsigned offset) | 42 | static int s3c24xx_gpiolib_input(struct gpio_chip *chip, unsigned offset) |
43 | { | 43 | { |
44 | struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip); | 44 | struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip); |
45 | void __iomem *base = ourchip->base; | 45 | void __iomem *base = ourchip->base; |
@@ -58,7 +58,7 @@ int s3c24xx_gpiolib_input(struct gpio_chip *chip, unsigned offset) | |||
58 | return 0; | 58 | return 0; |
59 | } | 59 | } |
60 | 60 | ||
61 | int s3c24xx_gpiolib_output(struct gpio_chip *chip, | 61 | static int s3c24xx_gpiolib_output(struct gpio_chip *chip, |
62 | unsigned offset, int value) | 62 | unsigned offset, int value) |
63 | { | 63 | { |
64 | struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip); | 64 | struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip); |
@@ -86,7 +86,8 @@ int s3c24xx_gpiolib_output(struct gpio_chip *chip, | |||
86 | return 0; | 86 | return 0; |
87 | } | 87 | } |
88 | 88 | ||
89 | void s3c24xx_gpiolib_set(struct gpio_chip *chip, unsigned offset, int value) | 89 | static void s3c24xx_gpiolib_set(struct gpio_chip *chip, |
90 | unsigned offset, int value) | ||
90 | { | 91 | { |
91 | struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip); | 92 | struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip); |
92 | void __iomem *base = ourchip->base; | 93 | void __iomem *base = ourchip->base; |
@@ -104,7 +105,7 @@ void s3c24xx_gpiolib_set(struct gpio_chip *chip, unsigned offset, int value) | |||
104 | local_irq_restore(flags); | 105 | local_irq_restore(flags); |
105 | } | 106 | } |
106 | 107 | ||
107 | int s3c24xx_gpiolib_get(struct gpio_chip *chip, unsigned offset) | 108 | static int s3c24xx_gpiolib_get(struct gpio_chip *chip, unsigned offset) |
108 | { | 109 | { |
109 | struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip); | 110 | struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip); |
110 | unsigned long val; | 111 | unsigned long val; |
@@ -150,8 +151,7 @@ static int s3c24xx_gpiolib_banka_output(struct gpio_chip *chip, | |||
150 | return 0; | 151 | return 0; |
151 | } | 152 | } |
152 | 153 | ||
153 | 154 | static struct s3c24xx_gpio_chip gpios[] = { | |
154 | struct s3c24xx_gpio_chip gpios[] = { | ||
155 | [0] = { | 155 | [0] = { |
156 | .base = S3C24XX_GPIO_BASE(S3C2410_GPA0), | 156 | .base = S3C24XX_GPIO_BASE(S3C2410_GPA0), |
157 | .chip = { | 157 | .chip = { |
diff --git a/arch/arm/plat-s3c24xx/pwm-clock.c b/arch/arm/plat-s3c24xx/pwm-clock.c index ccfdc9d7ae4b..306cc9c6f9ef 100644 --- a/arch/arm/plat-s3c24xx/pwm-clock.c +++ b/arch/arm/plat-s3c24xx/pwm-clock.c | |||
@@ -89,7 +89,7 @@ static unsigned long clk_pwm_scaler_getrate(struct clk *clk) | |||
89 | 89 | ||
90 | /* TODO - add set rate calls. */ | 90 | /* TODO - add set rate calls. */ |
91 | 91 | ||
92 | struct clk clk_timer_scaler[] = { | 92 | static struct clk clk_timer_scaler[] = { |
93 | [0] = { | 93 | [0] = { |
94 | .name = "pwm-scaler0", | 94 | .name = "pwm-scaler0", |
95 | .id = -1, | 95 | .id = -1, |
@@ -102,7 +102,7 @@ struct clk clk_timer_scaler[] = { | |||
102 | }, | 102 | }, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | struct clk clk_timer_tclk[] = { | 105 | static struct clk clk_timer_tclk[] = { |
106 | [0] = { | 106 | [0] = { |
107 | .name = "pwm-tclk0", | 107 | .name = "pwm-tclk0", |
108 | .id = -1, | 108 | .id = -1, |
@@ -232,7 +232,7 @@ static int clk_pwm_tdiv_set_rate(struct clk *clk, unsigned long rate) | |||
232 | return 0; | 232 | return 0; |
233 | } | 233 | } |
234 | 234 | ||
235 | struct pwm_tdiv_clk clk_timer_tdiv[] = { | 235 | static struct pwm_tdiv_clk clk_timer_tdiv[] = { |
236 | [0] = { | 236 | [0] = { |
237 | .clk = { | 237 | .clk = { |
238 | .name = "pwm-tdiv", | 238 | .name = "pwm-tdiv", |
diff --git a/arch/arm/plat-s3c24xx/pwm.c b/arch/arm/plat-s3c24xx/pwm.c index 18c4bdc49a05..7a92c938542a 100644 --- a/arch/arm/plat-s3c24xx/pwm.c +++ b/arch/arm/plat-s3c24xx/pwm.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | #include <linux/pwm.h> | 20 | #include <linux/pwm.h> |
21 | 21 | ||
22 | #include <asm/plat-s3c24xx/devs.h> | ||
22 | #include <asm/plat-s3c/regs-timer.h> | 23 | #include <asm/plat-s3c/regs-timer.h> |
23 | 24 | ||
24 | struct pwm_device { | 25 | struct pwm_device { |
@@ -38,7 +39,7 @@ struct pwm_device { | |||
38 | unsigned char pwm_id; | 39 | unsigned char pwm_id; |
39 | }; | 40 | }; |
40 | 41 | ||
41 | #define pwm_dbg(_pwm, msg...) dev_info(&(_pwm)->pdev->dev, msg) | 42 | #define pwm_dbg(_pwm, msg...) dev_dbg(&(_pwm)->pdev->dev, msg) |
42 | 43 | ||
43 | static struct clk *clk_scaler[2]; | 44 | static struct clk *clk_scaler[2]; |
44 | 45 | ||
@@ -168,7 +169,7 @@ void pwm_disable(struct pwm_device *pwm) | |||
168 | 169 | ||
169 | EXPORT_SYMBOL(pwm_disable); | 170 | EXPORT_SYMBOL(pwm_disable); |
170 | 171 | ||
171 | unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq) | 172 | static unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq) |
172 | { | 173 | { |
173 | unsigned long tin_parent_rate; | 174 | unsigned long tin_parent_rate; |
174 | unsigned int div; | 175 | unsigned int div; |
diff --git a/mm/vmstat.c b/mm/vmstat.c index b0d08e667ece..d7826af2fb07 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
@@ -516,9 +516,26 @@ static void pagetypeinfo_showblockcount_print(struct seq_file *m, | |||
516 | continue; | 516 | continue; |
517 | 517 | ||
518 | page = pfn_to_page(pfn); | 518 | page = pfn_to_page(pfn); |
519 | #ifdef CONFIG_ARCH_FLATMEM_HAS_HOLES | ||
520 | /* | ||
521 | * Ordinarily, memory holes in flatmem still have a valid | ||
522 | * memmap for the PFN range. However, an architecture for | ||
523 | * embedded systems (e.g. ARM) can free up the memmap backing | ||
524 | * holes to save memory on the assumption the memmap is | ||
525 | * never used. The page_zone linkages are then broken even | ||
526 | * though pfn_valid() returns true. Skip the page if the | ||
527 | * linkages are broken. Even if this test passed, the impact | ||
528 | * is that the counters for the movable type are off but | ||
529 | * fragmentation monitoring is likely meaningless on small | ||
530 | * systems. | ||
531 | */ | ||
532 | if (page_zone(page) != zone) | ||
533 | continue; | ||
534 | #endif | ||
519 | mtype = get_pageblock_migratetype(page); | 535 | mtype = get_pageblock_migratetype(page); |
520 | 536 | ||
521 | count[mtype]++; | 537 | if (mtype < MIGRATE_TYPES) |
538 | count[mtype]++; | ||
522 | } | 539 | } |
523 | 540 | ||
524 | /* Print counts */ | 541 | /* Print counts */ |