kernel-fxtec-pro1x/include/asm-sparc64
Sam Ravnborg f5e706ad88 sparc: join the remaining header files
With this commit all sparc64 header files are moved to asm-sparc.
The remaining files (71 files) were too different to be trivially
merged so divide them up in a _32.h and a _64.h file which
are both included from the file with no bit size.

The following script were used:
cd include
FILES=`wc -l asm-sparc64/*h | grep -v '^     1' | cut -b 20-`

for FILE in ${FILES}; do
  echo $FILE:
  BASE=`echo $FILE | cut -d '.' -f 1`
  FN32=${BASE}_32.h
  FN64=${BASE}_64.h
  GUARD=___ASM_SPARC_`echo $BASE | tr '-' '_' | tr [:lower:] [:upper:]`_H
  git mv asm-sparc/$FILE asm-sparc/$FN32
  git mv asm-sparc64/$FILE asm-sparc/$FN64
  echo git mv done
  printf "#ifndef %s\n" $GUARD                             >   asm-sparc/$FILE
  printf "#define %s\n" $GUARD                             >>  asm-sparc/$FILE
  printf "#if defined(__sparc__) && defined(__arch64__)\n" >>  asm-sparc/$FILE
  printf "#include <asm-sparc/%s>\n" $FN64                 >>  asm-sparc/$FILE
  printf "#else\n"                                         >>  asm-sparc/$FILE
  printf "#include <asm-sparc/%s>\n" $FN32                 >>  asm-sparc/$FILE
  printf "#endif\n"                                        >>  asm-sparc/$FILE
  printf "#endif\n"                                        >>  asm-sparc/$FILE
  git add asm-sparc/$FILE
  echo new file done
  printf "#include <asm-sparc/%s>\n" $FILE                 >  asm-sparc64/$FILE
  git add asm-sparc64/$FILE
  echo sparc64 file done
done

The guard contains three '_' to avoid conflict with existing guards.
In additing the two Kbuild files are emptied to avoid breaking
headers_* targets.
We will reintroduce the exported header files when the necessary
kbuild changes are merged.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-17 21:55:51 -07:00
..
agp.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
apb.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
asi.h sparc: Merge asm-sparc{,64}/asi.h 2008-07-17 21:42:30 -07:00
atomic.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
auxio.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
auxvec.h [SPARC]: Merge include/asm-sparc{,64}/auxvec.h 2008-02-09 04:00:03 -08:00
backoff.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
bbc.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
bitops.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
bpp.h [SPARC]: Merge asm-sparc{,64}/bpp.h 2008-02-09 04:00:12 -08:00
bug.h [SPARC]: Merge asm-sparc{,64}/bug.h 2008-02-09 04:00:32 -08:00
bugs.h [SPARC]: Merge asm-sparc{,64}/bugs.h 2008-02-09 04:00:37 -08:00
byteorder.h [SPARC]: Merge asm-sparc{,64}/byteorder.h 2008-02-09 04:17:28 -08:00
cache.h [SPARC]: Merge asm-sparc{,64}/cache.h 2008-02-09 04:17:37 -08:00
cacheflush.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
chafsr.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
checksum.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
chmctrl.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
cmt.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
compat.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
compat_signal.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
cpudata.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
cputime.h [SPARC]: Merge asm-sparc{,64}/cputime.h 2008-02-09 04:17:47 -08:00
current.h [SPARC]: Merge asm-sparc{,64}/current.h 2008-02-09 04:17:54 -08:00
dcr.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
dcu.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
delay.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
device.h [SPARC]: Merge asm-sparc{,64}/device.h 2008-02-09 04:18:02 -08:00
display7seg.h sparc: copy exported sparc64 specific header files to asm-sparc 2008-07-17 21:40:49 -07:00
div64.h [SPARC]: Merge asm-sparc{,64}/div64.h 2008-02-09 04:18:08 -08:00
dma-mapping.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
dma.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
ebus.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
elf.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
emergency-restart.h [SPARC]: Merge asm-sparc{,64}/emergency-restart.h 2008-02-09 04:18:14 -08:00
envctrl.h sparc: copy exported sparc64 specific header files to asm-sparc 2008-07-17 21:40:49 -07:00
errno.h [SPARC]: Merge asm-sparc{,64}/errno.h 2008-02-09 04:18:23 -08:00
estate.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
fb.h [SPARC]: Merge asm-sparc{,64}/fb.h 2008-02-09 04:18:29 -08:00
fbio.h sparc: Merge asm-sparc{,64}/fbio.h 2008-07-17 21:42:04 -07:00
fcntl.h sparc: Merge asm-sparc{,64}/fcntl.h 2008-07-17 21:41:39 -07:00
fhc.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
floppy.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
fpumacro.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
ftrace.h fix "ftrace: store mcount address in rec->ip" 2008-07-01 17:46:14 +02:00
futex.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
hardirq.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
head.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
hugetlb.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
hvtramp.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
hw_irq.h sparc: merge header files with trivial differences 2008-07-17 21:45:02 -07:00
hypervisor.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
ide.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
idprom.h sparc: merge header files with trivial differences 2008-07-17 21:45:02 -07:00
intr_queue.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
io.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
ioctl.h sparc: Merge asm-sparc{,64}/ioctl.h 2008-07-17 21:41:06 -07:00
ioctls.h sparc: Merge asm-sparc{,64}/ioctls.h 2008-07-17 21:41:16 -07:00
iommu.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
ipcbuf.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
irq.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
irq_regs.h sparc: when header files are equal use asm-sparc version 2008-07-17 21:44:58 -07:00
irqflags.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
Kbuild sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
kdebug.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
kgdb.h sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
kmap_types.h sparc: merge header files with trivial differences 2008-07-17 21:45:02 -07:00
kprobes.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
kvm.h sparc: merge header files with trivial differences 2008-07-17 21:45:02 -07:00
ldc.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
linkage.h sparc: when header files are equal use asm-sparc version 2008-07-17 21:44:58 -07:00
lmb.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
local.h local_t: sparc64 cleanup 2007-05-08 11:15:20 -07:00
lsu.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
mc146818rtc.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
mdesc.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
mman.h sparc: Merge asm-sparc{,64}/mman.h 2008-07-17 21:41:51 -07:00
mmu.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
mmu_context.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
mmzone.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
module.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
mostek.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
msgbuf.h sparc: Merge asm-sparc{,64}/msgbuf.h 2008-07-17 21:41:42 -07:00
mutex.h sparc: when header files are equal use asm-sparc version 2008-07-17 21:44:58 -07:00
namei.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
ns87303.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
of_device.h [SPARC]: Merge include/asm-sparc{,64}/of_device.h 2008-02-09 03:58:32 -08:00
of_platform.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
openprom.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
openpromio.h sparc: Merge include/asm-sparc{,64}/openpromio.h 2008-07-17 21:38:36 -07:00
oplib.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
page.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
param.h sparc: Merge asm-sparc{,64}/param.h 2008-07-17 21:41:20 -07:00
parport.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
pci.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
percpu.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
perfctr.h sparc: Merge include/asm-sparc{,64}/perfctr.h 2008-07-17 21:38:42 -07:00
pgalloc.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
pgtable.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
pil.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
poll.h sparc: Merge asm-sparc{,64}/poll.h 2008-07-17 21:41:24 -07:00
posix_types.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
processor.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
prom.h [SPARC]: Merge include/asm-sparc{,64}/prom.h 2008-02-09 03:56:20 -08:00
psrcompat.h sparc: copy exported sparc64 specific header files to asm-sparc 2008-07-17 21:40:49 -07:00
pstate.h sparc: copy exported sparc64 specific header files to asm-sparc 2008-07-17 21:40:49 -07:00
ptrace.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
reboot.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
reg.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
resource.h sparc: Merge asm-sparc{,64}/resource.h 2008-07-17 21:42:07 -07:00
rtc.h sparc: when header files are equal use asm-sparc version 2008-07-17 21:44:58 -07:00
rwsem-const.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
rwsem.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
sbus.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
scatterlist.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
scratchpad.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
seccomp.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
sections.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
semaphore.h sparc: when header files are equal use asm-sparc version 2008-07-17 21:44:58 -07:00
sembuf.h sparc: Merge asm-sparc{,64}/sembuf.h 2008-07-17 21:41:44 -07:00
setup.h sparc: Merge asm-sparc{,64}/setup.h 2008-07-17 21:42:09 -07:00
sfafsr.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
sfp-machine.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
shmbuf.h sparc: Merge asm-sparc{,64}/shmbuf.h 2008-07-17 21:41:48 -07:00
shmparam.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
sigcontext.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
siginfo.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
signal.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
smp.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
socket.h sparc: Merge asm-sparc{,64}/socket.h 2008-07-17 21:41:27 -07:00
sockios.h sparc: Merge asm-sparc{,64}/sockios.h 2008-07-17 21:41:35 -07:00
sparsemem.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
spinlock.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
spinlock_types.h sparc: merge header files with trivial differences 2008-07-17 21:45:02 -07:00
spitfire.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
sstate.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
stacktrace.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
starfire.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
stat.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
statfs.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
string.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
sunbpp.h sparc: merge header files with trivial differences 2008-07-17 21:45:02 -07:00
syscalls.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
system.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
termbits.h sparc: Merge asm-sparc{,64}/termbits.h 2008-07-17 21:42:12 -07:00
termios.h sparc: Merge asm-sparc{,64}/termios.h 2008-07-17 21:42:15 -07:00
thread_info.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
timer.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
timex.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
tlb.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
tlbflush.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
topology.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
tsb.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
ttable.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
types.h sparc: Merge asm-sparc{,64}/types.h 2008-07-17 21:42:19 -07:00
uaccess.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
uctx.h sparc: copy exported sparc64 specific header files to asm-sparc 2008-07-17 21:40:49 -07:00
unaligned.h sparc: merge header files with trivial differences 2008-07-17 21:45:02 -07:00
unistd.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00
upa.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
user.h [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00
utrap.h sparc: copy exported sparc64 specific header files to asm-sparc 2008-07-17 21:40:49 -07:00
vga.h sparc: when header files are equal use asm-sparc version 2008-07-17 21:44:58 -07:00
vio.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
visasm.h sparc: copy sparc64 specific files to asm-sparc 2008-07-17 21:44:53 -07:00
watchdog.h sparc: copy exported sparc64 specific header files to asm-sparc 2008-07-17 21:40:49 -07:00
xor.h sparc: join the remaining header files 2008-07-17 21:55:51 -07:00