public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dao Lu <daolu@rivosinc.com>
To: kvm@vger.kernel.org
Cc: Dao Lu <daolu@rivosinc.com>
Subject: [PATCH kvmtool] Fixes: 0febaae00bb6 ("Add asm/kernel.h for riscv")
Date: Fri, 20 May 2022 11:09:46 -0700	[thread overview]
Message-ID: <20220520180946.104214-1-daolu@rivosinc.com> (raw)

Signed-off-by: Dao Lu <daolu@rivosinc.com>
---
 riscv/include/asm/kernel.h | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 riscv/include/asm/kernel.h

diff --git a/riscv/include/asm/kernel.h b/riscv/include/asm/kernel.h
new file mode 100644
index 0000000..a2a8d9e
--- /dev/null
+++ b/riscv/include/asm/kernel.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __ASM_KERNEL_H
+#define __ASM_KERNEL_H
+
+#define NR_CPUS	4096
+
+#endif /* __ASM_KERNEL_H */
-- 
2.36.0


             reply	other threads:[~2022-05-20 18:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20 18:09 Dao Lu [this message]
2022-05-23  9:31 ` [PATCH kvmtool] Fixes: 0febaae00bb6 ("Add asm/kernel.h for riscv") Alexandru Elisei
2022-05-23  9:34   ` Alexandru Elisei
2022-05-23 16:04     ` Dao Lu
2022-05-23 16:28       ` Alexandru Elisei
2022-05-23 19:15         ` Dao Lu
2022-05-24  8:11           ` Alexandru Elisei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220520180946.104214-1-daolu@rivosinc.com \
    --to=daolu@rivosinc.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox