mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Kbuild updates for v6.6
- Enable -Wenum-conversion warning option - Refactor the rpm-pkg target - Fix scripts/setlocalversion to consider annotated tags for rt-kernel - Add a jump key feature for the search menu of 'make nconfig' - Support Qt6 for 'make xconfig' - Enable -Wformat-overflow, -Wformat-truncation, -Wstringop-overflow, and -Wrestrict warnings for W=1 builds - Replace <asm/export.h> with <linux/export.h> for alpha, ia64, and sparc - Support DEB_BUILD_OPTIONS=parallel=N for the debian source package - Refactor scripts/Makefile.modinst and fix some modules_sign issues - Add a new Kconfig env variable to warn symbols that are not defined anywhere - Show help messages of config fragments in 'make help' -----BEGIN PGP SIGNATURE----- iQJJBAABCgAzFiEEbmPs18K1szRHjPqEPYsBB53g2wYFAmT3X/oVHG1hc2FoaXJv eUBrZXJuZWwub3JnAAoJED2LAQed4NsG58oQAIXDrka3r53Flky/uJjSl8ab620o XL3u4PF/ekv6qsZoLlU24WQP8BzcJO6gPHFz88mE9/J1+wHpNKZLZehjpgj1cCY3 LatbEAa3DCZPC/c7P/nz+FT4mjTZpKOeQmvZVfA+xonBHmTyVUKgws0uDB/xuTjE GARyOX7ymD0AAZv84SUUCiaBe5Y2Bkrki67HfteS4bxW8GHg0rZWzrFUUkEkoG54 elNOYR0WYROwyo8Iokd2MedVdK2SPZxvY8i67hXl2K+Qve6tLNk8dbRIENnYI0pk 7oQVmIfC20eu9CteywHlyjt8jpTOeIrRc2yhJKR0YrjjIzKhulRGMh+pFAAwoySd Se60uWCS2AydcXWTrtb+iwFUyM2zRK4SaMlxleqnoE/bWYp6jhg9qbV9xpztWSYI j39k9aX7B19stN1drzJeyXdILRVtaAQCcax3RR+mGgm4Z5fuTDntPepvIv8J3lBg QZ4MCdOdtFw33eQaKa7O3LddD3q1X355xeaIITivEe3rAk5iIJYu3Ty1VY+/XTcH ktSVl83zQ5Ge3tvx8D6kCR9J8jAQyTLIKHxvr/j969HgZKguS2i37eChnPyKcu23 ZMKJcmCJ1O7naQXVrb/TeiaMR0UEo/PSdrUjpEO3LlMpRthNXLVSLfgJGv8WLO7/ pb/HFXHgKaSORiRV =lfUi -----END PGP SIGNATURE----- Merge tag 'kbuild-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild Pull Kbuild updates from Masahiro Yamada: - Enable -Wenum-conversion warning option - Refactor the rpm-pkg target - Fix scripts/setlocalversion to consider annotated tags for rt-kernel - Add a jump key feature for the search menu of 'make nconfig' - Support Qt6 for 'make xconfig' - Enable -Wformat-overflow, -Wformat-truncation, -Wstringop-overflow, and -Wrestrict warnings for W=1 builds - Replace <asm/export.h> with <linux/export.h> for alpha, ia64, and sparc - Support DEB_BUILD_OPTIONS=parallel=N for the debian source package - Refactor scripts/Makefile.modinst and fix some modules_sign issues - Add a new Kconfig env variable to warn symbols that are not defined anywhere - Show help messages of config fragments in 'make help' * tag 'kbuild-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (62 commits) kconfig: fix possible buffer overflow kbuild: Show marked Kconfig fragments in "help" kconfig: add warn-unknown-symbols sanity check kbuild: dummy-tools: make MPROFILE_KERNEL checks work on BE Documentation/llvm: refresh docs modpost: Skip .llvm.call-graph-profile section check kbuild: support modules_sign for external modules as well kbuild: support 'make modules_sign' with CONFIG_MODULE_SIG_ALL=n kbuild: move more module installation code to scripts/Makefile.modinst kbuild: reduce the number of mkdir calls during modules_install kbuild: remove $(MODLIB)/source symlink kbuild: move depmod rule to scripts/Makefile.modinst kbuild: add modules_sign to no-{compiler,sync-config}-targets kbuild: do not run depmod for 'make modules_sign' kbuild: deb-pkg: support DEB_BUILD_OPTIONS=parallel=N in debian/rules alpha: remove <asm/export.h> alpha: replace #include <asm/export.h> with #include <linux/export.h> ia64: remove <asm/export.h> ia64: replace #include <asm/export.h> with #include <linux/export.h> sparc: remove <asm/export.h> ...
This commit is contained in:
commit
61401a8724
149 changed files with 1076 additions and 825 deletions
|
@ -1,7 +1,6 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
generated-y += syscall_table.h
|
||||
generic-y += agp.h
|
||||
generic-y += export.h
|
||||
generic-y += kvm_para.h
|
||||
generic-y += mcs_spinlock.h
|
||||
generic-y += vtime.h
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
* pNonSys: !pSys
|
||||
*/
|
||||
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <linux/pgtable.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/cache.h>
|
||||
|
@ -49,7 +49,6 @@
|
|||
#include <asm/thread_info.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/ftrace.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#include "minstate.h"
|
||||
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
#define PSR_BITS_TO_SET \
|
||||
(IA64_PSR_BN)
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
/*
|
||||
* Inputs:
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* Support for CPU Hotplug
|
||||
*/
|
||||
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <linux/pgtable.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/fpu.h>
|
||||
|
@ -33,7 +33,6 @@
|
|||
#include <asm/mca_asm.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/linkage.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#ifdef CONFIG_HOTPLUG_CPU
|
||||
#define SAL_PSR_BITS_TO_SET \
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
* Table is based upon EAS2.6 (Oct 1999)
|
||||
*/
|
||||
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <linux/pgtable.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/break.h>
|
||||
|
@ -58,7 +58,6 @@
|
|||
#include <asm/thread_info.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/errno.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#if 0
|
||||
# define PSR_DEFAULT_BITS psr.ac
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
* 05/24/2000 eranian Added support for physical mode static calls
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
.data
|
||||
pal_entry_point:
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
* 3/08/02 davidm Some more tweaking
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#ifdef CONFIG_ITANIUM
|
||||
# define L3_LINE_SIZE 64 // Itanium L3 line size
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
* Stephane Eranian <eranian@hpl.hp.com>
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
//
|
||||
// arguments
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
*
|
||||
* 4/06/01 davidm Tuned to make it perform well both for cached and uncached copies.
|
||||
*/
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#define PIPE_DEPTH 3
|
||||
#define EPI p[PIPE_DEPTH-1]
|
||||
|
|
|
@ -60,9 +60,9 @@
|
|||
* to fetch the second-half of the L2 cache line into L1, and the tX words are copied in
|
||||
* an order that avoids bank conflicts.
|
||||
*/
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#define PREFETCH_DIST 8 // McKinley sustains 16 outstanding L2 misses (8 ld, 8 st)
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
* - fix extraneous stop bit introduced by the EX() macro.
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
//
|
||||
// Tuneable parameters
|
||||
|
|
|
@ -8,9 +8,8 @@
|
|||
* 05/28/05 Zoltan Menyhart Dynamic stride size
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
|
||||
/*
|
||||
* flush_icache_range(start,end)
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
* (http://www.goodreads.com/book/show/2019887.Ia_64_and_Elementary_Functions)
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#ifdef MODULO
|
||||
# define OP mod
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
* (http://www.goodreads.com/book/show/2019887.Ia_64_and_Elementary_Functions)
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#ifdef MODULO
|
||||
# define OP mod
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
* Copyright (C) 2002, 2006 Ken Chen <kenneth.w.chen@intel.com>
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
/*
|
||||
* Since we know that most likely this function is called with buf aligned
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
* Stephane Eranian <eranian@hpl.hp.com>
|
||||
* David Mosberger-Tang <davidm@hpl.hp.com>
|
||||
*/
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
GLOBAL_ENTRY(memcpy)
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
* Copyright (C) 2002 Intel Corp.
|
||||
* Copyright (C) 2002 Ken Chen <kenneth.w.chen@intel.com>
|
||||
*/
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
#define EK(y...) EX(y)
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
Since a stf.spill f0 can store 16B in one go, we use this instruction
|
||||
to get peak speed when value = 0. */
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
#undef ret
|
||||
|
||||
#define dest in0
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
* 09/24/99 S.Eranian add speculation recovery code
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
//
|
||||
//
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
* by Andreas Schwab <schwab@suse.de>).
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
GLOBAL_ENTRY(__strncpy_from_user)
|
||||
alloc r2=ar.pfs,3,0,0,0
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
* Copyright (C) 1999, 2001 David Mosberger-Tang <davidm@hpl.hp.com>
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
GLOBAL_ENTRY(__strnlen_user)
|
||||
.prologue
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Optimized RAID-5 checksumming functions for IA-64.
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <asm/asmmacro.h>
|
||||
#include <asm/export.h>
|
||||
|
||||
GLOBAL_ENTRY(xor_ia64_2)
|
||||
.prologue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue