diff options
Diffstat (limited to 'arch/avr32')
| -rw-r--r-- | arch/avr32/Makefile | 21 | ||||
| -rw-r--r-- | arch/avr32/boards/atstk1000/setup.c | 9 | ||||
| -rw-r--r-- | arch/avr32/boot/images/Makefile | 4 | ||||
| -rw-r--r-- | arch/avr32/configs/atstk1002_defconfig | 253 | ||||
| -rw-r--r-- | arch/avr32/kernel/avr32_ksyms.c | 9 | ||||
| -rw-r--r-- | arch/avr32/kernel/head.S | 3 | ||||
| -rw-r--r-- | arch/avr32/kernel/kprobes.c | 2 | ||||
| -rw-r--r-- | arch/avr32/kernel/module.c | 4 | ||||
| -rw-r--r-- | arch/avr32/kernel/ptrace.c | 2 | ||||
| -rw-r--r-- | arch/avr32/kernel/syscall-stubs.S | 9 | ||||
| -rw-r--r-- | arch/avr32/kernel/syscall_table.S | 1 | ||||
| -rw-r--r-- | arch/avr32/kernel/vmlinux.lds.c | 8 | ||||
| -rw-r--r-- | arch/avr32/lib/Makefile | 1 | ||||
| -rw-r--r-- | arch/avr32/lib/findbit.S | 3 | ||||
| -rw-r--r-- | arch/avr32/lib/io-readsb.S | 49 | ||||
| -rw-r--r-- | arch/avr32/lib/io-writesb.S | 52 | ||||
| -rw-r--r-- | arch/avr32/mach-at32ap/hsmc.h | 4 | ||||
| -rw-r--r-- | arch/avr32/mach-at32ap/intc.h | 6 | ||||
| -rw-r--r-- | arch/avr32/mach-at32ap/pio.h | 6 | ||||
| -rw-r--r-- | arch/avr32/mach-at32ap/sm.h | 6 | ||||
| -rw-r--r-- | arch/avr32/mm/init.c | 2 | ||||
| -rw-r--r-- | arch/avr32/mm/ioremap.c | 2 |
22 files changed, 318 insertions, 138 deletions
diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile index cefc95a73980..7b842e98efed 100644 --- a/arch/avr32/Makefile +++ b/arch/avr32/Makefile | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | 7 | ||
| 8 | # Default target when executing plain make | 8 | # Default target when executing plain make |
| 9 | .PHONY: all | 9 | .PHONY: all |
| 10 | all: uImage vmlinux.elf linux.lst | 10 | all: uImage vmlinux.elf |
| 11 | 11 | ||
| 12 | KBUILD_DEFCONFIG := atstk1002_defconfig | 12 | KBUILD_DEFCONFIG := atstk1002_defconfig |
| 13 | 13 | ||
| @@ -21,9 +21,7 @@ cpuflags-$(CONFIG_CPU_AP7000) += -mcpu=ap7000 | |||
| 21 | CFLAGS += $(cpuflags-y) | 21 | CFLAGS += $(cpuflags-y) |
| 22 | AFLAGS += $(cpuflags-y) | 22 | AFLAGS += $(cpuflags-y) |
| 23 | 23 | ||
| 24 | CHECKFLAGS += -D__avr32__ | 24 | CHECKFLAGS += -D__avr32__ -D__BIG_ENDIAN |
| 25 | |||
| 26 | LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) | ||
| 27 | 25 | ||
| 28 | head-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/head.o | 26 | head-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/head.o |
| 29 | head-y += arch/avr32/kernel/head.o | 27 | head-y += arch/avr32/kernel/head.o |
| @@ -32,7 +30,7 @@ core-$(CONFIG_BOARD_ATSTK1000) += arch/avr32/boards/atstk1000/ | |||
| 32 | core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/ | 30 | core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/ |
| 33 | core-y += arch/avr32/kernel/ | 31 | core-y += arch/avr32/kernel/ |
| 34 | core-y += arch/avr32/mm/ | 32 | core-y += arch/avr32/mm/ |
| 35 | libs-y += arch/avr32/lib/ #$(LIBGCC) | 33 | libs-y += arch/avr32/lib/ |
| 36 | 34 | ||
| 37 | archincdir-$(CONFIG_PLATFORM_AT32AP) := arch-at32ap | 35 | archincdir-$(CONFIG_PLATFORM_AT32AP) := arch-at32ap |
| 38 | 36 | ||
| @@ -48,6 +46,8 @@ endif | |||
| 48 | 46 | ||
| 49 | archprepare: include/asm-avr32/.arch | 47 | archprepare: include/asm-avr32/.arch |
| 50 | 48 | ||
| 49 | CLEAN_FILES += include/asm-avr32/.arch include/asm-avr32/arch | ||
| 50 | |||
| 51 | BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec | 51 | BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec |
| 52 | 52 | ||
| 53 | .PHONY: $(BOOT_TARGETS) install | 53 | .PHONY: $(BOOT_TARGETS) install |
| @@ -71,14 +71,19 @@ vmlinux.elf vmlinux.bin uImage.srec uImage vmlinux.cso: vmlinux | |||
| 71 | install: vmlinux | 71 | install: vmlinux |
| 72 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) $@ | 72 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) $@ |
| 73 | 73 | ||
| 74 | linux.s: vmlinux | 74 | vmlinux.s: vmlinux |
| 75 | $(call if_changed,disasm) | 75 | $(call if_changed,disasm) |
| 76 | 76 | ||
| 77 | linux.lst: vmlinux | 77 | vmlinux.lst: vmlinux |
| 78 | $(call if_changed,listing) | 78 | $(call if_changed,listing) |
| 79 | 79 | ||
| 80 | CLEAN_FILES += vmlinux.s vmlinux.lst | ||
| 81 | |||
| 82 | archclean: | ||
| 83 | $(Q)$(MAKE) $(clean)=$(boot) | ||
| 84 | |||
| 80 | define archhelp | 85 | define archhelp |
| 81 | @echo '* vmlinux.elf - ELF image with load address 0' | 86 | @echo '* vmlinux.elf - ELF image with load address 0' |
| 82 | @echo ' vmlinux.cso - PathFinder CSO image' | 87 | @echo ' vmlinux.cso - PathFinder CSO image' |
| 83 | @echo ' uImage - Create a bootable image for U-Boot' | 88 | @echo '* uImage - Create a bootable image for U-Boot' |
| 84 | endef | 89 | endef |
diff --git a/arch/avr32/boards/atstk1000/setup.c b/arch/avr32/boards/atstk1000/setup.c index 191ab85de9a3..272c011802a7 100644 --- a/arch/avr32/boards/atstk1000/setup.c +++ b/arch/avr32/boards/atstk1000/setup.c | |||
| @@ -21,15 +21,6 @@ struct tag *bootloader_tags __initdata; | |||
| 21 | 21 | ||
| 22 | struct lcdc_platform_data __initdata atstk1000_fb0_data; | 22 | struct lcdc_platform_data __initdata atstk1000_fb0_data; |
| 23 | 23 | ||
| 24 | asmlinkage void __init board_early_init(void) | ||
| 25 | { | ||
| 26 | extern void sdram_init(void); | ||
| 27 | |||
| 28 | #ifdef CONFIG_LOADER_STANDALONE | ||
| 29 | sdram_init(); | ||
| 30 | #endif | ||
| 31 | } | ||
| 32 | |||
| 33 | void __init board_setup_fbmem(unsigned long fbmem_start, | 24 | void __init board_setup_fbmem(unsigned long fbmem_start, |
| 34 | unsigned long fbmem_size) | 25 | unsigned long fbmem_size) |
| 35 | { | 26 | { |
diff --git a/arch/avr32/boot/images/Makefile b/arch/avr32/boot/images/Makefile index ccd74eeecec3..219720a47bf9 100644 --- a/arch/avr32/boot/images/Makefile +++ b/arch/avr32/boot/images/Makefile | |||
| @@ -37,14 +37,12 @@ OBJCOPYFLAGS_vmlinux.elf := --change-section-lma .text-0x80000000 \ | |||
| 37 | --change-section-lma .data-0x80000000 \ | 37 | --change-section-lma .data-0x80000000 \ |
| 38 | --change-section-lma .init-0x80000000 \ | 38 | --change-section-lma .init-0x80000000 \ |
| 39 | --change-section-lma .bss-0x80000000 \ | 39 | --change-section-lma .bss-0x80000000 \ |
| 40 | --change-section-lma .initrd-0x80000000 \ | ||
| 41 | --change-section-lma __param-0x80000000 \ | 40 | --change-section-lma __param-0x80000000 \ |
| 42 | --change-section-lma __ksymtab-0x80000000 \ | 41 | --change-section-lma __ksymtab-0x80000000 \ |
| 43 | --change-section-lma __ksymtab_gpl-0x80000000 \ | 42 | --change-section-lma __ksymtab_gpl-0x80000000 \ |
| 44 | --change-section-lma __kcrctab-0x80000000 \ | 43 | --change-section-lma __kcrctab-0x80000000 \ |
| 45 | --change-section-lma __kcrctab_gpl-0x80000000 \ | 44 | --change-section-lma __kcrctab_gpl-0x80000000 \ |
| 46 | --change-section-lma __ksymtab_strings-0x80000000 \ | 45 | --change-section-lma __ksymtab_strings-0x80000000 \ |
| 47 | --change-section-lma .got-0x80000000 \ | ||
| 48 | --set-start 0xa0000000 | 46 | --set-start 0xa0000000 |
| 49 | $(obj)/vmlinux.elf: vmlinux FORCE | 47 | $(obj)/vmlinux.elf: vmlinux FORCE |
| 50 | $(call if_changed,objcopy) | 48 | $(call if_changed,objcopy) |
| @@ -59,4 +57,4 @@ install: $(BOOTIMAGE) | |||
| 59 | sh $(srctree)/install-kernel.sh $< | 57 | sh $(srctree)/install-kernel.sh $< |
| 60 | 58 | ||
| 61 | # Generated files to be removed upon make clean | 59 | # Generated files to be removed upon make clean |
| 62 | clean-files := vmlinux* uImage uImage.srec | 60 | clean-files := vmlinux.elf vmlinux.bin vmlinux.gz uImage uImage.srec |
diff --git a/arch/avr32/configs/atstk1002_defconfig b/arch/avr32/configs/atstk1002_defconfig index 6c2c5e00dfc7..ae92a14ef9a0 100644 --- a/arch/avr32/configs/atstk1002_defconfig +++ b/arch/avr32/configs/atstk1002_defconfig | |||
| @@ -1,13 +1,14 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.18-rc1 | 3 | # Linux kernel version: 2.6.19-rc2 |
| 4 | # Tue Jul 11 12:41:36 2006 | 4 | # Fri Oct 20 11:52:37 2006 |
| 5 | # | 5 | # |
| 6 | CONFIG_AVR32=y | 6 | CONFIG_AVR32=y |
| 7 | CONFIG_GENERIC_HARDIRQS=y | 7 | CONFIG_GENERIC_HARDIRQS=y |
| 8 | CONFIG_HARDIRQS_SW_RESEND=y | 8 | CONFIG_HARDIRQS_SW_RESEND=y |
| 9 | CONFIG_GENERIC_IRQ_PROBE=y | 9 | CONFIG_GENERIC_IRQ_PROBE=y |
| 10 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 10 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
| 11 | CONFIG_GENERIC_TIME=y | ||
| 11 | CONFIG_GENERIC_HWEIGHT=y | 12 | CONFIG_GENERIC_HWEIGHT=y |
| 12 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 13 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
| 13 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 14 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| @@ -25,16 +26,23 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 | |||
| 25 | CONFIG_LOCALVERSION="" | 26 | CONFIG_LOCALVERSION="" |
| 26 | # CONFIG_LOCALVERSION_AUTO is not set | 27 | # CONFIG_LOCALVERSION_AUTO is not set |
| 27 | CONFIG_SWAP=y | 28 | CONFIG_SWAP=y |
| 28 | # CONFIG_SYSVIPC is not set | 29 | CONFIG_SYSVIPC=y |
| 29 | # CONFIG_POSIX_MQUEUE is not set | 30 | # CONFIG_IPC_NS is not set |
| 30 | # CONFIG_BSD_PROCESS_ACCT is not set | 31 | CONFIG_POSIX_MQUEUE=y |
| 31 | CONFIG_SYSCTL=y | 32 | CONFIG_BSD_PROCESS_ACCT=y |
| 32 | # CONFIG_AUDIT is not set | 33 | CONFIG_BSD_PROCESS_ACCT_V3=y |
| 34 | CONFIG_TASKSTATS=y | ||
| 35 | CONFIG_TASK_DELAY_ACCT=y | ||
| 36 | # CONFIG_UTS_NS is not set | ||
| 37 | CONFIG_AUDIT=y | ||
| 33 | # CONFIG_IKCONFIG is not set | 38 | # CONFIG_IKCONFIG is not set |
| 34 | # CONFIG_RELAY is not set | 39 | CONFIG_RELAY=y |
| 35 | CONFIG_INITRAMFS_SOURCE="" | 40 | CONFIG_INITRAMFS_SOURCE="" |
| 36 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 41 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
| 42 | # CONFIG_TASK_XACCT is not set | ||
| 43 | CONFIG_SYSCTL=y | ||
| 37 | CONFIG_EMBEDDED=y | 44 | CONFIG_EMBEDDED=y |
| 45 | # CONFIG_SYSCTL_SYSCALL is not set | ||
| 38 | CONFIG_KALLSYMS=y | 46 | CONFIG_KALLSYMS=y |
| 39 | # CONFIG_KALLSYMS_ALL is not set | 47 | # CONFIG_KALLSYMS_ALL is not set |
| 40 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 48 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
| @@ -43,14 +51,15 @@ CONFIG_PRINTK=y | |||
| 43 | CONFIG_BUG=y | 51 | CONFIG_BUG=y |
| 44 | CONFIG_ELF_CORE=y | 52 | CONFIG_ELF_CORE=y |
| 45 | # CONFIG_BASE_FULL is not set | 53 | # CONFIG_BASE_FULL is not set |
| 46 | # CONFIG_FUTEX is not set | 54 | CONFIG_FUTEX=y |
| 47 | # CONFIG_EPOLL is not set | 55 | CONFIG_EPOLL=y |
| 48 | CONFIG_SHMEM=y | 56 | CONFIG_SHMEM=y |
| 49 | # CONFIG_SLAB is not set | 57 | CONFIG_SLAB=y |
| 50 | # CONFIG_VM_EVENT_COUNTERS is not set | 58 | CONFIG_VM_EVENT_COUNTERS=y |
| 59 | CONFIG_RT_MUTEXES=y | ||
| 51 | # CONFIG_TINY_SHMEM is not set | 60 | # CONFIG_TINY_SHMEM is not set |
| 52 | CONFIG_BASE_SMALL=1 | 61 | CONFIG_BASE_SMALL=1 |
| 53 | CONFIG_SLOB=y | 62 | # CONFIG_SLOB is not set |
| 54 | 63 | ||
| 55 | # | 64 | # |
| 56 | # Loadable module support | 65 | # Loadable module support |
| @@ -65,6 +74,7 @@ CONFIG_MODULE_UNLOAD=y | |||
| 65 | # | 74 | # |
| 66 | # Block layer | 75 | # Block layer |
| 67 | # | 76 | # |
| 77 | CONFIG_BLOCK=y | ||
| 68 | # CONFIG_BLK_DEV_IO_TRACE is not set | 78 | # CONFIG_BLK_DEV_IO_TRACE is not set |
| 69 | 79 | ||
| 70 | # | 80 | # |
| @@ -166,10 +176,12 @@ CONFIG_IP_PNP_DHCP=y | |||
| 166 | # CONFIG_INET_TUNNEL is not set | 176 | # CONFIG_INET_TUNNEL is not set |
| 167 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | 177 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set |
| 168 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | 178 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set |
| 179 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
| 169 | CONFIG_INET_DIAG=y | 180 | CONFIG_INET_DIAG=y |
| 170 | CONFIG_INET_TCP_DIAG=y | 181 | CONFIG_INET_TCP_DIAG=y |
| 171 | # CONFIG_TCP_CONG_ADVANCED is not set | 182 | # CONFIG_TCP_CONG_ADVANCED is not set |
| 172 | CONFIG_TCP_CONG_BIC=y | 183 | CONFIG_TCP_CONG_CUBIC=y |
| 184 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
| 173 | # CONFIG_IPV6 is not set | 185 | # CONFIG_IPV6 is not set |
| 174 | # CONFIG_INET6_XFRM_TUNNEL is not set | 186 | # CONFIG_INET6_XFRM_TUNNEL is not set |
| 175 | # CONFIG_INET6_TUNNEL is not set | 187 | # CONFIG_INET6_TUNNEL is not set |
| @@ -199,7 +211,6 @@ CONFIG_TCP_CONG_BIC=y | |||
| 199 | # CONFIG_ATALK is not set | 211 | # CONFIG_ATALK is not set |
| 200 | # CONFIG_X25 is not set | 212 | # CONFIG_X25 is not set |
| 201 | # CONFIG_LAPB is not set | 213 | # CONFIG_LAPB is not set |
| 202 | # CONFIG_NET_DIVERT is not set | ||
| 203 | # CONFIG_ECONET is not set | 214 | # CONFIG_ECONET is not set |
| 204 | # CONFIG_WAN_ROUTER is not set | 215 | # CONFIG_WAN_ROUTER is not set |
| 205 | 216 | ||
| @@ -212,7 +223,6 @@ CONFIG_TCP_CONG_BIC=y | |||
| 212 | # Network testing | 223 | # Network testing |
| 213 | # | 224 | # |
| 214 | # CONFIG_NET_PKTGEN is not set | 225 | # CONFIG_NET_PKTGEN is not set |
| 215 | # CONFIG_NET_TCPPROBE is not set | ||
| 216 | # CONFIG_HAMRADIO is not set | 226 | # CONFIG_HAMRADIO is not set |
| 217 | # CONFIG_IRDA is not set | 227 | # CONFIG_IRDA is not set |
| 218 | # CONFIG_BT is not set | 228 | # CONFIG_BT is not set |
| @@ -239,7 +249,84 @@ CONFIG_STANDALONE=y | |||
| 239 | # | 249 | # |
| 240 | # Memory Technology Devices (MTD) | 250 | # Memory Technology Devices (MTD) |
| 241 | # | 251 | # |
| 242 | # CONFIG_MTD is not set | 252 | CONFIG_MTD=y |
| 253 | # CONFIG_MTD_DEBUG is not set | ||
| 254 | # CONFIG_MTD_CONCAT is not set | ||
| 255 | CONFIG_MTD_PARTITIONS=y | ||
| 256 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
| 257 | CONFIG_MTD_CMDLINE_PARTS=y | ||
| 258 | |||
| 259 | # | ||
| 260 | # User Modules And Translation Layers | ||
| 261 | # | ||
| 262 | CONFIG_MTD_CHAR=y | ||
| 263 | CONFIG_MTD_BLOCK=y | ||
| 264 | # CONFIG_FTL is not set | ||
| 265 | # CONFIG_NFTL is not set | ||
| 266 | # CONFIG_INFTL is not set | ||
| 267 | # CONFIG_RFD_FTL is not set | ||
| 268 | # CONFIG_SSFDC is not set | ||
| 269 | |||
| 270 | # | ||
| 271 | # RAM/ROM/Flash chip drivers | ||
| 272 | # | ||
| 273 | CONFIG_MTD_CFI=y | ||
| 274 | # CONFIG_MTD_JEDECPROBE is not set | ||
| 275 | CONFIG_MTD_GEN_PROBE=y | ||
| 276 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
| 277 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
| 278 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
| 279 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
| 280 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
| 281 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
| 282 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
| 283 | CONFIG_MTD_CFI_I1=y | ||
| 284 | CONFIG_MTD_CFI_I2=y | ||
| 285 | # CONFIG_MTD_CFI_I4 is not set | ||
| 286 | # CONFIG_MTD_CFI_I8 is not set | ||
| 287 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
| 288 | CONFIG_MTD_CFI_AMDSTD=y | ||
| 289 | # CONFIG_MTD_CFI_STAA is not set | ||
| 290 | CONFIG_MTD_CFI_UTIL=y | ||
| 291 | # CONFIG_MTD_RAM is not set | ||
| 292 | # CONFIG_MTD_ROM is not set | ||
| 293 | # CONFIG_MTD_ABSENT is not set | ||
| 294 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
| 295 | |||
| 296 | # | ||
| 297 | # Mapping drivers for chip access | ||
| 298 | # | ||
| 299 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
| 300 | CONFIG_MTD_PHYSMAP=y | ||
| 301 | CONFIG_MTD_PHYSMAP_START=0x8000000 | ||
| 302 | CONFIG_MTD_PHYSMAP_LEN=0x0 | ||
| 303 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
| 304 | # CONFIG_MTD_PLATRAM is not set | ||
| 305 | |||
| 306 | # | ||
| 307 | # Self-contained MTD device drivers | ||
| 308 | # | ||
| 309 | # CONFIG_MTD_SLRAM is not set | ||
| 310 | # CONFIG_MTD_PHRAM is not set | ||
| 311 | # CONFIG_MTD_MTDRAM is not set | ||
| 312 | # CONFIG_MTD_BLOCK2MTD is not set | ||
| 313 | |||
| 314 | # | ||
| 315 | # Disk-On-Chip Device Drivers | ||
| 316 | # | ||
| 317 | # CONFIG_MTD_DOC2000 is not set | ||
| 318 | # CONFIG_MTD_DOC2001 is not set | ||
| 319 | # CONFIG_MTD_DOC2001PLUS is not set | ||
| 320 | |||
| 321 | # | ||
| 322 | # NAND Flash Device Drivers | ||
| 323 | # | ||
| 324 | # CONFIG_MTD_NAND is not set | ||
| 325 | |||
| 326 | # | ||
| 327 | # OneNAND Flash Device Drivers | ||
| 328 | # | ||
| 329 | # CONFIG_MTD_ONENAND is not set | ||
| 243 | 330 | ||
| 244 | # | 331 | # |
| 245 | # Parallel port support | 332 | # Parallel port support |
| @@ -260,11 +347,18 @@ CONFIG_BLK_DEV_NBD=m | |||
| 260 | CONFIG_BLK_DEV_RAM=m | 347 | CONFIG_BLK_DEV_RAM=m |
| 261 | CONFIG_BLK_DEV_RAM_COUNT=16 | 348 | CONFIG_BLK_DEV_RAM_COUNT=16 |
| 262 | CONFIG_BLK_DEV_RAM_SIZE=4096 | 349 | CONFIG_BLK_DEV_RAM_SIZE=4096 |
| 350 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
| 263 | CONFIG_BLK_DEV_INITRD=y | 351 | CONFIG_BLK_DEV_INITRD=y |
| 264 | # CONFIG_CDROM_PKTCDVD is not set | 352 | # CONFIG_CDROM_PKTCDVD is not set |
| 265 | # CONFIG_ATA_OVER_ETH is not set | 353 | # CONFIG_ATA_OVER_ETH is not set |
| 266 | 354 | ||
| 267 | # | 355 | # |
| 356 | # Misc devices | ||
| 357 | # | ||
| 358 | # CONFIG_SGI_IOC4 is not set | ||
| 359 | # CONFIG_TIFM_CORE is not set | ||
| 360 | |||
| 361 | # | ||
| 268 | # ATA/ATAPI/MFM/RLL support | 362 | # ATA/ATAPI/MFM/RLL support |
| 269 | # | 363 | # |
| 270 | # CONFIG_IDE is not set | 364 | # CONFIG_IDE is not set |
| @@ -274,6 +368,12 @@ CONFIG_BLK_DEV_INITRD=y | |||
| 274 | # | 368 | # |
| 275 | # CONFIG_RAID_ATTRS is not set | 369 | # CONFIG_RAID_ATTRS is not set |
| 276 | # CONFIG_SCSI is not set | 370 | # CONFIG_SCSI is not set |
| 371 | # CONFIG_SCSI_NETLINK is not set | ||
| 372 | |||
| 373 | # | ||
| 374 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
| 375 | # | ||
| 376 | # CONFIG_ATA is not set | ||
| 277 | 377 | ||
| 278 | # | 378 | # |
| 279 | # Multi-device support (RAID and LVM) | 379 | # Multi-device support (RAID and LVM) |
| @@ -305,14 +405,11 @@ CONFIG_TUN=m | |||
| 305 | # | 405 | # |
| 306 | # PHY device support | 406 | # PHY device support |
| 307 | # | 407 | # |
| 308 | # CONFIG_PHYLIB is not set | ||
| 309 | 408 | ||
| 310 | # | 409 | # |
| 311 | # Ethernet (10 or 100Mbit) | 410 | # Ethernet (10 or 100Mbit) |
| 312 | # | 411 | # |
| 313 | CONFIG_NET_ETHERNET=y | 412 | # CONFIG_NET_ETHERNET is not set |
| 314 | CONFIG_MII=y | ||
| 315 | CONFIG_MACB=y | ||
| 316 | 413 | ||
| 317 | # | 414 | # |
| 318 | # Ethernet (1000 Mbit) | 415 | # Ethernet (1000 Mbit) |
| @@ -341,10 +438,11 @@ CONFIG_PPP=m | |||
| 341 | CONFIG_PPP_ASYNC=m | 438 | CONFIG_PPP_ASYNC=m |
| 342 | # CONFIG_PPP_SYNC_TTY is not set | 439 | # CONFIG_PPP_SYNC_TTY is not set |
| 343 | CONFIG_PPP_DEFLATE=m | 440 | CONFIG_PPP_DEFLATE=m |
| 344 | # CONFIG_PPP_BSDCOMP is not set | 441 | CONFIG_PPP_BSDCOMP=m |
| 345 | # CONFIG_PPP_MPPE is not set | 442 | # CONFIG_PPP_MPPE is not set |
| 346 | # CONFIG_PPPOE is not set | 443 | # CONFIG_PPPOE is not set |
| 347 | # CONFIG_SLIP is not set | 444 | # CONFIG_SLIP is not set |
| 445 | CONFIG_SLHC=m | ||
| 348 | # CONFIG_SHAPER is not set | 446 | # CONFIG_SHAPER is not set |
| 349 | # CONFIG_NETCONSOLE is not set | 447 | # CONFIG_NETCONSOLE is not set |
| 350 | # CONFIG_NETPOLL is not set | 448 | # CONFIG_NETPOLL is not set |
| @@ -417,7 +515,6 @@ CONFIG_UNIX98_PTYS=y | |||
| 417 | # TPM devices | 515 | # TPM devices |
| 418 | # | 516 | # |
| 419 | # CONFIG_TCG_TPM is not set | 517 | # CONFIG_TCG_TPM is not set |
| 420 | # CONFIG_TELCLOCK is not set | ||
| 421 | 518 | ||
| 422 | # | 519 | # |
| 423 | # I2C support | 520 | # I2C support |
| @@ -427,23 +524,13 @@ CONFIG_UNIX98_PTYS=y | |||
| 427 | # | 524 | # |
| 428 | # SPI support | 525 | # SPI support |
| 429 | # | 526 | # |
| 430 | CONFIG_SPI=y | 527 | # CONFIG_SPI is not set |
| 431 | # CONFIG_SPI_DEBUG is not set | 528 | # CONFIG_SPI_MASTER is not set |
| 432 | CONFIG_SPI_MASTER=y | ||
| 433 | |||
| 434 | # | ||
| 435 | # SPI Master Controller Drivers | ||
| 436 | # | ||
| 437 | CONFIG_SPI_ATMEL=m | ||
| 438 | # CONFIG_SPI_BITBANG is not set | ||
| 439 | |||
| 440 | # | ||
| 441 | # SPI Protocol Masters | ||
| 442 | # | ||
| 443 | 529 | ||
| 444 | # | 530 | # |
| 445 | # Dallas's 1-wire bus | 531 | # Dallas's 1-wire bus |
| 446 | # | 532 | # |
| 533 | # CONFIG_W1 is not set | ||
| 447 | 534 | ||
| 448 | # | 535 | # |
| 449 | # Hardware Monitoring support | 536 | # Hardware Monitoring support |
| @@ -452,14 +539,9 @@ CONFIG_SPI_ATMEL=m | |||
| 452 | # CONFIG_HWMON_VID is not set | 539 | # CONFIG_HWMON_VID is not set |
| 453 | 540 | ||
| 454 | # | 541 | # |
| 455 | # Misc devices | ||
| 456 | # | ||
| 457 | |||
| 458 | # | ||
| 459 | # Multimedia devices | 542 | # Multimedia devices |
| 460 | # | 543 | # |
| 461 | # CONFIG_VIDEO_DEV is not set | 544 | # CONFIG_VIDEO_DEV is not set |
| 462 | CONFIG_VIDEO_V4L2=y | ||
| 463 | 545 | ||
| 464 | # | 546 | # |
| 465 | # Digital Video Broadcasting Devices | 547 | # Digital Video Broadcasting Devices |
| @@ -470,28 +552,8 @@ CONFIG_VIDEO_V4L2=y | |||
| 470 | # Graphics support | 552 | # Graphics support |
| 471 | # | 553 | # |
| 472 | # CONFIG_FIRMWARE_EDID is not set | 554 | # CONFIG_FIRMWARE_EDID is not set |
| 473 | CONFIG_FB=m | 555 | # CONFIG_FB is not set |
| 474 | CONFIG_FB_CFB_FILLRECT=m | 556 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
| 475 | CONFIG_FB_CFB_COPYAREA=m | ||
| 476 | CONFIG_FB_CFB_IMAGEBLIT=m | ||
| 477 | # CONFIG_FB_MACMODES is not set | ||
| 478 | # CONFIG_FB_BACKLIGHT is not set | ||
| 479 | # CONFIG_FB_MODE_HELPERS is not set | ||
| 480 | # CONFIG_FB_TILEBLITTING is not set | ||
| 481 | CONFIG_FB_SIDSA=m | ||
| 482 | CONFIG_FB_SIDSA_DEFAULT_BPP=24 | ||
| 483 | # CONFIG_FB_S1D13XXX is not set | ||
| 484 | # CONFIG_FB_VIRTUAL is not set | ||
| 485 | |||
| 486 | # | ||
| 487 | # Logo configuration | ||
| 488 | # | ||
| 489 | # CONFIG_LOGO is not set | ||
| 490 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
| 491 | # CONFIG_BACKLIGHT_CLASS_DEVICE is not set | ||
| 492 | CONFIG_LCD_CLASS_DEVICE=m | ||
| 493 | CONFIG_LCD_DEVICE=y | ||
| 494 | CONFIG_LCD_LTV350QV=m | ||
| 495 | 557 | ||
| 496 | # | 558 | # |
| 497 | # Sound | 559 | # Sound |
| @@ -561,18 +623,21 @@ CONFIG_LCD_LTV350QV=m | |||
| 561 | # | 623 | # |
| 562 | # File systems | 624 | # File systems |
| 563 | # | 625 | # |
| 564 | CONFIG_EXT2_FS=y | 626 | CONFIG_EXT2_FS=m |
| 565 | # CONFIG_EXT2_FS_XATTR is not set | 627 | # CONFIG_EXT2_FS_XATTR is not set |
| 566 | # CONFIG_EXT2_FS_XIP is not set | 628 | # CONFIG_EXT2_FS_XIP is not set |
| 567 | # CONFIG_EXT3_FS is not set | 629 | # CONFIG_EXT3_FS is not set |
| 630 | # CONFIG_EXT4DEV_FS is not set | ||
| 568 | # CONFIG_REISERFS_FS is not set | 631 | # CONFIG_REISERFS_FS is not set |
| 569 | # CONFIG_JFS_FS is not set | 632 | # CONFIG_JFS_FS is not set |
| 570 | # CONFIG_FS_POSIX_ACL is not set | 633 | # CONFIG_FS_POSIX_ACL is not set |
| 571 | # CONFIG_XFS_FS is not set | 634 | # CONFIG_XFS_FS is not set |
| 635 | # CONFIG_GFS2_FS is not set | ||
| 572 | # CONFIG_OCFS2_FS is not set | 636 | # CONFIG_OCFS2_FS is not set |
| 573 | CONFIG_MINIX_FS=m | 637 | CONFIG_MINIX_FS=m |
| 574 | CONFIG_ROMFS_FS=m | 638 | # CONFIG_ROMFS_FS is not set |
| 575 | # CONFIG_INOTIFY is not set | 639 | CONFIG_INOTIFY=y |
| 640 | CONFIG_INOTIFY_USER=y | ||
| 576 | # CONFIG_QUOTA is not set | 641 | # CONFIG_QUOTA is not set |
| 577 | # CONFIG_DNOTIFY is not set | 642 | # CONFIG_DNOTIFY is not set |
| 578 | # CONFIG_AUTOFS_FS is not set | 643 | # CONFIG_AUTOFS_FS is not set |
| @@ -600,8 +665,10 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | |||
| 600 | # | 665 | # |
| 601 | CONFIG_PROC_FS=y | 666 | CONFIG_PROC_FS=y |
| 602 | CONFIG_PROC_KCORE=y | 667 | CONFIG_PROC_KCORE=y |
| 668 | CONFIG_PROC_SYSCTL=y | ||
| 603 | CONFIG_SYSFS=y | 669 | CONFIG_SYSFS=y |
| 604 | CONFIG_TMPFS=y | 670 | CONFIG_TMPFS=y |
| 671 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
| 605 | # CONFIG_HUGETLB_PAGE is not set | 672 | # CONFIG_HUGETLB_PAGE is not set |
| 606 | CONFIG_RAMFS=y | 673 | CONFIG_RAMFS=y |
| 607 | CONFIG_CONFIGFS_FS=m | 674 | CONFIG_CONFIGFS_FS=m |
| @@ -616,6 +683,16 @@ CONFIG_CONFIGFS_FS=m | |||
| 616 | # CONFIG_BEFS_FS is not set | 683 | # CONFIG_BEFS_FS is not set |
| 617 | # CONFIG_BFS_FS is not set | 684 | # CONFIG_BFS_FS is not set |
| 618 | # CONFIG_EFS_FS is not set | 685 | # CONFIG_EFS_FS is not set |
| 686 | # CONFIG_JFFS_FS is not set | ||
| 687 | CONFIG_JFFS2_FS=y | ||
| 688 | CONFIG_JFFS2_FS_DEBUG=0 | ||
| 689 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
| 690 | # CONFIG_JFFS2_SUMMARY is not set | ||
| 691 | # CONFIG_JFFS2_FS_XATTR is not set | ||
| 692 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
| 693 | CONFIG_JFFS2_ZLIB=y | ||
| 694 | CONFIG_JFFS2_RTIME=y | ||
| 695 | # CONFIG_JFFS2_RUBIN is not set | ||
| 619 | # CONFIG_CRAMFS is not set | 696 | # CONFIG_CRAMFS is not set |
| 620 | # CONFIG_VXFS_FS is not set | 697 | # CONFIG_VXFS_FS is not set |
| 621 | # CONFIG_HPFS_FS is not set | 698 | # CONFIG_HPFS_FS is not set |
| @@ -626,26 +703,10 @@ CONFIG_CONFIGFS_FS=m | |||
| 626 | # | 703 | # |
| 627 | # Network File Systems | 704 | # Network File Systems |
| 628 | # | 705 | # |
| 629 | CONFIG_NFS_FS=y | 706 | # CONFIG_NFS_FS is not set |
| 630 | CONFIG_NFS_V3=y | ||
| 631 | # CONFIG_NFS_V3_ACL is not set | ||
| 632 | # CONFIG_NFS_V4 is not set | ||
| 633 | # CONFIG_NFS_DIRECTIO is not set | ||
| 634 | # CONFIG_NFSD is not set | 707 | # CONFIG_NFSD is not set |
| 635 | CONFIG_ROOT_NFS=y | ||
| 636 | CONFIG_LOCKD=y | ||
| 637 | CONFIG_LOCKD_V4=y | ||
| 638 | CONFIG_NFS_COMMON=y | ||
| 639 | CONFIG_SUNRPC=y | ||
| 640 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
| 641 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
| 642 | # CONFIG_SMB_FS is not set | 708 | # CONFIG_SMB_FS is not set |
| 643 | CONFIG_CIFS=m | 709 | # CONFIG_CIFS is not set |
| 644 | # CONFIG_CIFS_STATS is not set | ||
| 645 | # CONFIG_CIFS_WEAK_PW_HASH is not set | ||
| 646 | # CONFIG_CIFS_XATTR is not set | ||
| 647 | # CONFIG_CIFS_DEBUG2 is not set | ||
| 648 | # CONFIG_CIFS_EXPERIMENTAL is not set | ||
| 649 | # CONFIG_NCP_FS is not set | 710 | # CONFIG_NCP_FS is not set |
| 650 | # CONFIG_CODA_FS is not set | 711 | # CONFIG_CODA_FS is not set |
| 651 | # CONFIG_AFS_FS is not set | 712 | # CONFIG_AFS_FS is not set |
| @@ -665,7 +726,7 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
| 665 | CONFIG_NLS_CODEPAGE_437=m | 726 | CONFIG_NLS_CODEPAGE_437=m |
| 666 | # CONFIG_NLS_CODEPAGE_737 is not set | 727 | # CONFIG_NLS_CODEPAGE_737 is not set |
| 667 | # CONFIG_NLS_CODEPAGE_775 is not set | 728 | # CONFIG_NLS_CODEPAGE_775 is not set |
| 668 | CONFIG_NLS_CODEPAGE_850=m | 729 | # CONFIG_NLS_CODEPAGE_850 is not set |
| 669 | # CONFIG_NLS_CODEPAGE_852 is not set | 730 | # CONFIG_NLS_CODEPAGE_852 is not set |
| 670 | # CONFIG_NLS_CODEPAGE_855 is not set | 731 | # CONFIG_NLS_CODEPAGE_855 is not set |
| 671 | # CONFIG_NLS_CODEPAGE_857 is not set | 732 | # CONFIG_NLS_CODEPAGE_857 is not set |
| @@ -705,13 +766,17 @@ CONFIG_NLS_UTF8=m | |||
| 705 | # Kernel hacking | 766 | # Kernel hacking |
| 706 | # | 767 | # |
| 707 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | 768 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y |
| 708 | CONFIG_PRINTK_TIME=y | 769 | # CONFIG_PRINTK_TIME is not set |
| 770 | CONFIG_ENABLE_MUST_CHECK=y | ||
| 709 | CONFIG_MAGIC_SYSRQ=y | 771 | CONFIG_MAGIC_SYSRQ=y |
| 710 | # CONFIG_UNUSED_SYMBOLS is not set | 772 | # CONFIG_UNUSED_SYMBOLS is not set |
| 711 | CONFIG_DEBUG_KERNEL=y | 773 | CONFIG_DEBUG_KERNEL=y |
| 712 | CONFIG_LOG_BUF_SHIFT=14 | 774 | CONFIG_LOG_BUF_SHIFT=14 |
| 713 | CONFIG_DETECT_SOFTLOCKUP=y | 775 | CONFIG_DETECT_SOFTLOCKUP=y |
| 714 | # CONFIG_SCHEDSTATS is not set | 776 | # CONFIG_SCHEDSTATS is not set |
| 777 | # CONFIG_DEBUG_SLAB is not set | ||
| 778 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
| 779 | # CONFIG_RT_MUTEX_TESTER is not set | ||
| 715 | # CONFIG_DEBUG_SPINLOCK is not set | 780 | # CONFIG_DEBUG_SPINLOCK is not set |
| 716 | # CONFIG_DEBUG_MUTEXES is not set | 781 | # CONFIG_DEBUG_MUTEXES is not set |
| 717 | # CONFIG_DEBUG_RWSEMS is not set | 782 | # CONFIG_DEBUG_RWSEMS is not set |
| @@ -722,11 +787,13 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
| 722 | # CONFIG_DEBUG_INFO is not set | 787 | # CONFIG_DEBUG_INFO is not set |
| 723 | CONFIG_DEBUG_FS=y | 788 | CONFIG_DEBUG_FS=y |
| 724 | # CONFIG_DEBUG_VM is not set | 789 | # CONFIG_DEBUG_VM is not set |
| 790 | # CONFIG_DEBUG_LIST is not set | ||
| 725 | CONFIG_FRAME_POINTER=y | 791 | CONFIG_FRAME_POINTER=y |
| 726 | # CONFIG_UNWIND_INFO is not set | 792 | # CONFIG_UNWIND_INFO is not set |
| 727 | CONFIG_FORCED_INLINING=y | 793 | CONFIG_FORCED_INLINING=y |
| 794 | # CONFIG_HEADERS_CHECK is not set | ||
| 728 | # CONFIG_RCU_TORTURE_TEST is not set | 795 | # CONFIG_RCU_TORTURE_TEST is not set |
| 729 | CONFIG_KPROBES=y | 796 | # CONFIG_KPROBES is not set |
| 730 | 797 | ||
| 731 | # | 798 | # |
| 732 | # Security options | 799 | # Security options |
| @@ -740,15 +807,13 @@ CONFIG_KPROBES=y | |||
| 740 | # CONFIG_CRYPTO is not set | 807 | # CONFIG_CRYPTO is not set |
| 741 | 808 | ||
| 742 | # | 809 | # |
| 743 | # Hardware crypto devices | ||
| 744 | # | ||
| 745 | |||
| 746 | # | ||
| 747 | # Library routines | 810 | # Library routines |
| 748 | # | 811 | # |
| 749 | CONFIG_CRC_CCITT=m | 812 | CONFIG_CRC_CCITT=m |
| 750 | # CONFIG_CRC16 is not set | 813 | # CONFIG_CRC16 is not set |
| 751 | CONFIG_CRC32=m | 814 | CONFIG_CRC32=y |
| 752 | # CONFIG_LIBCRC32C is not set | 815 | # CONFIG_LIBCRC32C is not set |
| 753 | CONFIG_ZLIB_INFLATE=m | 816 | CONFIG_AUDIT_GENERIC=y |
| 754 | CONFIG_ZLIB_DEFLATE=m | 817 | CONFIG_ZLIB_INFLATE=y |
| 818 | CONFIG_ZLIB_DEFLATE=y | ||
| 819 | CONFIG_PLIST=y | ||
diff --git a/arch/avr32/kernel/avr32_ksyms.c b/arch/avr32/kernel/avr32_ksyms.c index 04f767a272b7..372e3f8b2417 100644 --- a/arch/avr32/kernel/avr32_ksyms.c +++ b/arch/avr32/kernel/avr32_ksyms.c | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
| 9 | */ | 9 | */ |
| 10 | #include <linux/io.h> | ||
| 10 | #include <linux/module.h> | 11 | #include <linux/module.h> |
| 11 | 12 | ||
| 12 | #include <asm/checksum.h> | 13 | #include <asm/checksum.h> |
| @@ -53,3 +54,11 @@ EXPORT_SYMBOL(find_next_zero_bit); | |||
| 53 | EXPORT_SYMBOL(find_first_bit); | 54 | EXPORT_SYMBOL(find_first_bit); |
| 54 | EXPORT_SYMBOL(find_next_bit); | 55 | EXPORT_SYMBOL(find_next_bit); |
| 55 | EXPORT_SYMBOL(generic_find_next_zero_le_bit); | 56 | EXPORT_SYMBOL(generic_find_next_zero_le_bit); |
| 57 | |||
| 58 | /* I/O primitives (lib/io-*.S) */ | ||
| 59 | EXPORT_SYMBOL(__raw_readsb); | ||
| 60 | EXPORT_SYMBOL(__raw_readsw); | ||
| 61 | EXPORT_SYMBOL(__raw_readsl); | ||
| 62 | EXPORT_SYMBOL(__raw_writesb); | ||
| 63 | EXPORT_SYMBOL(__raw_writesw); | ||
| 64 | EXPORT_SYMBOL(__raw_writesl); | ||
diff --git a/arch/avr32/kernel/head.S b/arch/avr32/kernel/head.S index 773b7ad87be9..6163bd0acb95 100644 --- a/arch/avr32/kernel/head.S +++ b/arch/avr32/kernel/head.S | |||
| @@ -30,9 +30,6 @@ kernel_entry: | |||
| 30 | mov r7, 0 | 30 | mov r7, 0 |
| 31 | #endif | 31 | #endif |
| 32 | 32 | ||
| 33 | /* Set up the PIO, SDRAM controller, early printk, etc. */ | ||
| 34 | rcall board_early_init | ||
| 35 | |||
| 36 | /* Start the show */ | 33 | /* Start the show */ |
| 37 | lddpc pc, kernel_start_addr | 34 | lddpc pc, kernel_start_addr |
| 38 | 35 | ||
diff --git a/arch/avr32/kernel/kprobes.c b/arch/avr32/kernel/kprobes.c index 6caf9e8d8080..ca41fc1edbe1 100644 --- a/arch/avr32/kernel/kprobes.c +++ b/arch/avr32/kernel/kprobes.c | |||
| @@ -109,7 +109,7 @@ static int __kprobes kprobe_handler(struct pt_regs *regs) | |||
| 109 | void *addr = (void *)regs->pc; | 109 | void *addr = (void *)regs->pc; |
| 110 | int ret = 0; | 110 | int ret = 0; |
| 111 | 111 | ||
| 112 | pr_debug("kprobe_handler: kprobe_running=%d\n", | 112 | pr_debug("kprobe_handler: kprobe_running=%p\n", |
| 113 | kprobe_running()); | 113 | kprobe_running()); |
| 114 | 114 | ||
| 115 | /* | 115 | /* |
diff --git a/arch/avr32/kernel/module.c b/arch/avr32/kernel/module.c index dfc32f2817b6..b599eae64576 100644 --- a/arch/avr32/kernel/module.c +++ b/arch/avr32/kernel/module.c | |||
| @@ -263,7 +263,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, | |||
| 263 | * value of PC. Just subtract the value of | 263 | * value of PC. Just subtract the value of |
| 264 | * GOT, and we're done. | 264 | * GOT, and we're done. |
| 265 | */ | 265 | */ |
| 266 | pr_debug("GOTPC: PC=0x%lx, got_offset=0x%lx, core=0x%p\n", | 266 | pr_debug("GOTPC: PC=0x%x, got_offset=0x%lx, core=0x%p\n", |
| 267 | relocation, module->arch.got_offset, | 267 | relocation, module->arch.got_offset, |
| 268 | module->module_core); | 268 | module->module_core); |
| 269 | relocation -= ((unsigned long)module->module_core | 269 | relocation -= ((unsigned long)module->module_core |
| @@ -282,7 +282,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, | |||
| 282 | && (relocation & 0xffff0000) != 0xffff0000) | 282 | && (relocation & 0xffff0000) != 0xffff0000) |
| 283 | return reloc_overflow(module, "R_AVR32_GOT16S", | 283 | return reloc_overflow(module, "R_AVR32_GOT16S", |
| 284 | relocation); | 284 | relocation); |
| 285 | pr_debug("GOT reloc @ 0x%lx -> %lu\n", | 285 | pr_debug("GOT reloc @ 0x%x -> %u\n", |
| 286 | rel->r_offset, relocation); | 286 | rel->r_offset, relocation); |
| 287 | value = *location; | 287 | value = *location; |
| 288 | value = ((value & 0xffff0000) | 288 | value = ((value & 0xffff0000) |
diff --git a/arch/avr32/kernel/ptrace.c b/arch/avr32/kernel/ptrace.c index 3c89e59029ab..f2e81cd79002 100644 --- a/arch/avr32/kernel/ptrace.c +++ b/arch/avr32/kernel/ptrace.c | |||
| @@ -157,7 +157,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
| 157 | unsigned long tmp; | 157 | unsigned long tmp; |
| 158 | int ret; | 158 | int ret; |
| 159 | 159 | ||
| 160 | pr_debug("arch_ptrace(%ld, %ld, %#lx, %#lx)\n", | 160 | pr_debug("arch_ptrace(%ld, %d, %#lx, %#lx)\n", |
| 161 | request, child->pid, addr, data); | 161 | request, child->pid, addr, data); |
| 162 | 162 | ||
| 163 | pr_debug("ptrace: Enabling monitor mode...\n"); | 163 | pr_debug("ptrace: Enabling monitor mode...\n"); |
diff --git a/arch/avr32/kernel/syscall-stubs.S b/arch/avr32/kernel/syscall-stubs.S index 7589a9b426cb..890286a1e62b 100644 --- a/arch/avr32/kernel/syscall-stubs.S +++ b/arch/avr32/kernel/syscall-stubs.S | |||
| @@ -100,3 +100,12 @@ __sys_splice: | |||
| 100 | rcall sys_splice | 100 | rcall sys_splice |
| 101 | sub sp, -4 | 101 | sub sp, -4 |
| 102 | popm pc | 102 | popm pc |
| 103 | |||
| 104 | .global __sys_epoll_pwait | ||
| 105 | .type __sys_epoll_pwait,@function | ||
| 106 | __sys_epoll_pwait: | ||
| 107 | pushm lr | ||
| 108 | st.w --sp, ARG6 | ||
| 109 | rcall sys_epoll_pwait | ||
| 110 | sub sp, -4 | ||
| 111 | popm pc | ||
diff --git a/arch/avr32/kernel/syscall_table.S b/arch/avr32/kernel/syscall_table.S index 63b206965d05..db8f8b55ffdf 100644 --- a/arch/avr32/kernel/syscall_table.S +++ b/arch/avr32/kernel/syscall_table.S | |||
| @@ -286,4 +286,5 @@ sys_call_table: | |||
| 286 | .long sys_sync_file_range | 286 | .long sys_sync_file_range |
| 287 | .long sys_tee | 287 | .long sys_tee |
| 288 | .long sys_vmsplice | 288 | .long sys_vmsplice |
| 289 | .long __sys_epoll_pwait /* 265 */ | ||
| 289 | .long sys_ni_syscall /* r8 is saturated at nr_syscalls */ | 290 | .long sys_ni_syscall /* r8 is saturated at nr_syscalls */ |
diff --git a/arch/avr32/kernel/vmlinux.lds.c b/arch/avr32/kernel/vmlinux.lds.c index cdd627c6b7dc..5c4424e362b5 100644 --- a/arch/avr32/kernel/vmlinux.lds.c +++ b/arch/avr32/kernel/vmlinux.lds.c | |||
| @@ -38,13 +38,7 @@ SECTIONS | |||
| 38 | __setup_end = .; | 38 | __setup_end = .; |
| 39 | . = ALIGN(4); | 39 | . = ALIGN(4); |
| 40 | __initcall_start = .; | 40 | __initcall_start = .; |
| 41 | *(.initcall1.init) | 41 | INITCALLS |
| 42 | *(.initcall2.init) | ||
| 43 | *(.initcall3.init) | ||
| 44 | *(.initcall4.init) | ||
| 45 | *(.initcall5.init) | ||
| 46 | *(.initcall6.init) | ||
| 47 | *(.initcall7.init) | ||
| 48 | __initcall_end = .; | 42 | __initcall_end = .; |
| 49 | __con_initcall_start = .; | 43 | __con_initcall_start = .; |
| 50 | *(.con_initcall.init) | 44 | *(.con_initcall.init) |
diff --git a/arch/avr32/lib/Makefile b/arch/avr32/lib/Makefile index 09ac43e40522..084d95bac5e7 100644 --- a/arch/avr32/lib/Makefile +++ b/arch/avr32/lib/Makefile | |||
| @@ -7,4 +7,5 @@ lib-y += strncpy_from_user.o strnlen_user.o | |||
| 7 | lib-y += delay.o memset.o memcpy.o findbit.o | 7 | lib-y += delay.o memset.o memcpy.o findbit.o |
| 8 | lib-y += csum_partial.o csum_partial_copy_generic.o | 8 | lib-y += csum_partial.o csum_partial_copy_generic.o |
| 9 | lib-y += io-readsw.o io-readsl.o io-writesw.o io-writesl.o | 9 | lib-y += io-readsw.o io-readsl.o io-writesw.o io-writesl.o |
| 10 | lib-y += io-readsb.o io-writesb.o | ||
| 10 | lib-y += __avr32_lsl64.o __avr32_lsr64.o __avr32_asr64.o | 11 | lib-y += __avr32_lsl64.o __avr32_lsr64.o __avr32_asr64.o |
diff --git a/arch/avr32/lib/findbit.S b/arch/avr32/lib/findbit.S index 2b4856f4bf7c..c6b91dee857c 100644 --- a/arch/avr32/lib/findbit.S +++ b/arch/avr32/lib/findbit.S | |||
| @@ -136,6 +136,7 @@ ENTRY(generic_find_next_zero_le_bit) | |||
| 136 | /* offset is not word-aligned. Handle the first (32 - r10) bits */ | 136 | /* offset is not word-aligned. Handle the first (32 - r10) bits */ |
| 137 | ldswp.w r8, r12[0] | 137 | ldswp.w r8, r12[0] |
| 138 | sub r12, -4 | 138 | sub r12, -4 |
| 139 | com r8 | ||
| 139 | lsr r8, r8, r10 | 140 | lsr r8, r8, r10 |
| 140 | brne .L_found | 141 | brne .L_found |
| 141 | 142 | ||
| @@ -146,7 +147,7 @@ ENTRY(generic_find_next_zero_le_bit) | |||
| 146 | 147 | ||
| 147 | /* Main loop. offset must be word-aligned */ | 148 | /* Main loop. offset must be word-aligned */ |
| 148 | 1: ldswp.w r8, r12[0] | 149 | 1: ldswp.w r8, r12[0] |
| 149 | cp.w r8, 0 | 150 | com r8 |
| 150 | brne .L_found | 151 | brne .L_found |
| 151 | sub r12, -4 | 152 | sub r12, -4 |
| 152 | sub r9, 32 | 153 | sub r9, 32 |
diff --git a/arch/avr32/lib/io-readsb.S b/arch/avr32/lib/io-readsb.S new file mode 100644 index 000000000000..2be5da7ed26b --- /dev/null +++ b/arch/avr32/lib/io-readsb.S | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2004-2006 Atmel Corporation | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | ||
| 8 | |||
| 9 | .text | ||
| 10 | .Lnot_word_aligned: | ||
| 11 | 1: ld.ub r8, r12[0] | ||
| 12 | sub r10, 1 | ||
| 13 | st.b r11++, r8 | ||
| 14 | reteq r12 | ||
| 15 | tst r11, r9 | ||
| 16 | brne 1b | ||
| 17 | |||
| 18 | /* fall through */ | ||
| 19 | |||
| 20 | .global __raw_readsb | ||
| 21 | .type __raw_readsb,@function | ||
| 22 | __raw_readsb: | ||
| 23 | cp.w r10, 0 | ||
| 24 | mov r9, 3 | ||
| 25 | reteq r12 | ||
| 26 | |||
| 27 | tst r11, r9 | ||
| 28 | brne .Lnot_word_aligned | ||
| 29 | |||
| 30 | sub r10, 4 | ||
| 31 | brlt 2f | ||
| 32 | |||
| 33 | 1: ldins.b r8:t, r12[0] | ||
| 34 | ldins.b r8:u, r12[0] | ||
| 35 | ldins.b r8:l, r12[0] | ||
| 36 | ldins.b r8:b, r12[0] | ||
| 37 | st.w r11++, r8 | ||
| 38 | sub r10, 4 | ||
| 39 | brge 1b | ||
| 40 | |||
| 41 | 2: sub r10, -4 | ||
| 42 | reteq r12 | ||
| 43 | |||
| 44 | 3: ld.uh r8, r12[0] | ||
| 45 | sub r10, 1 | ||
| 46 | st.b r11++, r8 | ||
| 47 | brne 3b | ||
| 48 | |||
| 49 | retal r12 | ||
diff --git a/arch/avr32/lib/io-writesb.S b/arch/avr32/lib/io-writesb.S new file mode 100644 index 000000000000..b4ebaacccf68 --- /dev/null +++ b/arch/avr32/lib/io-writesb.S | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2004-2006 Atmel Corporation | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | ||
| 8 | |||
| 9 | .text | ||
| 10 | .Lnot_word_aligned: | ||
| 11 | 1: ld.ub r8, r11++ | ||
| 12 | sub r10, 1 | ||
| 13 | st.b r12[0], r8 | ||
| 14 | reteq r12 | ||
| 15 | tst r11, r9 | ||
| 16 | brne 1b | ||
| 17 | |||
| 18 | /* fall through */ | ||
| 19 | |||
| 20 | .global __raw_writesb | ||
| 21 | .type __raw_writesb,@function | ||
| 22 | __raw_writesb: | ||
| 23 | cp.w r10, 0 | ||
| 24 | mov r9, 3 | ||
| 25 | reteq r12 | ||
| 26 | |||
| 27 | tst r11, r9 | ||
| 28 | brne .Lnot_word_aligned | ||
| 29 | |||
| 30 | sub r10, 4 | ||
| 31 | brlt 2f | ||
| 32 | |||
| 33 | 1: ld.w r8, r11++ | ||
| 34 | bfextu r9, r8, 24, 8 | ||
| 35 | st.b r12[0], r9 | ||
| 36 | bfextu r9, r8, 16, 8 | ||
| 37 | st.b r12[0], r9 | ||
| 38 | bfextu r9, r8, 8, 8 | ||
| 39 | st.b r12[0], r9 | ||
| 40 | st.b r12[0], r8 | ||
| 41 | sub r10, 4 | ||
| 42 | brge 1b | ||
| 43 | |||
| 44 | 2: sub r10, -4 | ||
| 45 | reteq r12 | ||
| 46 | |||
| 47 | 3: ld.ub r8, r11++ | ||
| 48 | sub r10, 1 | ||
| 49 | st.b r12[0], r8 | ||
| 50 | brne 3b | ||
| 51 | |||
| 52 | retal r12 | ||
diff --git a/arch/avr32/mach-at32ap/hsmc.h b/arch/avr32/mach-at32ap/hsmc.h index 5681276fafdb..d1d48e26e393 100644 --- a/arch/avr32/mach-at32ap/hsmc.h +++ b/arch/avr32/mach-at32ap/hsmc.h | |||
| @@ -120,8 +120,8 @@ | |||
| 120 | 120 | ||
| 121 | /* Register access macros */ | 121 | /* Register access macros */ |
| 122 | #define hsmc_readl(port,reg) \ | 122 | #define hsmc_readl(port,reg) \ |
| 123 | readl((port)->regs + HSMC_##reg) | 123 | __raw_readl((port)->regs + HSMC_##reg) |
| 124 | #define hsmc_writel(port,reg,value) \ | 124 | #define hsmc_writel(port,reg,value) \ |
| 125 | writel((value), (port)->regs + HSMC_##reg) | 125 | __raw_writel((value), (port)->regs + HSMC_##reg) |
| 126 | 126 | ||
| 127 | #endif /* __ASM_AVR32_HSMC_H__ */ | 127 | #endif /* __ASM_AVR32_HSMC_H__ */ |
diff --git a/arch/avr32/mach-at32ap/intc.h b/arch/avr32/mach-at32ap/intc.h index d289ca2fff13..4d3664e43a8e 100644 --- a/arch/avr32/mach-at32ap/intc.h +++ b/arch/avr32/mach-at32ap/intc.h | |||
| @@ -321,7 +321,9 @@ | |||
| 321 | #define INTC_MKBF(name, value) (((value) & ((1 << INTC_##name##_SIZE) - 1)) << INTC_##name##_OFFSET) | 321 | #define INTC_MKBF(name, value) (((value) & ((1 << INTC_##name##_SIZE) - 1)) << INTC_##name##_OFFSET) |
| 322 | #define INTC_GETBF(name, value) (((value) >> INTC_##name##_OFFSET) & ((1 << INTC_##name##_SIZE) - 1)) | 322 | #define INTC_GETBF(name, value) (((value) >> INTC_##name##_OFFSET) & ((1 << INTC_##name##_SIZE) - 1)) |
| 323 | 323 | ||
| 324 | #define intc_readl(port,reg) readl((port)->regs + INTC_##reg) | 324 | #define intc_readl(port,reg) \ |
| 325 | #define intc_writel(port,reg,value) writel((value), (port)->regs + INTC_##reg) | 325 | __raw_readl((port)->regs + INTC_##reg) |
| 326 | #define intc_writel(port,reg,value) \ | ||
| 327 | __raw_writel((value), (port)->regs + INTC_##reg) | ||
| 326 | 328 | ||
| 327 | #endif /* __ASM_AVR32_PERIHP_INTC_H__ */ | 329 | #endif /* __ASM_AVR32_PERIHP_INTC_H__ */ |
diff --git a/arch/avr32/mach-at32ap/pio.h b/arch/avr32/mach-at32ap/pio.h index cfea12351599..50fa3aca32c5 100644 --- a/arch/avr32/mach-at32ap/pio.h +++ b/arch/avr32/mach-at32ap/pio.h | |||
| @@ -170,8 +170,10 @@ | |||
| 170 | #define PIO_BFINS(name,value,old) (((old) & ~(((1 << PIO_##name##_SIZE) - 1) << PIO_##name##_OFFSET)) | PIO_BF(name,value)) | 170 | #define PIO_BFINS(name,value,old) (((old) & ~(((1 << PIO_##name##_SIZE) - 1) << PIO_##name##_OFFSET)) | PIO_BF(name,value)) |
| 171 | 171 | ||
| 172 | /* Register access macros */ | 172 | /* Register access macros */ |
| 173 | #define pio_readl(port,reg) readl((port)->regs + PIO_##reg) | 173 | #define pio_readl(port,reg) \ |
| 174 | #define pio_writel(port,reg,value) writel((value), (port)->regs + PIO_##reg) | 174 | __raw_readl((port)->regs + PIO_##reg) |
| 175 | #define pio_writel(port,reg,value) \ | ||
| 176 | __raw_writel((value), (port)->regs + PIO_##reg) | ||
| 175 | 177 | ||
| 176 | void at32_init_pio(struct platform_device *pdev); | 178 | void at32_init_pio(struct platform_device *pdev); |
| 177 | 179 | ||
diff --git a/arch/avr32/mach-at32ap/sm.h b/arch/avr32/mach-at32ap/sm.h index 27565822ae2a..cad02b512bcb 100644 --- a/arch/avr32/mach-at32ap/sm.h +++ b/arch/avr32/mach-at32ap/sm.h | |||
| @@ -234,7 +234,9 @@ | |||
| 234 | #define SM_BFINS(name,value,old) (((old) & ~(((1 << SM_##name##_SIZE) - 1) << SM_##name##_OFFSET)) | SM_BF(name,value)) | 234 | #define SM_BFINS(name,value,old) (((old) & ~(((1 << SM_##name##_SIZE) - 1) << SM_##name##_OFFSET)) | SM_BF(name,value)) |
| 235 | 235 | ||
| 236 | /* Register access macros */ | 236 | /* Register access macros */ |
| 237 | #define sm_readl(port,reg) readl((port)->regs + SM_##reg) | 237 | #define sm_readl(port,reg) \ |
| 238 | #define sm_writel(port,reg,value) writel((value), (port)->regs + SM_##reg) | 238 | __raw_readl((port)->regs + SM_##reg) |
| 239 | #define sm_writel(port,reg,value) \ | ||
| 240 | __raw_writel((value), (port)->regs + SM_##reg) | ||
| 239 | 241 | ||
| 240 | #endif /* __ASM_AVR32_SM_H__ */ | 242 | #endif /* __ASM_AVR32_SM_H__ */ |
diff --git a/arch/avr32/mm/init.c b/arch/avr32/mm/init.c index 3e6c41039808..70da6894acc1 100644 --- a/arch/avr32/mm/init.c +++ b/arch/avr32/mm/init.c | |||
| @@ -206,7 +206,7 @@ void __init setup_bootmem(void) | |||
| 206 | 206 | ||
| 207 | if (mem_ramdisk) { | 207 | if (mem_ramdisk) { |
| 208 | #ifdef CONFIG_BLK_DEV_INITRD | 208 | #ifdef CONFIG_BLK_DEV_INITRD |
| 209 | initrd_start = __va(mem_ramdisk->addr); | 209 | initrd_start = (unsigned long)__va(mem_ramdisk->addr); |
| 210 | initrd_end = initrd_start + mem_ramdisk->size; | 210 | initrd_end = initrd_start + mem_ramdisk->size; |
| 211 | 211 | ||
| 212 | print_memory_map("RAMDISK images", mem_ramdisk); | 212 | print_memory_map("RAMDISK images", mem_ramdisk); |
diff --git a/arch/avr32/mm/ioremap.c b/arch/avr32/mm/ioremap.c index 8cfec65e37f7..3437c82434ac 100644 --- a/arch/avr32/mm/ioremap.c +++ b/arch/avr32/mm/ioremap.c | |||
| @@ -77,6 +77,8 @@ void __iounmap(void __iomem *addr) | |||
| 77 | 77 | ||
| 78 | if ((unsigned long)addr >= P4SEG) | 78 | if ((unsigned long)addr >= P4SEG) |
| 79 | return; | 79 | return; |
| 80 | if (PXSEG(addr) == P2SEG) | ||
| 81 | return; | ||
| 80 | 82 | ||
| 81 | p = remove_vm_area((void *)(PAGE_MASK & (unsigned long __force)addr)); | 83 | p = remove_vm_area((void *)(PAGE_MASK & (unsigned long __force)addr)); |
| 82 | if (unlikely(!p)) { | 84 | if (unlikely(!p)) { |
