ia64/xen-unstable

changeset 12984:3d93083e3934

[POWERPC][XEN] Remove unused uaccess.h header.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Hollis Blanchard <hollisb@us.ibm.com>
date Tue Dec 12 13:54:00 2006 -0600 (2006-12-12)
parents 79b49fca62e8
children 3d7759a9247f
files xen/include/asm-powerpc/uaccess.h
line diff
     1.1 --- a/xen/include/asm-powerpc/uaccess.h	Tue Dec 12 13:52:38 2006 -0600
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,38 +0,0 @@
     1.4 -/*
     1.5 - * This program is free software; you can redistribute it and/or modify
     1.6 - * it under the terms of the GNU General Public License as published by
     1.7 - * the Free Software Foundation; either version 2 of the License, or
     1.8 - * (at your option) any later version.
     1.9 - *
    1.10 - * This program is distributed in the hope that it will be useful,
    1.11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.13 - * GNU General Public License for more details.
    1.14 - *
    1.15 - * You should have received a copy of the GNU General Public License
    1.16 - * along with this program; if not, write to the Free Software
    1.17 - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    1.18 - *
    1.19 - * Copyright (C) IBM Corp. 2006
    1.20 - *
    1.21 - * Authors: Hollis Blanchard <hollisb@us.ibm.com>
    1.22 - */
    1.23 -
    1.24 -#ifndef __PPC_UACCESS_H__
    1.25 -#define __PPC_UACCESS_H__
    1.26 -
    1.27 -#include <xen/errno.h>
    1.28 -#include <asm/page.h>
    1.29 -#include <asm/guest_access.h>
    1.30 -
    1.31 -/* since we run in real mode, we can safely access all addresses.
    1.32 - * XXX well, except IO. should we check for that here? */
    1.33 -#define access_ok(addr,size) 1
    1.34 -#define array_access_ok(addr,count,size) 1
    1.35 -
    1.36 -#define __copy_to_user copy_to_user
    1.37 -#define __copy_from_user copy_from_user
    1.38 -#define copy_to_user(to,from,len) xencomm_copy_to_guest(to,from,len,0)
    1.39 -#define copy_from_user(to,from,len) xencomm_copy_from_guest(to,from,len,0)
    1.40 -
    1.41 -#endif /* __PPC_UACCESS_H__ */