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>

authored by David S. Miller and committed by David Woodhouse 4d1a0998 ef4d04b8

+9 -22
+4 -11
include/asm-sparc/Kbuild
··· 1 1 include include/asm-generic/Kbuild.asm 2 2 3 - header-y += apc.h asi.h asmmacro.h auxio.h bitext.h bpp.h \ 4 - bsderrno.h btfixup.h clock.h contregs.h cpudata.h cypress.h \ 5 - ebus.h ecc.h eeprom.h fbio.h floppy.h head.h hw_irq.h \ 6 - idprom.h io-unit.h iommu.h ipc.h jsflash.h \ 7 - kdebug.h machines.h mbus.h memreg.h mostek.h mpmbox.h msi.h \ 8 - mxcc.h obio.h openprom.h openpromio.h oplib.h pbm.h pcic.h \ 9 - pconf.h perfctr.h pgtsrmmu.h pgtsun4.h pgtsun4c.h psr.h reg.h \ 10 - ross.h sbi.h sbus.h sfp-machine.h smpprim.h \ 11 - solerrno.h spinlock.h sun4paddr.h sun4prom.h sunbpp.h svr4.h \ 12 - swift.h sysen.h timer.h traps.h tsunami.h turbosparc.h \ 13 - vac-ops.h vaddrs.h vfc_ioctls.h viking.h winmacro.h 3 + unifdef-y += fbio.h perfctr.h psr.h 4 + header-y += apc.h asi.h auxio.h bpp.h head.h ipc.h jsflash.h \ 5 + openpromio.h pbm.h pconf.h pgtsun4.h reg.h traps.h \ 6 + turbosparc.h vfc_ioctls.h winmacro.h
+5 -11
include/asm-sparc64/Kbuild
··· 1 1 include include/asm-generic/Kbuild.asm 2 2 3 3 ALTARCH := sparc 4 - ARCHDEF := defined __sparc__ && defined __arch64__ 4 + ARCHDEF := defined __sparc__ && defined __arch64__ 5 5 ALTARCHDEF := defined __sparc__ && !defined __arch64__ 6 6 7 - header-y += agp.h apb.h asi.h auxio.h bbc.h bpp.h bsderrno.h \ 8 - chafsr.h chmctrl.h compat.h const.h cpudata.h dcr.h dcu.h \ 9 - display7seg.h ebus.h envctrl.h estate.h fbio.h fhc.h floppy.h \ 10 - fpumacro.h head.h hw_irq.h idprom.h iommu.h \ 11 - ipc.h isa.h kdebug.h lsu.h mostek.h ns87303.h \ 12 - openprom.h openpromio.h oplib.h parport.h pbm.h pconf.h \ 13 - perfctr.h pil.h psrcompat.h pstate.h reg.h sbus.h \ 14 - sfp-machine.h solerrno.h spinlock.h spitfire.h starfire.h \ 15 - sunbpp.h svr4.h timer.h ttable.h uctx.h upa.h utrap.h vga.h \ 16 - visasm.h watchdog.h 7 + unifdef-y := fbio.h perfctr.h 8 + header-y += apb.h asi.h bbc.h bpp.h display7seg.h envctrl.h floppy.h \ 9 + ipc.h kdebug.h mostek.h openprom.h openpromio.h parport.h \ 10 + pconf.h psrcompat.h pstate.h reg.h uctx.h utrap.h watchdog.h