From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758648AbYA0MkR (ORCPT ); Sun, 27 Jan 2008 07:40:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757489AbYA0Mfn (ORCPT ); Sun, 27 Jan 2008 07:35:43 -0500 Received: from yergi.telenet-ops.be ([195.130.132.36]:53344 "EHLO yergi.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757451AbYA0Mfk (ORCPT ); Sun, 27 Jan 2008 07:35:40 -0500 Message-Id: <20080127123357.377006166@mail.of.borg> References: <20080127123216.897698766@mail.of.borg> User-Agent: quilt/0.46-1 Date: Sun, 27 Jan 2008 13:32:22 +0100 From: Geert Uytterhoeven To: Linus Torvalds , Andrew Morton Cc: linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Adrian Bunk Subject: [patch 06/14] m68k: kill arch/m68k/mac/mac_ksyms.c Content-Disposition: inline; filename=m68k-kill-arch-m68k-mac-mac_ksyms-c.diff Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adrian Bunk m68k: kill arch/m68k/mac/mac_ksyms.c EXPORT_SYMBOL's belong to the actual code. Signed-off-by: Adrian Bunk Signed-off-by: Geert Uytterhoeven --- arch/m68k/mac/Makefile | 2 +- arch/m68k/mac/mac_ksyms.c | 8 -------- arch/m68k/mac/via.c | 5 ++++- 3 files changed, 5 insertions(+), 10 deletions(-) --- a/arch/m68k/mac/Makefile +++ b/arch/m68k/mac/Makefile @@ -3,4 +3,4 @@ # obj-y := config.o bootparse.o macints.o iop.o via.o oss.o psc.o \ - baboon.o macboing.o debug.o misc.o mac_ksyms.o + baboon.o macboing.o debug.o misc.o --- a/arch/m68k/mac/mac_ksyms.c +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include -#include - -/* Says whether we're using A/UX interrupts or not */ -extern int via_alt_mapping; - -EXPORT_SYMBOL(via_alt_mapping); --- a/arch/m68k/mac/via.c +++ b/arch/m68k/mac/via.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include @@ -41,7 +42,9 @@ volatile __u8 *via1, *via2; /* See note in mac_via.h about how this is possibly not useful */ volatile long *via_memory_bogon=(long *)&via_memory_bogon; #endif -int rbv_present, via_alt_mapping; +int rbv_present; +int via_alt_mapping; +EXPORT_SYMBOL(via_alt_mapping); __u8 rbv_clear; /* -- Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds