From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758426AbXKRKR1 (ORCPT ); Sun, 18 Nov 2007 05:17:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755557AbXKRKPa (ORCPT ); Sun, 18 Nov 2007 05:15:30 -0500 Received: from hoboe2bl1.telenet-ops.be ([195.130.137.73]:48198 "EHLO hoboe2bl1.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752059AbXKRKPQ (ORCPT ); Sun, 18 Nov 2007 05:15:16 -0500 Message-Id: <20071118101447.543013683@mail.of.borg> References: <20071118101336.330321764@mail.of.borg> User-Agent: quilt/0.46-1 Date: Sun, 18 Nov 2007 11:13:41 +0100 From: Geert Uytterhoeven To: Andrew Morton Cc: Linux/m68k , Linux Kernel Development , Adrian Bunk Subject: [patch 05/13] 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 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