Module: Mesa
Branch: staging/23.3
Commit: c24841d1e2543d7a7f6e6c645aef1c999c14d382
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c24841d1e2543d7a7f6e6c645aef1c999c14d382

Author: Matt Turner <matts...@gmail.com>
Date:   Wed Jan 10 17:31:08 2024 -0500

util: Add DETECT_ARCH_HPPA macro

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26991>
(cherry picked from commit 0540c9de447730e5efe73a0c5a1a5b6c1e902722)

---

 .pick_status.json      | 2 +-
 src/util/detect_arch.h | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/.pick_status.json b/.pick_status.json
index 398794940f2..9fc93a99059 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -514,7 +514,7 @@
         "description": "util: Add DETECT_ARCH_HPPA macro",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null,
         "notes": null
diff --git a/src/util/detect_arch.h b/src/util/detect_arch.h
index 334358fcc26..b3f7f90ac96 100644
--- a/src/util/detect_arch.h
+++ b/src/util/detect_arch.h
@@ -97,6 +97,10 @@
 #define DETECT_ARCH_MIPS 1
 #endif
 
+#if defined(__hppa__)
+#define DETECT_ARCH_HPPA 1
+#endif
+
 #ifndef DETECT_ARCH_X86
 #define DETECT_ARCH_X86 0
 #endif
@@ -137,4 +141,8 @@
 #define DETECT_ARCH_MIPS 0
 #endif
 
+#ifndef DETECT_ARCH_HPPA
+#define DETECT_ARCH_HPPA 0
+#endif
+
 #endif /* UTIL_DETECT_ARCH_H_ */

Reply via email to