platform_kernel-5.15/include
Guoqing Jiang 2861a7ee7f UPSTREAM: mm/damon: move the implementation of damon_insert_region to damon.h
Usually, inline function is declared static since it should sit between
storage and type.  And implement it in a header file if used by multiple
files.

And this change also fixes compile issue when backport damon to 5.10.

  mm/damon/vaddr.c: In function `damon_va_evenly_split_region':
  ./include/linux/damon.h:425:13: error: inlining failed in call to `always_inline' `damon_insert_region': function body not available
  425 | inline void damon_insert_region(struct damon_region *r,
      | ^~~~~~~~~~~~~~~~~~~
  mm/damon/vaddr.c:86:3: note: called from here
  86 | damon_insert_region(n, r, next, t);
     | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link: https://lkml.kernel.org/r/20211223085703.6142-1-guoqing.jiang@linux.dev
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

(cherry picked from commit 2cd4b8e10cc31eadb5b10b1d73b3f28156f3776c)

Bug: 228223814
Signed-off-by: zhijun wan <wanzhijun@oppo.com>
Change-Id: Iaa05318092b8e98bfbfc72a8c5df2cb6de97d224
2022-06-01 15:26:11 -07:00
..
acpi ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions 2022-01-27 11:04:49 +01:00
asm-generic Merge 5.15.35 into android13-5.15 2022-04-24 16:58:59 +02:00
clocksource
crypto
drm Revert "Revert "drm/connector: Fix typo in documentation"" 2022-05-04 13:39:11 -07:00
dt-bindings
keys
kunit kunit: fix kernel-doc warnings due to mismatched arg names 2021-10-06 17:54:07 -06:00
kvm FROMLIST: KVM: arm64: Bump guest PSCI version to 1.1 2022-02-21 18:12:06 +00:00
linux UPSTREAM: mm/damon: move the implementation of damon_insert_region to damon.h 2022-06-01 15:26:11 -07:00
math-emu
media ANDROID: add kabi padding for structures for the android13 release 2022-05-04 13:39:14 -07:00
memory memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode 2022-05-09 09:14:34 +02:00
misc
net UPSTREAM: cfg80211: fix kernel-doc for cfg80211_beacon_data 2022-06-01 09:32:35 -07:00
pcmcia
ras
rdma RDMA/netlink: Add __maybe_unused to static inline in C file 2021-11-25 09:49:07 +01:00
scsi Merge 5.15.36 into android13-5.15 2022-05-18 08:55:59 +02:00
soc net: dsa: tag_ocelot_8021q: break circular dependency with ocelot switch lib 2021-10-12 17:35:18 -07:00
sound ANDROID: add kabi padding for structures for the android13 release 2022-05-04 13:39:14 -07:00
target scsi: target: Fix ordered tag handling 2021-11-25 09:48:29 +01:00
trace ANDROID: vendor_hooks: add vendor hook in blk_mq_rq_ctx_init() 2022-06-01 22:17:28 +00:00
uapi UPSTREAM: cfg80211: support disabling EHT mode 2022-06-01 09:32:35 -07:00
vdso
video
xen xen/gnttab: fix gnttab_end_foreign_access() without page specified 2022-03-11 12:22:37 +01:00
OWNERS