Remove *TLS-INDEX-LOCK* symbol if not used.
[sbcl.git] / src / compiler / early-backend.lisp
blobcf0fd873641404224733840f3696790808371ec3
1 ;;;; This software is part of the SBCL system. See the README file for
2 ;;;; more information.
3 ;;;;
4 ;;;; This software is derived from the CMU CL system, which was
5 ;;;; written at Carnegie Mellon University and released into the
6 ;;;; public domain. The software is in the public domain and is
7 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
8 ;;;; files for more information.
10 (in-package "SB!C")
12 ;;; the maximum number of bytes per page on this system (used by GENESIS)
13 (defvar *backend-page-bytes* 0)
14 (declaim (type index *backend-page-bytes*))
16 #!+sb-thread
17 (progn
18 (defglobal sb!vm::*free-tls-index* 0)
19 ;; Keep in sync with 'compiler/generic/parms.lisp'
20 #!+ppc ; only PPC uses a separate symbol for the TLS index lock
21 (!defglobal sb!vm::*tls-index-lock* 0))