···6161LDFLAGS_vmlinux := -Bstatic62626363# The -Iarch/$(ARCH)/include is temporary while we are merging6464-CPPFLAGS += -Iarch/$(ARCH) -Iarch/$(ARCH)/include6565-AFLAGS += -Iarch/$(ARCH)6666-CFLAGS += -Iarch/$(ARCH) -msoft-float -pipe6464+CPPFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH) -Iarch/$(ARCH)/include6565+AFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH)6766CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=none -mcall-aixdesc6868-CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple6969-CFLAGS += $(CFLAGS-y)6767+CFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH) -ffixed-r2 -mmultiple6868+CPPFLAGS += $(CPPFLAGS-y)6969+AFLAGS += $(AFLAGS-y)7070+CFLAGS += -msoft-float -pipe $(CFLAGS-y)7071CPP = $(CC) -E $(CFLAGS)7172# Temporary hack until we have migrated to asm-powerpc7272-LINUXINCLUDE += -Iarch/$(ARCH)/include7373+LINUXINCLUDE-$(CONFIG_PPC32) := -Iarch/$(ARCH)/include7474+LINUXINCLUDE += $(LINUXINCLUDE-y)73757476CHECKFLAGS += -m$(SZ) -D__powerpc__ -D__powerpc$(SZ)__7577···175173176174archprepare: checkbin177175176176+ifeq ($(CONFIG_PPC32),y)178177# Temporary hack until we have migrated to asm-powerpc179178include/asm: arch/$(ARCH)/include/asm180179arch/$(ARCH)/include/asm: FORCE181180 $(Q)if [ ! -d arch/$(ARCH)/include ]; then mkdir -p arch/$(ARCH)/include; fi182181 $(Q)ln -fsn $(srctree)/include/asm-$(OLDARCH) arch/$(ARCH)/include/asm182182+endif183183184184# Use the file '.tmp_gas_check' for binutils tests, as gas won't output185185# to stdout and these checks are run even on install targets.
+1-1
arch/powerpc/mm/hugetlbpage.c
···295295 if (addr < 0x100000000UL)296296 err = open_low_hpage_areas(current->mm,297297 LOW_ESID_MASK(addr, len));298298- if ((addr + len) >= 0x100000000UL)298298+ if ((addr + len) > 0x100000000UL)299299 err = open_high_hpage_areas(current->mm,300300 HTLB_AREA_MASK(addr, len));301301 if (err) {
+1-1
arch/powerpc/platforms/iseries/iommu.c
···33 *44 * Rewrite, cleanup:55 *66- * Copyright (C) 2004 Olof Johansson <olof@austin.ibm.com>, IBM Corporation66+ * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation77 *88 * Dynamic DMA mapping support, iSeries-specific parts.99 *
+1-1
arch/powerpc/platforms/pseries/iommu.c
···55 *66 * Rewrite, cleanup: 77 *88- * Copyright (C) 2004 Olof Johansson <olof@austin.ibm.com>, IBM Corporation88+ * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation99 *1010 * Dynamic DMA mapping support, pSeries-specific parts, both SMP and LPAR.1111 *
+1-1
arch/powerpc/sysdev/dart.h
···11/*22- * Copyright (C) 2004 Olof Johansson <olof@austin.ibm.com>, IBM Corporation22+ * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation33 *44 * This program is free software; you can redistribute it and/or modify55 * it under the terms of the GNU General Public License as published by
+2-2
arch/powerpc/sysdev/u3_iommu.c
···11/*22 * arch/powerpc/sysdev/u3_iommu.c33 *44- * Copyright (C) 2004 Olof Johansson <olof@austin.ibm.com>, IBM Corporation44+ * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation55 *66 * Based on pSeries_iommu.c:77 * Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation88- * Copyright (C) 2004 Olof Johansson <olof@austin.ibm.com>, IBM Corporation88+ * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation99 *1010 * Dynamic DMA mapping support, Apple U3 & IBM CPC925 "DART" iommu.1111 *
+1-1
include/asm-powerpc/iommu.h
···11/*22 * Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation33 * Rewrite, cleanup:44- * Copyright (C) 2004 Olof Johansson <olof@austin.ibm.com>, IBM Corporation44+ * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation55 * 66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
···11/*22 * Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation33 * Rewrite, cleanup:44- * Copyright (C) 2004 Olof Johansson <olof@austin.ibm.com>, IBM Corporation44+ * Copyright (C) 2004 Olof Johansson <olof@lixom.net>, IBM Corporation55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by