1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/target/linux/generic/patches-3.3
Hauke Mehrtens e2cd04bfb3 kernel: fix compile error with gcc-4.8 and kernel 3.3
With gcc-4.8 I get a compile error with kernel 3.3.
This patch fixes this problem by backporting a patch from a more recent kernel version.

  CC      arch/mips/mm/page.o
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/mm/page.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40619
2014-05-01 13:07:44 +00:00
..
001-ARM-7668-1-fix-memset-related-crashes-caused-by-rece.patch kernel: fix compile error with gcc-4.8 and kernel 3.3 2014-05-01 13:07:44 +00:00
002-ARM-7668-1-fix-memset-related-crashes-caused-by-rece.patch kernel: fix compile error with gcc-4.8 and kernel 3.3 2014-05-01 13:07:44 +00:00
003-MIPS-Refactor-clear_page-and-copy_page-functions.patch kernel: fix compile error with gcc-4.8 and kernel 3.3 2014-05-01 13:07:44 +00:00
006-arm_kernel_xz_support.patch
007-hso-Earlier-catch-of-error-condition.patch kernel: refresh patches 2013-10-02 22:26:43 +00:00
008-hso-Fix-stack-corruption-on-some-architectures.patch kernel: refresh patches 2013-10-02 22:26:43 +00:00
020-ssb_update.patch kernel: update bcma and ssb to wireless-testing master-2013-09-09 2013-09-12 22:03:45 +00:00
025-bcma_backport.patch kernel: bcma: update to wireless-testing master-2013-10-01 2013-10-02 22:26:15 +00:00
040-Controlled-Delay-AQM.patch generic: add upstream commit id to codel patches and refresh those 2012-09-26 14:17:17 +00:00
041-codel-use-Newton-method-instead-of-sqrt-and-divides.patch generic: add upstream commit id to codel patches and refresh those 2012-09-26 14:17:17 +00:00
042-fq_codel-Fair-Queue-Codel-AQM.patch generic: add upstream commit id to codel patches and refresh those 2012-09-26 14:17:17 +00:00
043-net-codel-Add-missing-include-linux-prefetch.h.patch generic: add upstream commit id to codel patches and refresh those 2012-09-26 14:17:17 +00:00
044-net-codel-fix-build-errors.patch generic: add upstream commit id to codel patches and refresh those 2012-09-26 14:17:17 +00:00
045-codel-use-u16-field-instead-of-31bits-for-rec_inv_sq.patch generic: add upstream commit id to codel patches and refresh those 2012-09-26 14:17:17 +00:00
046-fq_codel-qdisc-backlog.patch generic: add upstream commit id to codel patches and refresh those 2012-09-26 14:17:17 +00:00
047-spi_message_queue.patch backport spi message queue infrastructure 2012-06-06 13:31:30 +00:00
048-spi-Dont-call-prepare-unprepare-transfer-if-not-popu.patch kernel: generic: spi: allow empty (un)prepare transfer 2012-07-03 21:42:03 +00:00
049-codel-refine-one-condition-to-avoid-a-nul-rec_inv_sqrt.patch generic: add upstream commit id to codel patches and refresh those 2012-09-26 14:17:17 +00:00
050-rng_git_backport.patch backport the upstream entropy changes (#11951) 2012-09-26 12:54:01 +00:00
051-rng_git_backport-remove_irqf_sample_random.patch backport the upstream entropy changes (#11951) 2012-09-26 12:54:01 +00:00
060-hso_devices.patch add support for new Option modules (GTM66xxWFS/GTM67xxWFS) 2012-10-13 06:58:42 +00:00
060-tcp-ecn-dont-delay-ACKS-after-CE.patch refresh 3.3 patches 2012-10-21 21:30:30 +00:00
061-fq_codel-dont-reinit-flow-state.patch refresh 3.3 patches 2012-10-21 21:30:30 +00:00
065-8139cp-fixes.patch get rid of the specific UART driver and use AMBA PL010 2012-12-06 22:39:43 +00:00
070-gpio-add-flags-to-export-GPIOs-when-requesting.patch linux/3.3: backport an upstream GPIO patch 2012-11-05 11:04:43 +00:00
080-prot-release-cb.patch get rid of the specific UART driver and use AMBA PL010 2012-12-06 22:39:43 +00:00
081-USB-OHCI-Add-a-generic-platform-device-driver.patch kernel/3.3: move OHCI and EHCI platform drivers to generic 2012-12-05 14:18:05 +00:00
082-USB-EHCI-Add-a-generic-platform-device-driver.patch kernel/3.3: move OHCI and EHCI platform drivers to generic 2012-12-05 14:18:05 +00:00
083-USB-EHCI-platform-remove-update.patch kernel/3.3: move OHCI and EHCI platform drivers to generic 2012-12-05 14:18:05 +00:00
084-x86_fix_perf_uclibc_build.patch generic: refresh patches 2012-12-14 08:47:39 +00:00
090-CVE-2013-1763.patch kernel: fix CVE-2013-1763 in older kernels 2013-05-12 10:55:12 +00:00
100-overlayfs_v12.patch
102-ehci_hcd_ignore_oc.patch
110-fix_mtd_include.patch
130-pppoatm-queue-depth.patch
131-atm-fixes.patch Update linux-atm fixes to reflect the final upstream pull request 2012-12-02 13:04:04 +00:00
132-solos-dma.patch kernel: add solos-pci update for 3.3 2012-12-21 10:38:33 +00:00
140-ixp4xx_hss_module_h_include.patch refresh patches 2012-09-21 05:38:16 +00:00
200-fix_localversion.patch
201-extra_optimization.patch build: unify target independent optimization options 2013-07-29 09:38:29 +00:00
202-reduce_module_size.patch kernel: fix suppressing -s for linking modules when profiling is enabled 2012-05-27 21:02:36 +00:00
210-darwin_scripts_include.patch kernel: patch in a working copy of elf.h instead of using relative path based hackery in #include statements 2012-12-02 15:26:19 +00:00
211-stddef_include.patch
212-x86_reloc_portability.patch kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x 2012-07-20 12:28:50 +00:00
220-module_exports.patch kernel: fix stripping symbol exports 2012-12-02 17:42:17 +00:00
230-openwrt_lzma_options.patch
250-netfilter_depends.patch
251-sound_kconfig.patch kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193) 2013-03-19 14:13:39 +00:00
252-mv_cesa_depends.patch kernel: update linux 3.3 to 3.3.7 2012-05-23 21:05:32 +00:00
253-ssb_b43_default_on.patch
254-textsearch_kconfig_hacks.patch
255-lib80211_kconfig_hacks.patch
256-crypto_add_kconfig_prompts.patch
257-wireless_ext_kconfig_hack.patch
258-netfilter_netlink_kconfig_hack.patch
259-compressor_kconfig_hack.patch kernel: make zlib and lzo modules selectable 2013-05-09 20:50:07 +00:00
260-move_bcm963xx_tag.patch linux: export bcm963xx_tag.h to userspace 2012-11-06 15:21:46 +00:00
270-regmap_dynamic.patch kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected 2013-03-21 14:50:59 +00:00
300-mips_expose_boot_raw.patch
301-mips_image_cmdline_hack.patch
302-mips_use_generic_thread_info_allocator.patch
303-mips_fix_kexec.patch
304-mips_disable_fpu.patch
305-mips_module_reloc.patch
306-mips_mem_functions_performance.patch
307-mips_oprofile_fix.patch
308-mips-show-correct-cpu-name-for-24KEc.patch
309-mips_fuse_workaround.patch kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets 2012-06-16 21:06:33 +00:00
310-arm_module_unresolved_weak_sym.patch
320-ppc4xx_optimization.patch
321-powerpc_crtsavres_prereq.patch
322-ppc4xx-crypto-compile-fix.patch
330-mips-add-crash-and-kdump-support.patch
331-mips-kexec-enhanche-the-support.patch generic: fix build failure in MIPS kexec code if SMP is enabled 2013-01-29 09:44:58 +00:00
332-mips-kexec-init-the-arguments-for-the-new-kernel-image.patch generic: fix build failure in MIPS kexec code if SMP is enabled 2013-01-29 09:44:58 +00:00
333-mips-kexec-get-kernel-parameters-from-kexec-tools.patch generic: fix build failure in MIPS kexec code if SMP is enabled 2013-01-29 09:44:58 +00:00
334-mips-fix-compiling-failure-of-relocate_kernel.patch
335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch generic: fix build failure in MIPS kexec code if SMP is enabled 2013-01-29 09:44:58 +00:00
340-module_alloc_size_check.patch
400-rootfs_split.patch
401-partial_eraseblock_write.patch
410-mtd_info_move_forward_decl.patch
420-redboot_space.patch
430-mtd_myloader_partition_parser.patch
440-block2mtd_init.patch
441-block2mtd_refresh.patch
442-block2mtd_probe.patch
443-block2mtd-avoid-recursive-call-of-mtd_writev.patch linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver 2012-05-23 21:05:19 +00:00
450-mtd_plat_nand_chip_fixup.patch
451-mtd_fix_nand_correct_data_return_code.patch
460-cfi_cmdset_0002_no_erase_suspend.patch
470-mtd_m25p80_add_pm25lv_flash_support.patch
473-mtd_m25p80_add_w25q128.patch
475-mtd_cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch
476-mtd-m25p80-allow-to-disable-small-sector-erase.patch
477-mtd-m25p80-add-support-for-the-EON-EN25Q64-chip.patch generic: add support for the EON EN25Q64 SPI flash chip 2012-08-26 09:27:56 +00:00
478-mtd-partial_eraseblock_unlock.patch mtd: allow partial block unlock 2012-10-10 11:38:44 +00:00
520-squashfs_update_xz_comp_opts.patch
530-jffs2_make_lzma_available.patch generic: rename jffs2 patches 2012-11-01 11:07:16 +00:00
531-debloat_lzma.patch generic: rename jffs2 patches 2012-11-01 11:07:16 +00:00
532-jffs2_eofdetect.patch generic: rename jffs2 patches 2012-11-01 11:07:16 +00:00
540-crypto-xz-decompression-support.patch
541-ubifs-xz-decompression-support.patch generic: fix UBIFS build error if XZ compression is disabled 2013-01-02 08:53:07 +00:00
550-ubifs-symlink-xattr-support.patch
600-netfilter_layer7_2.22.patch
601-netfilter_layer7_pktmatch.patch
602-netfilter_layer7_match.patch
603-netfilter_layer7_2.6.36_fix.patch
604-netfilter_conntrack_flush.patch kernel: add missing bcma defines and header file for bcrmfmac 2013-04-28 11:10:42 +00:00
610-netfilter_match_bypass_default_checks.patch
611-netfilter_match_bypass_default_table.patch
612-netfilter_match_reduce_memory_access.patch
613-netfilter_optional_tcp_window_check.patch
620-sched_esfq.patch
621-sched_act_connmark.patch kernel: fix a warning in the connmark module 2012-05-24 18:25:08 +00:00
630-packet_socket_type.patch
640-bridge_no_eap_forward.patch
641-bridge_always_accept_eap.patch
642-bridge_port_isolate.patch
643-bridge_remove_ipv6_dependency.patch
644-bridge_optimize_netfilter_hooks.patch
650-pppoe_header_pad.patch
651-wireless_mesh_header.patch
652-atm_header_changes.patch
653-disable_netlink_trim.patch refresh generic patches 2012-06-05 13:40:38 +00:00
654-avoid_skb_cow_realloc.patch kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD 2012-05-27 15:16:37 +00:00
655-increase_skb_pad.patch kernel: align the skb padding to power of two 2013-09-11 14:30:15 +00:00
700-swconfig.patch generic: export include/linux/switch.h on 3.3, 3.6 2012-12-14 12:11:48 +00:00
701-phy_extension.patch
702-phy_add_aneg_done_function.patch
703-phy-add-detach-callback-to-struct-phy_driver.patch generic: add detach callback to struct phy_driver 2013-02-07 15:18:24 +00:00
710-phy-add-mdio_register_board_info.patch generic: add detach callback to struct phy_driver 2013-02-07 15:18:24 +00:00
720-phy_adm6996.patch
721-phy_packets.patch kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULL 2013-04-22 15:01:36 +00:00
722-phy_mvswitch.patch
723-phy_ip175c.patch
724-phy_ar8216.patch
725-phy_rtl8306.patch
726-phy_rtl8366.patch generic: rtl8366_smi: rename debugfs Kconfig symbol 2012-05-27 17:09:43 +00:00
727-phy-rtl8367.patch generic: rtl8366_smi: rename debugfs Kconfig symbol 2012-05-27 17:09:43 +00:00
728-phy-micrel.patch
729-phy-rtl8367b.patch generic: add driver for the the RTL8367R{B,-VB} switches 2012-10-18 07:22:56 +00:00
729-phy-tantos.patch refresh 3.3 patches 2012-10-21 21:30:30 +00:00
750-hostap_txpower.patch
800-usb-ohci-multiple-platform-driver-fix.patch generic: add EHCI|OHCI platform driver fix to 3.[36] 2013-01-17 13:54:14 +00:00
801-usb-ehci-multiple-platform-driver-fix.patch generic: add EHCI|OHCI platform driver fix to 3.[36] 2013-01-17 13:54:14 +00:00
810-pci_disable_common_quirks.patch
811-pci_disable_usb_common_quirks.patch generic: extend pci_isable_usb_common_quirks patch 2012-08-15 13:26:51 +00:00
820-usb_add_usb_find_device_by_name.patch
830-ledtrig_morse.patch
831-ledtrig_netdev.patch
832-ledtrig_usbdev.patch
840-rtc7301.patch
841-rtc_pt7c4338.patch
861-04_spi_gpio_implement_spi_delay.patch
862-gpio_spi_driver.patch
863-gpiommc.patch strict_strtoul is obsolete, use kstrtoul instead 2013-07-27 09:23:18 +00:00
864-gpiommc_configfs_locking.patch strict_strtoul is obsolete, use kstrtoul instead 2013-07-27 09:23:18 +00:00
870-hifn795x_byteswap.patch
880-gateworks_system_controller.patch kernel: allow hwmon GSC driver for all targets 2013-09-10 22:26:30 +00:00
900-slab_maxsize.patch
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch
921-use_preinit_as_init.patch refresh generic patches 2012-06-05 13:40:38 +00:00
922-always-create-console-node-in-initramfs.patch kernel: ensure that /dev/console exists in initramfs 2013-08-27 12:02:54 +00:00
930-crashlog.patch kernel: crashlog: Avoid out-of-bounds write 2013-08-21 20:59:25 +00:00
940-ocf_kbuild_integration.patch
941-ocf_20120127.patch backport the upstream entropy changes (#11951) 2012-09-26 12:54:01 +00:00
950-vm_exports.patch
960-decompress_unlzo_fix.patch
970-remove-unsane-filenames-from-deps_initramfs-list.patch generic: sanitize deps_initramfs list 2012-11-09 09:07:29 +00:00
980-arm_openwrt_machtypes.patch add support for the Tonze AP-422/425 2012-11-11 21:04:30 +00:00
992-mpcore_wdt_fix_watchdog_counter_loading.patch
993-mpcore_wdt_fix_wdioc_setoptions_handling.patch
994-mpcore_wdt_fix_timer_mode_setup.patch
a01-swconfig_leds-define-leds_set_brightness.patch generic: swconfig: use led_set_brightness in LED control code 2012-10-26 18:58:18 +00:00
a02-swconfig-revert-portid-snd_portid-usage.patch kernel: fix compile error with gcc-4.8 and kernel 3.3 2014-05-01 13:07:44 +00:00
a03-swconfig-revert-UAPI-disintegration.patch kernel: backport switch user API changes after r36283 2013-04-09 15:47:01 +00:00