| From: Kent Overstreet <kent.overstreet@linux.dev> |
| Subject: asm-generic/io.h: kill vmalloc.h dependency |
| Date: Thu, 21 Mar 2024 09:36:24 -0700 |
| |
| Needed to avoid a new circular dependency with the memory allocation |
| profiling series. |
| |
| Naturally, a whole bunch of files needed to include vmalloc.h that were |
| previously getting it implicitly. |
| |
| Link: https://lkml.kernel.org/r/20240321163705.3067592-3-surenb@google.com |
| Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> |
| Signed-off-by: Suren Baghdasaryan <surenb@google.com> |
| Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com> |
| Tested-by: Kees Cook <keescook@chromium.org> |
| Cc: Alexander Viro <viro@zeniv.linux.org.uk> |
| Cc: Alex Gaynor <alex.gaynor@gmail.com> |
| Cc: Alice Ryhl <aliceryhl@google.com> |
| Cc: Andreas Hindborg <a.hindborg@samsung.com> |
| Cc: Benno Lossin <benno.lossin@proton.me> |
| Cc: "Björn Roy Baron" <bjorn3_gh@protonmail.com> |
| Cc: Boqun Feng <boqun.feng@gmail.com> |
| Cc: Christoph Lameter <cl@linux.com> |
| Cc: Dennis Zhou <dennis@kernel.org> |
| Cc: Gary Guo <gary@garyguo.net> |
| Cc: Miguel Ojeda <ojeda@kernel.org> |
| Cc: Peter Zijlstra <peterz@infradead.org> |
| Cc: Tejun Heo <tj@kernel.org> |
| Cc: Vlastimil Babka <vbabka@suse.cz> |
| Cc: Wedson Almeida Filho <wedsonaf@gmail.com> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| include/asm-generic/io.h | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| --- a/include/asm-generic/io.h~asm-generic-ioh-kill-vmalloch-dependency |
| +++ a/include/asm-generic/io.h |
| @@ -992,7 +992,6 @@ static inline void iowrite64_rep(volatil |
| |
| #ifdef __KERNEL__ |
| |
| -#include <linux/vmalloc.h> |
| #define __io_virt(x) ((void __force *)(x)) |
| |
| /* |
| _ |