* [PATCH sparc-next] sparc: Make auxiliary vectors for ADI available on 32-bit as well
@ 2018-03-20 14:46 ` Khalid Aziz
0 siblings, 0 replies; 4+ messages in thread
From: Khalid Aziz @ 2018-03-20 14:46 UTC (permalink / raw
To: davem
Cc: Khalid Aziz, shannon.nelson, nagarathnam.muthusamy, nick.alcock,
sparclinux, linux-kernel, Khalid Aziz
Commit c6202ca764ac ("sparc64: Add auxiliary vectors to report
platform ADI properties") adds auxiliary vectors to report ADI
capabilities on sparc64 platform only. This needs to be uniform
across 64-bit and 32-bit. This patch makes the same vectors
available on 32-bit as well.
Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Cc: Khalid Aziz <khalid@gonehiking.org>
---
arch/sparc/include/uapi/asm/auxvec.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/sparc/include/uapi/asm/auxvec.h b/arch/sparc/include/uapi/asm/auxvec.h
index f9937ccfcd99..ab8780fb9df1 100644
--- a/arch/sparc/include/uapi/asm/auxvec.h
+++ b/arch/sparc/include/uapi/asm/auxvec.h
@@ -3,7 +3,6 @@
#define AT_SYSINFO_EHDR 33
-#ifdef CONFIG_SPARC64
/* Avoid overlap with other AT_* values since they are consolidated in
* glibc and any overlaps can cause problems
*/
@@ -12,8 +11,5 @@
#define AT_ADI_UEONADI 50
#define AT_VECTOR_SIZE_ARCH 4
-#else
-#define AT_VECTOR_SIZE_ARCH 1
-#endif
#endif /* !(__ASMSPARC_AUXVEC_H) */
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH sparc-next] sparc: Make auxiliary vectors for ADI available on 32-bit as well
@ 2018-03-20 14:46 ` Khalid Aziz
0 siblings, 0 replies; 4+ messages in thread
From: Khalid Aziz @ 2018-03-20 14:46 UTC (permalink / raw
To: davem
Cc: Khalid Aziz, shannon.nelson, nagarathnam.muthusamy, nick.alcock,
sparclinux, linux-kernel, Khalid Aziz
Commit c6202ca764ac ("sparc64: Add auxiliary vectors to report
platform ADI properties") adds auxiliary vectors to report ADI
capabilities on sparc64 platform only. This needs to be uniform
across 64-bit and 32-bit. This patch makes the same vectors
available on 32-bit as well.
Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Cc: Khalid Aziz <khalid@gonehiking.org>
---
arch/sparc/include/uapi/asm/auxvec.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/sparc/include/uapi/asm/auxvec.h b/arch/sparc/include/uapi/asm/auxvec.h
index f9937ccfcd99..ab8780fb9df1 100644
--- a/arch/sparc/include/uapi/asm/auxvec.h
+++ b/arch/sparc/include/uapi/asm/auxvec.h
@@ -3,7 +3,6 @@
#define AT_SYSINFO_EHDR 33
-#ifdef CONFIG_SPARC64
/* Avoid overlap with other AT_* values since they are consolidated in
* glibc and any overlaps can cause problems
*/
@@ -12,8 +11,5 @@
#define AT_ADI_UEONADI 50
#define AT_VECTOR_SIZE_ARCH 4
-#else
-#define AT_VECTOR_SIZE_ARCH 1
-#endif
#endif /* !(__ASMSPARC_AUXVEC_H) */
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH sparc-next] sparc: Make auxiliary vectors for ADI available on 32-bit as well
2018-03-20 14:46 ` Khalid Aziz
@ 2018-03-20 15:14 ` David Miller
-1 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2018-03-20 15:14 UTC (permalink / raw
To: khalid.aziz
Cc: shannon.nelson, nagarathnam.muthusamy, nick.alcock, sparclinux,
linux-kernel, khalid
From: Khalid Aziz <khalid.aziz@oracle.com>
Date: Tue, 20 Mar 2018 08:46:02 -0600
> Commit c6202ca764ac ("sparc64: Add auxiliary vectors to report
> platform ADI properties") adds auxiliary vectors to report ADI
> capabilities on sparc64 platform only. This needs to be uniform
> across 64-bit and 32-bit. This patch makes the same vectors
> available on 32-bit as well.
>
> Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Applied, thank you.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH sparc-next] sparc: Make auxiliary vectors for ADI available on 32-bit as well
@ 2018-03-20 15:14 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2018-03-20 15:14 UTC (permalink / raw
To: khalid.aziz
Cc: shannon.nelson, nagarathnam.muthusamy, nick.alcock, sparclinux,
linux-kernel, khalid
From: Khalid Aziz <khalid.aziz@oracle.com>
Date: Tue, 20 Mar 2018 08:46:02 -0600
> Commit c6202ca764ac ("sparc64: Add auxiliary vectors to report
> platform ADI properties") adds auxiliary vectors to report ADI
> capabilities on sparc64 platform only. This needs to be uniform
> across 64-bit and 32-bit. This patch makes the same vectors
> available on 32-bit as well.
>
> Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Applied, thank you.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-20 15:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-20 14:46 [PATCH sparc-next] sparc: Make auxiliary vectors for ADI available on 32-bit as well Khalid Aziz
2018-03-20 14:46 ` Khalid Aziz
2018-03-20 15:14 ` David Miller
2018-03-20 15:14 ` David Miller
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.