From 4d1a099828fb3ed52ff666fceb6a7d562d9048b8 Mon Sep 17 00:00:00 2001
From: "David S. Miller" <davem@davemloft.net>
Date: Tue, 20 Jun 2006 08:34:40 +0100
Subject: Restrict headers exported to userspace for SPARC and SPARC64

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
---
 include/asm-sparc64/Kbuild | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

(limited to 'include/asm-sparc64/Kbuild')

diff --git a/include/asm-sparc64/Kbuild b/include/asm-sparc64/Kbuild
index 5edf7643a209..c78d44bb195f 100644
--- a/include/asm-sparc64/Kbuild
+++ b/include/asm-sparc64/Kbuild
@@ -1,16 +1,10 @@
 include include/asm-generic/Kbuild.asm
 
 ALTARCH := sparc
-ARCHDEF := defined __sparc__ && defined __arch64__ 
+ARCHDEF := defined __sparc__ && defined __arch64__
 ALTARCHDEF := defined __sparc__ && !defined __arch64__
 
-header-y += agp.h apb.h asi.h auxio.h bbc.h bpp.h bsderrno.h \
-	chafsr.h chmctrl.h compat.h const.h cpudata.h dcr.h dcu.h \
-	display7seg.h ebus.h envctrl.h estate.h fbio.h fhc.h floppy.h \
-	fpumacro.h head.h hw_irq.h idprom.h iommu.h \
-	ipc.h isa.h kdebug.h lsu.h mostek.h ns87303.h \
-	openprom.h openpromio.h oplib.h parport.h pbm.h pconf.h \
-	perfctr.h pil.h psrcompat.h pstate.h reg.h sbus.h \
-	sfp-machine.h solerrno.h spinlock.h spitfire.h starfire.h \
-	sunbpp.h svr4.h timer.h ttable.h uctx.h upa.h utrap.h vga.h \
-	visasm.h watchdog.h
+unifdef-y := fbio.h perfctr.h
+header-y += apb.h asi.h bbc.h bpp.h display7seg.h envctrl.h floppy.h	\
+	ipc.h kdebug.h mostek.h openprom.h openpromio.h parport.h	\
+	pconf.h psrcompat.h pstate.h reg.h uctx.h utrap.h watchdog.h
-- 
cgit v1.2.3