10SN/A/* 20SN/A * Copyright (c) 2004-2007 Apple Inc. All rights reserved. 30SN/A * 40SN/A * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 50SN/A * 60SN/A * This file contains Original Code and/or Modifications of Original Code 70SN/A * as defined in and that are subject to the Apple Public Source License 80SN/A * Version 2.0 (the 'License'). You may not use this file except in 90SN/A * compliance with the License. The rights granted to you under the License 100SN/A * may not be used to create, or enable the creation or redistribution of, 110SN/A * unlawful or unlicensed copies of an Apple operating system, or to 129980SDana.Myers@Sun.COM * circumvent, violate, or enable the circumvention or violation of, any 130SN/A * terms of an Apple operating system software license agreement. 140SN/A * 150SN/A * Please obtain a copy of the License at 160SN/A * http://www.opensource.apple.com/apsl/ and read it before using this file. 170SN/A * 180SN/A * The Original Code and all software distributed under the License are 190SN/A * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 200SN/A * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 210SN/A * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 220SN/A * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 230SN/A * Please see the License for the specific language governing rights and 240SN/A * limitations under the License. 250SN/A * 260SN/A * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 270SN/A */ 280SN/A#ifndef _MACHINE_LOCKS_H_ 290SN/A#define _MACHINE_LOCKS_H_ 300SN/A 310SN/A#if defined (__i386__) || defined (__x86_64__) 320SN/A#include "i386/locks.h" 330SN/A#elif defined (__arm__) 340SN/A#include "arm/locks.h" 350SN/A#else 360SN/A#error architecture not supported 370SN/A#endif 380SN/A 390SN/A#endif /* _MACHINE_LOCKS_H_ */ 400SN/A