aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-20 11:51:11 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-20 11:51:11 -0400
commitc8e16aa291c7d1ff14d3784e52bd376bcae17d54 (patch)
tree3a4e725ef430b6c71af96c7c855b63732f453c81
parent6936b17ea03f54525f01b12819d558ba52a86b46 (diff)
parentfad9e7d95769ff6c0918b79d58a7ba03615c3ff9 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6: sh64: Flag sh64_get_page() as __init_refok. sh64: Move entry point code to .text.head. sh64: Fix up PCI section mismatch warnings. sh64: Update cayman defconfig. sh64: Wire up fallocate() syscall.
-rw-r--r--arch/sh64/configs/cayman_defconfig158
-rw-r--r--arch/sh64/kernel/head.S2
-rw-r--r--arch/sh64/kernel/pci_sh5.c4
-rw-r--r--arch/sh64/kernel/syscalls.S1
-rw-r--r--arch/sh64/kernel/vmlinux.lds.S1
-rw-r--r--arch/sh64/mm/ioremap.c2
-rw-r--r--include/asm-sh64/unistd.h3
7 files changed, 41 insertions, 130 deletions
diff --git a/arch/sh64/configs/cayman_defconfig b/arch/sh64/configs/cayman_defconfig
index ed035084b053..784434143343 100644
--- a/arch/sh64/configs/cayman_defconfig
+++ b/arch/sh64/configs/cayman_defconfig
@@ -1,11 +1,12 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.22-rc1 3# Linux kernel version: 2.6.22
4# Mon May 14 08:43:31 2007 4# Fri Jul 20 12:28:34 2007
5# 5#
6CONFIG_SUPERH=y 6CONFIG_SUPERH=y
7CONFIG_SUPERH64=y 7CONFIG_SUPERH64=y
8CONFIG_MMU=y 8CONFIG_MMU=y
9CONFIG_QUICKLIST=y
9CONFIG_RWSEM_GENERIC_SPINLOCK=y 10CONFIG_RWSEM_GENERIC_SPINLOCK=y
10CONFIG_GENERIC_FIND_NEXT_BIT=y 11CONFIG_GENERIC_FIND_NEXT_BIT=y
11CONFIG_GENERIC_HWEIGHT=y 12CONFIG_GENERIC_HWEIGHT=y
@@ -32,7 +33,7 @@ CONFIG_SWAP=y
32CONFIG_POSIX_MQUEUE=y 33CONFIG_POSIX_MQUEUE=y
33# CONFIG_BSD_PROCESS_ACCT is not set 34# CONFIG_BSD_PROCESS_ACCT is not set
34# CONFIG_TASKSTATS is not set 35# CONFIG_TASKSTATS is not set
35# CONFIG_UTS_NS is not set 36# CONFIG_USER_NS is not set
36# CONFIG_AUDIT is not set 37# CONFIG_AUDIT is not set
37# CONFIG_IKCONFIG is not set 38# CONFIG_IKCONFIG is not set
38CONFIG_LOG_BUF_SHIFT=14 39CONFIG_LOG_BUF_SHIFT=14
@@ -66,19 +67,12 @@ CONFIG_SLAB=y
66CONFIG_RT_MUTEXES=y 67CONFIG_RT_MUTEXES=y
67# CONFIG_TINY_SHMEM is not set 68# CONFIG_TINY_SHMEM is not set
68CONFIG_BASE_SMALL=0 69CONFIG_BASE_SMALL=0
69
70#
71# Loadable module support
72#
73# CONFIG_MODULES is not set 70# CONFIG_MODULES is not set
74
75#
76# Block layer
77#
78CONFIG_BLOCK=y 71CONFIG_BLOCK=y
79# CONFIG_LBD is not set 72# CONFIG_LBD is not set
80# CONFIG_BLK_DEV_IO_TRACE is not set 73# CONFIG_BLK_DEV_IO_TRACE is not set
81# CONFIG_LSF is not set 74# CONFIG_LSF is not set
75# CONFIG_BLK_DEV_BSG is not set
82 76
83# 77#
84# IO Schedulers 78# IO Schedulers
@@ -156,6 +150,8 @@ CONFIG_FLAT_NODE_MEM_MAP=y
156CONFIG_SPLIT_PTLOCK_CPUS=4 150CONFIG_SPLIT_PTLOCK_CPUS=4
157# CONFIG_RESOURCES_64BIT is not set 151# CONFIG_RESOURCES_64BIT is not set
158CONFIG_ZONE_DMA_FLAG=0 152CONFIG_ZONE_DMA_FLAG=0
153CONFIG_NR_QUICK=1
154CONFIG_VIRT_TO_BUS=y
159 155
160# 156#
161# Bus options (PCI, PCMCIA, EISA, MCA, ISA) 157# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
@@ -175,7 +171,6 @@ CONFIG_SH_PCIDMA_NONCOHERENT=y
175# Executable file formats 171# Executable file formats
176# 172#
177CONFIG_BINFMT_ELF=y 173CONFIG_BINFMT_ELF=y
178# CONFIG_BINFMT_FLAT is not set
179# CONFIG_BINFMT_MISC is not set 174# CONFIG_BINFMT_MISC is not set
180 175
181# 176#
@@ -225,20 +220,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
225# CONFIG_INET6_TUNNEL is not set 220# CONFIG_INET6_TUNNEL is not set
226# CONFIG_NETWORK_SECMARK is not set 221# CONFIG_NETWORK_SECMARK is not set
227# CONFIG_NETFILTER is not set 222# CONFIG_NETFILTER is not set
228
229#
230# DCCP Configuration (EXPERIMENTAL)
231#
232# CONFIG_IP_DCCP is not set 223# CONFIG_IP_DCCP is not set
233
234#
235# SCTP Configuration (EXPERIMENTAL)
236#
237# CONFIG_IP_SCTP is not set 224# CONFIG_IP_SCTP is not set
238
239#
240# TIPC Configuration (EXPERIMENTAL)
241#
242# CONFIG_TIPC is not set 225# CONFIG_TIPC is not set
243# CONFIG_ATM is not set 226# CONFIG_ATM is not set
244# CONFIG_BRIDGE is not set 227# CONFIG_BRIDGE is not set
@@ -274,6 +257,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
274# CONFIG_MAC80211 is not set 257# CONFIG_MAC80211 is not set
275# CONFIG_IEEE80211 is not set 258# CONFIG_IEEE80211 is not set
276# CONFIG_RFKILL is not set 259# CONFIG_RFKILL is not set
260# CONFIG_NET_9P is not set
277 261
278# 262#
279# Device Drivers 263# Device Drivers
@@ -288,26 +272,10 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
288# CONFIG_DEBUG_DRIVER is not set 272# CONFIG_DEBUG_DRIVER is not set
289# CONFIG_DEBUG_DEVRES is not set 273# CONFIG_DEBUG_DEVRES is not set
290# CONFIG_SYS_HYPERVISOR is not set 274# CONFIG_SYS_HYPERVISOR is not set
291
292#
293# Connector - unified userspace <-> kernelspace linker
294#
295# CONFIG_CONNECTOR is not set 275# CONFIG_CONNECTOR is not set
296# CONFIG_MTD is not set 276# CONFIG_MTD is not set
297
298#
299# Parallel port support
300#
301# CONFIG_PARPORT is not set 277# CONFIG_PARPORT is not set
302 278CONFIG_BLK_DEV=y
303#
304# Plug and Play support
305#
306# CONFIG_PNPACPI is not set
307
308#
309# Block devices
310#
311# CONFIG_BLK_CPQ_DA is not set 279# CONFIG_BLK_CPQ_DA is not set
312# CONFIG_BLK_CPQ_CISS_DA is not set 280# CONFIG_BLK_CPQ_CISS_DA is not set
313# CONFIG_BLK_DEV_DAC960 is not set 281# CONFIG_BLK_DEV_DAC960 is not set
@@ -323,18 +291,11 @@ CONFIG_BLK_DEV_RAM_SIZE=4096
323CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 291CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
324# CONFIG_CDROM_PKTCDVD is not set 292# CONFIG_CDROM_PKTCDVD is not set
325# CONFIG_ATA_OVER_ETH is not set 293# CONFIG_ATA_OVER_ETH is not set
326 294CONFIG_MISC_DEVICES=y
327#
328# Misc devices
329#
330# CONFIG_PHANTOM is not set 295# CONFIG_PHANTOM is not set
296# CONFIG_EEPROM_93CX6 is not set
331# CONFIG_SGI_IOC4 is not set 297# CONFIG_SGI_IOC4 is not set
332# CONFIG_TIFM_CORE is not set 298# CONFIG_TIFM_CORE is not set
333# CONFIG_BLINK is not set
334
335#
336# ATA/ATAPI/MFM/RLL support
337#
338# CONFIG_IDE is not set 299# CONFIG_IDE is not set
339 300
340# 301#
@@ -342,6 +303,7 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
342# 303#
343# CONFIG_RAID_ATTRS is not set 304# CONFIG_RAID_ATTRS is not set
344CONFIG_SCSI=y 305CONFIG_SCSI=y
306CONFIG_SCSI_DMA=y
345# CONFIG_SCSI_TGT is not set 307# CONFIG_SCSI_TGT is not set
346# CONFIG_SCSI_NETLINK is not set 308# CONFIG_SCSI_NETLINK is not set
347CONFIG_SCSI_PROC_FS=y 309CONFIG_SCSI_PROC_FS=y
@@ -410,13 +372,8 @@ CONFIG_SCSI_SYM53C8XX_MMIO=y
410# CONFIG_SCSI_DC390T is not set 372# CONFIG_SCSI_DC390T is not set
411# CONFIG_SCSI_NSP32 is not set 373# CONFIG_SCSI_NSP32 is not set
412# CONFIG_SCSI_DEBUG is not set 374# CONFIG_SCSI_DEBUG is not set
413# CONFIG_SCSI_ESP_CORE is not set
414# CONFIG_SCSI_SRP is not set 375# CONFIG_SCSI_SRP is not set
415# CONFIG_ATA is not set 376# CONFIG_ATA is not set
416
417#
418# Multi-device support (RAID and LVM)
419#
420# CONFIG_MD is not set 377# CONFIG_MD is not set
421 378
422# 379#
@@ -432,30 +389,16 @@ CONFIG_SCSI_SYM53C8XX_MMIO=y
432# 389#
433# CONFIG_FIREWIRE is not set 390# CONFIG_FIREWIRE is not set
434# CONFIG_IEEE1394 is not set 391# CONFIG_IEEE1394 is not set
435
436#
437# I2O device support
438#
439# CONFIG_I2O is not set 392# CONFIG_I2O is not set
440
441#
442# Network device support
443#
444CONFIG_NETDEVICES=y 393CONFIG_NETDEVICES=y
394# CONFIG_NETDEVICES_MULTIQUEUE is not set
445# CONFIG_DUMMY is not set 395# CONFIG_DUMMY is not set
446# CONFIG_BONDING is not set 396# CONFIG_BONDING is not set
397# CONFIG_MACVLAN is not set
447# CONFIG_EQUALIZER is not set 398# CONFIG_EQUALIZER is not set
448# CONFIG_TUN is not set 399# CONFIG_TUN is not set
449
450#
451# ARCnet devices
452#
453# CONFIG_ARCNET is not set 400# CONFIG_ARCNET is not set
454# CONFIG_PHYLIB is not set 401# CONFIG_PHYLIB is not set
455
456#
457# Ethernet (10 or 100Mbit)
458#
459CONFIG_NET_ETHERNET=y 402CONFIG_NET_ETHERNET=y
460# CONFIG_MII is not set 403# CONFIG_MII is not set
461# CONFIG_STNIC is not set 404# CONFIG_STNIC is not set
@@ -464,10 +407,6 @@ CONFIG_NET_ETHERNET=y
464# CONFIG_CASSINI is not set 407# CONFIG_CASSINI is not set
465# CONFIG_NET_VENDOR_3COM is not set 408# CONFIG_NET_VENDOR_3COM is not set
466# CONFIG_SMC91X is not set 409# CONFIG_SMC91X is not set
467
468#
469# Tulip family network device support
470#
471CONFIG_NET_TULIP=y 410CONFIG_NET_TULIP=y
472# CONFIG_DE2104X is not set 411# CONFIG_DE2104X is not set
473CONFIG_TULIP=y 412CONFIG_TULIP=y
@@ -510,7 +449,6 @@ CONFIG_NETDEV_1000=y
510# CONFIG_SIS190 is not set 449# CONFIG_SIS190 is not set
511# CONFIG_SKGE is not set 450# CONFIG_SKGE is not set
512# CONFIG_SKY2 is not set 451# CONFIG_SKY2 is not set
513# CONFIG_SK98LIN is not set
514# CONFIG_VIA_VELOCITY is not set 452# CONFIG_VIA_VELOCITY is not set
515# CONFIG_TIGON3 is not set 453# CONFIG_TIGON3 is not set
516# CONFIG_BNX2 is not set 454# CONFIG_BNX2 is not set
@@ -524,11 +462,6 @@ CONFIG_NETDEV_10000=y
524# CONFIG_MYRI10GE is not set 462# CONFIG_MYRI10GE is not set
525# CONFIG_NETXEN_NIC is not set 463# CONFIG_NETXEN_NIC is not set
526# CONFIG_MLX4_CORE is not set 464# CONFIG_MLX4_CORE is not set
527CONFIG_MLX4_DEBUG=y
528
529#
530# Token Ring devices
531#
532# CONFIG_TR is not set 465# CONFIG_TR is not set
533 466
534# 467#
@@ -546,15 +479,7 @@ CONFIG_MLX4_DEBUG=y
546# CONFIG_NETCONSOLE is not set 479# CONFIG_NETCONSOLE is not set
547# CONFIG_NETPOLL is not set 480# CONFIG_NETPOLL is not set
548# CONFIG_NET_POLL_CONTROLLER is not set 481# CONFIG_NET_POLL_CONTROLLER is not set
549
550#
551# ISDN subsystem
552#
553# CONFIG_ISDN is not set 482# CONFIG_ISDN is not set
554
555#
556# Telephony Support
557#
558# CONFIG_PHONE is not set 483# CONFIG_PHONE is not set
559 484
560# 485#
@@ -562,6 +487,7 @@ CONFIG_MLX4_DEBUG=y
562# 487#
563CONFIG_INPUT=y 488CONFIG_INPUT=y
564# CONFIG_INPUT_FF_MEMLESS is not set 489# CONFIG_INPUT_FF_MEMLESS is not set
490# CONFIG_INPUT_POLLDEV is not set
565 491
566# 492#
567# Userland interfaces 493# Userland interfaces
@@ -638,10 +564,6 @@ CONFIG_SERIAL_CORE_CONSOLE=y
638CONFIG_UNIX98_PTYS=y 564CONFIG_UNIX98_PTYS=y
639CONFIG_LEGACY_PTYS=y 565CONFIG_LEGACY_PTYS=y
640CONFIG_LEGACY_PTY_COUNT=256 566CONFIG_LEGACY_PTY_COUNT=256
641
642#
643# IPMI
644#
645# CONFIG_IPMI_HANDLER is not set 567# CONFIG_IPMI_HANDLER is not set
646CONFIG_WATCHDOG=y 568CONFIG_WATCHDOG=y
647# CONFIG_WATCHDOG_NOWAYOUT is not set 569# CONFIG_WATCHDOG_NOWAYOUT is not set
@@ -658,15 +580,10 @@ CONFIG_WATCHDOG=y
658# CONFIG_PCIPCWATCHDOG is not set 580# CONFIG_PCIPCWATCHDOG is not set
659# CONFIG_WDTPCI is not set 581# CONFIG_WDTPCI is not set
660CONFIG_HW_RANDOM=y 582CONFIG_HW_RANDOM=y
661# CONFIG_GEN_RTC is not set
662# CONFIG_R3964 is not set 583# CONFIG_R3964 is not set
663# CONFIG_APPLICOM is not set 584# CONFIG_APPLICOM is not set
664# CONFIG_DRM is not set 585# CONFIG_DRM is not set
665# CONFIG_RAW_DRIVER is not set 586# CONFIG_RAW_DRIVER is not set
666
667#
668# TPM devices
669#
670# CONFIG_TCG_TPM is not set 587# CONFIG_TCG_TPM is not set
671CONFIG_DEVPORT=y 588CONFIG_DEVPORT=y
672# CONFIG_I2C is not set 589# CONFIG_I2C is not set
@@ -676,20 +593,24 @@ CONFIG_DEVPORT=y
676# 593#
677# CONFIG_SPI is not set 594# CONFIG_SPI is not set
678# CONFIG_SPI_MASTER is not set 595# CONFIG_SPI_MASTER is not set
679
680#
681# Dallas's 1-wire bus
682#
683# CONFIG_W1 is not set 596# CONFIG_W1 is not set
597# CONFIG_POWER_SUPPLY is not set
684CONFIG_HWMON=y 598CONFIG_HWMON=y
685# CONFIG_HWMON_VID is not set 599# CONFIG_HWMON_VID is not set
686# CONFIG_SENSORS_ABITUGURU is not set 600# CONFIG_SENSORS_ABITUGURU is not set
601# CONFIG_SENSORS_ABITUGURU3 is not set
687# CONFIG_SENSORS_F71805F is not set 602# CONFIG_SENSORS_F71805F is not set
603# CONFIG_SENSORS_IT87 is not set
604# CONFIG_SENSORS_PC87360 is not set
688# CONFIG_SENSORS_PC87427 is not set 605# CONFIG_SENSORS_PC87427 is not set
606# CONFIG_SENSORS_SIS5595 is not set
689# CONFIG_SENSORS_SMSC47M1 is not set 607# CONFIG_SENSORS_SMSC47M1 is not set
690# CONFIG_SENSORS_SMSC47B397 is not set 608# CONFIG_SENSORS_SMSC47B397 is not set
609# CONFIG_SENSORS_VIA686A is not set
691# CONFIG_SENSORS_VT1211 is not set 610# CONFIG_SENSORS_VT1211 is not set
611# CONFIG_SENSORS_VT8231 is not set
692# CONFIG_SENSORS_W83627HF is not set 612# CONFIG_SENSORS_W83627HF is not set
613# CONFIG_SENSORS_W83627EHF is not set
693# CONFIG_HWMON_DEBUG_CHIP is not set 614# CONFIG_HWMON_DEBUG_CHIP is not set
694 615
695# 616#
@@ -739,7 +660,6 @@ CONFIG_FB_MODE_HELPERS=y
739# CONFIG_FB_CYBER2000 is not set 660# CONFIG_FB_CYBER2000 is not set
740# CONFIG_FB_ASILIANT is not set 661# CONFIG_FB_ASILIANT is not set
741# CONFIG_FB_IMSTT is not set 662# CONFIG_FB_IMSTT is not set
742# CONFIG_FB_EPSON1355 is not set
743# CONFIG_FB_S1D13XXX is not set 663# CONFIG_FB_S1D13XXX is not set
744# CONFIG_FB_NVIDIA is not set 664# CONFIG_FB_NVIDIA is not set
745# CONFIG_FB_RIVA is not set 665# CONFIG_FB_RIVA is not set
@@ -765,6 +685,7 @@ CONFIG_FB_KYRO=y
765# 685#
766CONFIG_DUMMY_CONSOLE=y 686CONFIG_DUMMY_CONSOLE=y
767CONFIG_FRAMEBUFFER_CONSOLE=y 687CONFIG_FRAMEBUFFER_CONSOLE=y
688# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
768# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set 689# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
769CONFIG_FONTS=y 690CONFIG_FONTS=y
770# CONFIG_FONT_8x8 is not set 691# CONFIG_FONT_8x8 is not set
@@ -789,16 +710,10 @@ CONFIG_LOGO_SUPERH_CLUT224=y
789# Sound 710# Sound
790# 711#
791# CONFIG_SOUND is not set 712# CONFIG_SOUND is not set
792 713CONFIG_HID_SUPPORT=y
793#
794# HID Devices
795#
796CONFIG_HID=y 714CONFIG_HID=y
797# CONFIG_HID_DEBUG is not set 715# CONFIG_HID_DEBUG is not set
798 716CONFIG_USB_SUPPORT=y
799#
800# USB support
801#
802CONFIG_USB_ARCH_HAS_HCD=y 717CONFIG_USB_ARCH_HAS_HCD=y
803CONFIG_USB_ARCH_HAS_OHCI=y 718CONFIG_USB_ARCH_HAS_OHCI=y
804CONFIG_USB_ARCH_HAS_EHCI=y 719CONFIG_USB_ARCH_HAS_EHCI=y
@@ -826,17 +741,9 @@ CONFIG_USB_ARCH_HAS_EHCI=y
826# 741#
827# LED Triggers 742# LED Triggers
828# 743#
829
830#
831# InfiniBand support
832#
833# CONFIG_INFINIBAND is not set 744# CONFIG_INFINIBAND is not set
834 745
835# 746#
836# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
837#
838
839#
840# Real Time Clock 747# Real Time Clock
841# 748#
842# CONFIG_RTC_CLASS is not set 749# CONFIG_RTC_CLASS is not set
@@ -855,6 +762,11 @@ CONFIG_USB_ARCH_HAS_EHCI=y
855# 762#
856 763
857# 764#
765# Userspace I/O
766#
767# CONFIG_UIO is not set
768
769#
858# File systems 770# File systems
859# 771#
860CONFIG_EXT2_FS=y 772CONFIG_EXT2_FS=y
@@ -950,7 +862,6 @@ CONFIG_SUNRPC=y
950# CONFIG_NCP_FS is not set 862# CONFIG_NCP_FS is not set
951# CONFIG_CODA_FS is not set 863# CONFIG_CODA_FS is not set
952# CONFIG_AFS_FS is not set 864# CONFIG_AFS_FS is not set
953# CONFIG_9P_FS is not set
954 865
955# 866#
956# Partition Types 867# Partition Types
@@ -1001,6 +912,7 @@ CONFIG_DEBUG_FS=y
1001CONFIG_DEBUG_KERNEL=y 912CONFIG_DEBUG_KERNEL=y
1002# CONFIG_DEBUG_SHIRQ is not set 913# CONFIG_DEBUG_SHIRQ is not set
1003CONFIG_DETECT_SOFTLOCKUP=y 914CONFIG_DETECT_SOFTLOCKUP=y
915CONFIG_SCHED_DEBUG=y
1004CONFIG_SCHEDSTATS=y 916CONFIG_SCHEDSTATS=y
1005# CONFIG_TIMER_STATS is not set 917# CONFIG_TIMER_STATS is not set
1006# CONFIG_DEBUG_SLAB is not set 918# CONFIG_DEBUG_SLAB is not set
@@ -1017,7 +929,6 @@ CONFIG_DEBUG_BUGVERBOSE=y
1017# CONFIG_DEBUG_LIST is not set 929# CONFIG_DEBUG_LIST is not set
1018CONFIG_FRAME_POINTER=y 930CONFIG_FRAME_POINTER=y
1019CONFIG_FORCED_INLINING=y 931CONFIG_FORCED_INLINING=y
1020# CONFIG_RCU_TORTURE_TEST is not set
1021# CONFIG_FAULT_INJECTION is not set 932# CONFIG_FAULT_INJECTION is not set
1022# CONFIG_EARLY_PRINTK is not set 933# CONFIG_EARLY_PRINTK is not set
1023# CONFIG_DEBUG_KERNEL_WITH_GDB_STUB is not set 934# CONFIG_DEBUG_KERNEL_WITH_GDB_STUB is not set
@@ -1033,10 +944,6 @@ CONFIG_SH64_SR_WATCH=y
1033# 944#
1034# CONFIG_KEYS is not set 945# CONFIG_KEYS is not set
1035# CONFIG_SECURITY is not set 946# CONFIG_SECURITY is not set
1036
1037#
1038# Cryptographic options
1039#
1040# CONFIG_CRYPTO is not set 947# CONFIG_CRYPTO is not set
1041 948
1042# 949#
@@ -1047,6 +954,7 @@ CONFIG_BITREVERSE=y
1047# CONFIG_CRC16 is not set 954# CONFIG_CRC16 is not set
1048# CONFIG_CRC_ITU_T is not set 955# CONFIG_CRC_ITU_T is not set
1049CONFIG_CRC32=y 956CONFIG_CRC32=y
957# CONFIG_CRC7 is not set
1050# CONFIG_LIBCRC32C is not set 958# CONFIG_LIBCRC32C is not set
1051CONFIG_PLIST=y 959CONFIG_PLIST=y
1052CONFIG_HAS_IOMEM=y 960CONFIG_HAS_IOMEM=y
diff --git a/arch/sh64/kernel/head.S b/arch/sh64/kernel/head.S
index f3740ddbc471..186406d3ad9c 100644
--- a/arch/sh64/kernel/head.S
+++ b/arch/sh64/kernel/head.S
@@ -124,7 +124,7 @@ empty_bad_pte_table:
124fpu_in_use: .quad 0 124fpu_in_use: .quad 0
125 125
126 126
127 .section .text, "ax" 127 .section .text.head, "ax"
128 .balign L1_CACHE_BYTES 128 .balign L1_CACHE_BYTES
129/* 129/*
130 * Condition at the entry of __stext: 130 * Condition at the entry of __stext:
diff --git a/arch/sh64/kernel/pci_sh5.c b/arch/sh64/kernel/pci_sh5.c
index 3334f99b5835..388bb711f1b0 100644
--- a/arch/sh64/kernel/pci_sh5.c
+++ b/arch/sh64/kernel/pci_sh5.c
@@ -48,7 +48,7 @@ static void __init pci_fixup_ide_bases(struct pci_dev *d)
48} 48}
49DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases); 49DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases);
50 50
51char * __init pcibios_setup(char *str) 51char * __devinit pcibios_setup(char *str)
52{ 52{
53 return str; 53 return str;
54} 54}
@@ -497,7 +497,7 @@ static int __init pcibios_init(void)
497 497
498subsys_initcall(pcibios_init); 498subsys_initcall(pcibios_init);
499 499
500void __init pcibios_fixup_bus(struct pci_bus *bus) 500void __devinit pcibios_fixup_bus(struct pci_bus *bus)
501{ 501{
502 struct pci_dev *dev = bus->self; 502 struct pci_dev *dev = bus->self;
503 int i; 503 int i;
diff --git a/arch/sh64/kernel/syscalls.S b/arch/sh64/kernel/syscalls.S
index a5c680d29384..abb94c05d07a 100644
--- a/arch/sh64/kernel/syscalls.S
+++ b/arch/sh64/kernel/syscalls.S
@@ -378,3 +378,4 @@ sys_call_table:
378 .long sys_signalfd 378 .long sys_signalfd
379 .long sys_timerfd /* 350 */ 379 .long sys_timerfd /* 350 */
380 .long sys_eventfd 380 .long sys_eventfd
381 .long sys_fallocate
diff --git a/arch/sh64/kernel/vmlinux.lds.S b/arch/sh64/kernel/vmlinux.lds.S
index 8ac9c7c5f848..267b4f9af2e1 100644
--- a/arch/sh64/kernel/vmlinux.lds.S
+++ b/arch/sh64/kernel/vmlinux.lds.S
@@ -54,6 +54,7 @@ SECTIONS
54 } = 0 54 } = 0
55 55
56 .text : C_PHYS(.text) { 56 .text : C_PHYS(.text) {
57 *(.text.head)
57 TEXT_TEXT 58 TEXT_TEXT
58 *(.text64) 59 *(.text64)
59 *(.text..SHmedia32) 60 *(.text..SHmedia32)
diff --git a/arch/sh64/mm/ioremap.c b/arch/sh64/mm/ioremap.c
index ff26c02511aa..990857756d44 100644
--- a/arch/sh64/mm/ioremap.c
+++ b/arch/sh64/mm/ioremap.c
@@ -242,7 +242,7 @@ static void shmedia_free_io(struct resource *res)
242 release_resource(res); 242 release_resource(res);
243} 243}
244 244
245static void *sh64_get_page(void) 245static __init_refok void *sh64_get_page(void)
246{ 246{
247 extern int after_bootmem; 247 extern int after_bootmem;
248 void *page; 248 void *page;
diff --git a/include/asm-sh64/unistd.h b/include/asm-sh64/unistd.h
index ea3adc600b41..1a5197f369b2 100644
--- a/include/asm-sh64/unistd.h
+++ b/include/asm-sh64/unistd.h
@@ -374,10 +374,11 @@
374#define __NR_signalfd 349 374#define __NR_signalfd 349
375#define __NR_timerfd 350 375#define __NR_timerfd 350
376#define __NR_eventfd 351 376#define __NR_eventfd 351
377#define __NR_fallocate 352
377 378
378#ifdef __KERNEL__ 379#ifdef __KERNEL__
379 380
380#define NR_syscalls 352 381#define NR_syscalls 353
381 382
382#define __ARCH_WANT_IPC_PARSE_VERSION 383#define __ARCH_WANT_IPC_PARSE_VERSION
383#define __ARCH_WANT_OLD_READDIR 384#define __ARCH_WANT_OLD_READDIR