Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'fixes-2025-04-13' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock

Pull memblock fix from Mike Rapoport:
"Fix build of memblock test.

Add missing stubs for mutex and free_reserved_area() to memblock
tests"

* tag 'fixes-2025-04-13' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
memblock tests: Fix mutex related build error

+20
+6
tools/testing/memblock/internal.h
··· 24 24 { 25 25 } 26 26 27 + static inline unsigned long free_reserved_area(void *start, void *end, 28 + int poison, const char *s) 29 + { 30 + return 0; 31 + } 32 + 27 33 #endif
+14
tools/testing/memblock/linux/mutex.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + #ifndef _MUTEX_H 3 + #define _MUTEX_H 4 + 5 + #define DEFINE_MUTEX(name) int name 6 + 7 + static inline void dummy_mutex_guard(int *name) 8 + { 9 + } 10 + 11 + #define guard(mutex) \ 12 + dummy_##mutex##_guard 13 + 14 + #endif /* _MUTEX_H */