# git rev-parse -q --verify 227c3e9eb5cf3552c2cc83225df6d14adb05f8e8^{commit} 227c3e9eb5cf3552c2cc83225df6d14adb05f8e8 already have revision, skipping fetch # git checkout -q -f -B kisskb 227c3e9eb5cf3552c2cc83225df6d14adb05f8e8 # git clean -qxdf # < git log -1 # commit 227c3e9eb5cf3552c2cc83225df6d14adb05f8e8 # Merge: 56c631f5aec3 32ee8230b2b0 # Author: Linus Torvalds # Date: Sat Sep 21 09:47:19 2019 -0700 # # Merge tag 'compiler-attributes-for-linus-v5.4' of git://github.com/ojeda/linux # # Pull asm inline support from Miguel Ojeda: # "Make use of gcc 9's "asm inline()" (Rasmus Villemoes): # # gcc 9+ (and gcc 8.3, 7.5) provides a way to override the otherwise # crude heuristic that gcc uses to estimate the size of the code # represented by an asm() statement. From the gcc docs # # If you use 'asm inline' instead of just 'asm', then for inlining # purposes the size of the asm is taken as the minimum size, ignoring # how many instructions GCC thinks it is. # # For compatibility with older compilers, we obviously want a # # #if [understands asm inline] # #define asm_inline asm inline # #else # #define asm_inline asm # #endif # # But since we #define the identifier inline to attach some attributes, # we have to use an alternate spelling of that keyword. gcc provides # both __inline__ and __inline, and we currently #define both to inline, # so they all have the same semantics. # # We have to free up one of __inline__ and __inline, and the latter is # by far the easiest. # # The two x86 changes cause smaller code gen differences than I'd # expect, but I think we do want the asm_inline thing available sooner # or later, so this is just to get the ball rolling" # # * tag 'compiler-attributes-for-linus-v5.4' of git://github.com/ojeda/linux: # x86: bug.h: use asm_inline in _BUG_FLAGS definitions # x86: alternative.h: use asm_inline for all alternative variants # compiler-types.h: add asm_inline definition # compiler_types.h: don't #define __inline # lib/zstd/mem.h: replace __inline by inline # staging: rtl8723bs: replace __inline by inline # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-ld --version # < git log --format=%s --max-count=1 227c3e9eb5cf3552c2cc83225df6d14adb05f8e8 # < make -s -j 32 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- a500_defconfig # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- In file included from /kisskb/src/arch/parisc/include/asm/atomic.h:10, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/arch/parisc/include/asm/bitops.h:13, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/fs/nfs/read.c:11: /kisskb/src/fs/nfs/read.c: In function 'nfs_read_completion': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/nfs/read.c:196:5: note: in expansion of macro 'xchg' xchg(&nfs_req_openctx(req)->error, error); ^~~~ /kisskb/src/fs/nfs/read.c: In function 'nfs_readpage': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/nfs/read.c:352:2: note: in expansion of macro 'xchg' xchg(&ctx->error, 0); ^~~~ In file included from /kisskb/src/arch/parisc/include/asm/atomic.h:10, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/arch/parisc/include/asm/bitops.h:13, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/scsi/scsi_debug.c:18: /kisskb/src/drivers/scsi/scsi_debug.c: In function 'resp_start_stop': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) /kisskb/src/arch/parisc/include/asm/atomic.h:78:30: note: in expansion of macro 'xchg' #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) ^~~~ /kisskb/src/drivers/scsi/scsi_debug.c:1618:2: note: in expansion of macro 'atomic_xchg' atomic_xchg(&devip->stopped, stop); ^~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_a500_defconfig_parisc64 # Build took: 0:01:26.274003