From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261923AbVGEVF5 (ORCPT ); Tue, 5 Jul 2005 17:05:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261953AbVGEVDd (ORCPT ); Tue, 5 Jul 2005 17:03:33 -0400 Received: from ozlabs.org ([203.10.76.45]:7619 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S261923AbVGEVBk (ORCPT ); Tue, 5 Jul 2005 17:01:40 -0400 Date: Wed, 6 Jul 2005 06:58:04 +1000 From: Anton Blanchard To: akpm@osdl.org Cc: paulus@samba.org, linux-kernel@vger.kernel.org Subject: [PATCH] ppc64: sys_ppc32.c cleanups Message-ID: <20050705205804.GG12786@krispykreme> References: <20050705205632.GF12786@krispykreme> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050705205632.GF12786@krispykreme> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Remove some unnecessary includes, an out of date comment and a prototype for sys_timer_create (which is now in syscalls.h) Signed-off-by: Anton Blanchard Index: foobar2/arch/ppc64/kernel/sys_ppc32.c =================================================================== --- foobar2.orig/arch/ppc64/kernel/sys_ppc32.c 2005-07-04 01:09:20.310694267 +1000 +++ foobar2/arch/ppc64/kernel/sys_ppc32.c 2005-07-04 01:14:30.618438841 +1000 @@ -30,47 +30,26 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include #include -#include -#include -#include #include -#include #include -#include #include #include #include #include -#include #include #include #include -#include #include -#include -#include - #include #include #include #include #include #include -#include #include #include #include @@ -350,8 +329,6 @@ return ret; } - -/* These are here just in case some old sparc32 binary calls it. */ asmlinkage long sys32_pause(void) { current->state = TASK_INTERRUPTIBLE; @@ -360,8 +337,6 @@ return -ERESTARTNOHAND; } - - static inline long get_ts32(struct timespec *o, struct compat_timeval __user *i) { long usec; @@ -1273,8 +1255,6 @@ (u64)len_high << 32 | len_low, advice); } -extern asmlinkage long sys_timer_create(clockid_t, sigevent_t __user *, timer_t __user *); - long ppc32_timer_create(clockid_t clock, struct compat_sigevent __user *ev32, timer_t __user *timer_id)