From: Conor Dooley <mail@conchuod.ie> To: Michal Simek <monstr@monstr.eu>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Heiko Carstens <hca@linux.ibm.com>, Vasily Gorbik <gor@linux.ibm.com>, Alexander Gordeev <agordeev@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Sven Schnelle <svens@linux.ibm.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, "David S . Miller" <davem@davemloft.net>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>, Arnd Bergmann <arnd@arndb.de> Cc: Geert Uytterhoeven <geert@linux-m68k.org>, Conor Dooley <conor.dooley@microchip.com>, Kees Cook <keescook@chromium.org>, Peter Zijlstra <peterz@infradead.org>, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org Subject: [PATCH 2/6] microblaze: use the asm-generic version of cpuinfo_op Date: Sun, 21 Aug 2022 12:35:09 +0100 [thread overview] Message-ID: <20220821113512.2056409-3-mail@conchuod.ie> (raw) In-Reply-To: <20220821113512.2056409-1-mail@conchuod.ie> From: Conor Dooley <conor.dooley@microchip.com> There's little point in duplicating the declaration of cpuinfo_op now that there's a shared version of it, so drop it & include the generic header. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> --- arch/microblaze/include/asm/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h index 7e9e92670df3..45a86692e90f 100644 --- a/arch/microblaze/include/asm/processor.h +++ b/arch/microblaze/include/asm/processor.h @@ -13,10 +13,10 @@ #include <asm/registers.h> #include <asm/entry.h> #include <asm/current.h> +#include <asm-generic/processor.h> # ifndef __ASSEMBLY__ /* from kernel/cpu/mb.c */ -extern const struct seq_operations cpuinfo_op; # define cpu_relax() barrier() -- 2.37.1
WARNING: multiple messages have this Message-ID (diff)
From: Conor Dooley <mail@conchuod.ie> To: Michal Simek <monstr@monstr.eu>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Heiko Carstens <hca@linux.ibm.com>, Vasily Gorbik <gor@linux.ibm.com>, Alexander Gordeev <agordeev@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Sven Schnelle <svens@linux.ibm.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, "David S . Miller" <davem@davemloft.net>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>, Arnd Bergmann <arnd@arndb.de> Cc: Geert Uytterhoeven <geert@linux-m68k.org>, Conor Dooley <conor.dooley@microchip.com>, Kees Cook <keescook@chromium.org>, Peter Zijlstra <peterz@infradead.org>, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org Subject: [PATCH 2/6] microblaze: use the asm-generic version of cpuinfo_op Date: Sun, 21 Aug 2022 12:35:09 +0100 [thread overview] Message-ID: <20220821113512.2056409-3-mail@conchuod.ie> (raw) In-Reply-To: <20220821113512.2056409-1-mail@conchuod.ie> From: Conor Dooley <conor.dooley@microchip.com> There's little point in duplicating the declaration of cpuinfo_op now that there's a shared version of it, so drop it & include the generic header. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> --- arch/microblaze/include/asm/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h index 7e9e92670df3..45a86692e90f 100644 --- a/arch/microblaze/include/asm/processor.h +++ b/arch/microblaze/include/asm/processor.h @@ -13,10 +13,10 @@ #include <asm/registers.h> #include <asm/entry.h> #include <asm/current.h> +#include <asm-generic/processor.h> # ifndef __ASSEMBLY__ /* from kernel/cpu/mb.c */ -extern const struct seq_operations cpuinfo_op; # define cpu_relax() barrier() -- 2.37.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2022-08-21 11:36 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-21 11:35 [PATCH 0/6] Add an asm-generic cpuinfo_op declaration Conor Dooley 2022-08-21 11:35 ` Conor Dooley 2022-08-21 11:35 ` [PATCH 1/6] asm-generic: add a cpuinfo_ops definition in shared code Conor Dooley 2022-08-21 11:35 ` Conor Dooley 2022-08-21 11:44 ` Conor.Dooley 2022-08-21 11:44 ` Conor.Dooley 2022-08-21 11:35 ` Conor Dooley [this message] 2022-08-21 11:35 ` [PATCH 2/6] microblaze: use the asm-generic version of cpuinfo_op Conor Dooley 2022-08-21 11:35 ` [PATCH 3/6] s390: " Conor Dooley 2022-08-21 11:35 ` Conor Dooley 2022-08-21 11:35 ` [PATCH 4/6] sh: " Conor Dooley 2022-08-21 11:35 ` Conor Dooley 2022-08-21 11:35 ` [PATCH 5/6] sparc: " Conor Dooley 2022-08-21 11:35 ` Conor Dooley 2022-08-26 14:47 ` Sam Ravnborg 2022-08-26 14:47 ` Sam Ravnborg 2022-08-26 15:37 ` Conor.Dooley 2022-08-26 15:37 ` Conor.Dooley 2022-08-26 17:41 ` Sam Ravnborg 2022-08-26 17:41 ` Sam Ravnborg 2022-08-21 11:35 ` [PATCH 6/6] x86: " Conor Dooley 2022-08-21 11:35 ` Conor Dooley 2022-08-22 9:36 ` [PATCH 0/6] Add an asm-generic cpuinfo_op declaration Geert Uytterhoeven 2022-08-22 9:36 ` Geert Uytterhoeven 2022-08-22 10:05 ` Conor.Dooley 2022-08-22 10:05 ` Conor.Dooley 2022-08-22 10:45 ` Geert Uytterhoeven 2022-08-22 10:45 ` Geert Uytterhoeven
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=20220821113512.2056409-3-mail@conchuod.ie \ --to=mail@conchuod.ie \ --cc=agordeev@linux.ibm.com \ --cc=aou@eecs.berkeley.edu \ --cc=arnd@arndb.de \ --cc=borntraeger@linux.ibm.com \ --cc=bp@alien8.de \ --cc=conor.dooley@microchip.com \ --cc=dalias@libc.org \ --cc=dave.hansen@linux.intel.com \ --cc=davem@davemloft.net \ --cc=geert@linux-m68k.org \ --cc=gor@linux.ibm.com \ --cc=hca@linux.ibm.com \ --cc=hpa@zytor.com \ --cc=keescook@chromium.org \ --cc=linux-arch@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-riscv@lists.infradead.org \ --cc=linux-s390@vger.kernel.org \ --cc=linux-sh@vger.kernel.org \ --cc=mingo@redhat.com \ --cc=monstr@monstr.eu \ --cc=palmer@dabbelt.com \ --cc=paul.walmsley@sifive.com \ --cc=peterz@infradead.org \ --cc=sparclinux@vger.kernel.org \ --cc=svens@linux.ibm.com \ --cc=tglx@linutronix.de \ --cc=x86@kernel.org \ --cc=ysato@users.sourceforge.jp \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.