mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-26 01:22:40 -04:00
In the very early kernel 1.x days, assembler files were pre-processed with the "-traditional" flag. With kernel 1.1.85, the sparc subsystem was changed to use "-ansi" instead while the other parts of the kernel continued to use "-traditional". That "-traditional" got removed from the other architectures in the course of time, but the sparc part kept the "-ansi" until today. This is bad since it comes with some disadvantages nowadays: You have to make sure to not include any header that contains a "//" C++ comment by accident (there are now some in the tree that use these for SPDX identifiers for example), and with "-ansi" we also do not get the pre-defined __ASSEMBLER__ macro which we'd like to use instead of the kernel-only __ASSEMBLY__ macro in the future. Since there does not seem to be any compelling reason anymore to use "-ansi" nowadays, let's simply drop the "-ansi" flag from the sparc subsystem now to get rid of those disadvantages. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Tested-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Andreas Larsson <andreas@gaisler.com>
17 lines
542 B
Makefile
17 lines
542 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for the linux Sparc-specific parts of the memory manager.
|
|
#
|
|
|
|
obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
|
|
obj-y += fault_$(BITS).o
|
|
obj-y += init_$(BITS).o
|
|
obj-$(CONFIG_SPARC32) += srmmu.o iommu.o io-unit.o
|
|
obj-$(CONFIG_SPARC32) += srmmu_access.o
|
|
obj-$(CONFIG_SPARC32) += hypersparc.o viking.o tsunami.o swift.o
|
|
obj-$(CONFIG_SPARC32) += leon_mm.o
|
|
|
|
# Only used by sparc64
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
|
|
|
obj-$(CONFIG_EXECMEM) += execmem.o
|