summaryrefslogtreecommitdiffstats
path: root/src/mesa/sparc/sparc_matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/sparc/sparc_matrix.h')
-rw-r--r--src/mesa/sparc/sparc_matrix.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/sparc/sparc_matrix.h b/src/mesa/sparc/sparc_matrix.h
index 4fe09e83eaf..5a70cafdb9e 100644
--- a/src/mesa/sparc/sparc_matrix.h
+++ b/src/mesa/sparc/sparc_matrix.h
@@ -1,9 +1,11 @@
-/* $Id: sparc_matrix.h,v 1.3 2001/06/06 11:46:04 davem69 Exp $ */
+/*
+ * SPARC assembly matrix code.
+ */
#ifndef _SPARC_MATRIX_H
#define _SPARC_MATRIX_H
-#ifdef __sparc_v9__
+#if defined(__sparc_v9__) && !defined(__linux__)
#define LDPTR ldx
#define MAT_M 0x00
#define MAT_INV 0x08