forked from mirrors/linux
		
	The kernel is self-contained project and can be built with bare-metal toolchain. But bare-metal toolchain doesn't define __linux__. Because of this u_quad_t type is not defined when using bare-metal toolchain and codafs build fails. This patch fixes it by defining u_quad_t type unconditionally. Link: http://lkml.kernel.org/r/3cbb40b0a57b6f9923a9d67b53473c0b691a3eaa.1558117389.git.jaharkes@cs.cmu.edu Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Colin Ian King <colin.king@canonical.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: David Howells <dhowells@redhat.com> Cc: Fabian Frederick <fabf@skynet.be> Cc: Mikko Rapeli <mikko.rapeli@iki.fi> Cc: Yann Droneaud <ydroneaud@opteya.com> Cc: Zhouyang Jia <jiazhouyang09@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
		
			
				
	
	
		
			64 lines
		
	
	
	
		
			2.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
	
		
			2.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/* 
 | 
						|
   You may distribute this file under either of the two licenses that
 | 
						|
   follow at your discretion.
 | 
						|
*/
 | 
						|
 | 
						|
/* BLURB lgpl
 | 
						|
 | 
						|
                           Coda File System
 | 
						|
                              Release 5
 | 
						|
 | 
						|
          Copyright (c) 1987-1999 Carnegie Mellon University
 | 
						|
                  Additional copyrights listed below
 | 
						|
 | 
						|
This code is distributed "AS IS" without warranty of any kind under
 | 
						|
the terms of the GNU Library General Public Licence Version 2, as
 | 
						|
shown in the file LICENSE, or under the license shown below. The
 | 
						|
technical and financial contributors to Coda are listed in the file
 | 
						|
CREDITS.
 | 
						|
 | 
						|
                        Additional copyrights 
 | 
						|
*/
 | 
						|
 | 
						|
/*
 | 
						|
 | 
						|
            Coda: an Experimental Distributed File System
 | 
						|
                             Release 4.0
 | 
						|
 | 
						|
          Copyright (c) 1987-1999 Carnegie Mellon University
 | 
						|
                         All Rights Reserved
 | 
						|
 | 
						|
Permission  to  use, copy, modify and distribute this software and its
 | 
						|
documentation is hereby granted,  provided  that  both  the  copyright
 | 
						|
notice  and  this  permission  notice  appear  in  all  copies  of the
 | 
						|
software, derivative works or  modified  versions,  and  any  portions
 | 
						|
thereof, and that both notices appear in supporting documentation, and
 | 
						|
that credit is given to Carnegie Mellon University  in  all  documents
 | 
						|
and publicity pertaining to direct or indirect use of this code or its
 | 
						|
derivatives.
 | 
						|
 | 
						|
CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS  KNOWN  TO  HAVE  BUGS,
 | 
						|
SOME  OF  WHICH MAY HAVE SERIOUS CONSEQUENCES.  CARNEGIE MELLON ALLOWS
 | 
						|
FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION.   CARNEGIE  MELLON
 | 
						|
DISCLAIMS  ANY  LIABILITY  OF  ANY  KIND  FOR  ANY  DAMAGES WHATSOEVER
 | 
						|
RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE  OR  OF
 | 
						|
ANY DERIVATIVE WORK.
 | 
						|
 | 
						|
Carnegie  Mellon  encourages  users  of  this  software  to return any
 | 
						|
improvements or extensions that  they  make,  and  to  grant  Carnegie
 | 
						|
Mellon the rights to redistribute these changes without encumbrance.
 | 
						|
*/
 | 
						|
 | 
						|
/*
 | 
						|
 *
 | 
						|
 * Based on cfs.h from Mach, but revamped for increased simplicity.
 | 
						|
 * Linux modifications by 
 | 
						|
 * Peter Braam, Aug 1996
 | 
						|
 */
 | 
						|
#ifndef _CODA_HEADER_
 | 
						|
#define _CODA_HEADER_
 | 
						|
 | 
						|
typedef unsigned long long u_quad_t;
 | 
						|
 | 
						|
#include <uapi/linux/coda.h>
 | 
						|
#endif 
 |