diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 22:12:03 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 22:12:03 -0400 |
| commit | 23d5385f382a7c7d8b6bf19b0c2cfb3acbb12d31 (patch) | |
| tree | b0e2fbbdd8a9b86e0074affd58e35bea9c22e175 | |
| parent | b7e97d22113bcaafff93774e3085f5b567eaba9c (diff) | |
| parent | 9836d3458cde82626f2828ca6bd44c4a02b56e63 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
Pull sparc update from David Miller:
"This is just the UAPI commits for sparc via David Howells."
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
UAPI: (Scripted) Disintegrate arch/sparc/include/asm
| -rw-r--r-- | arch/sparc/include/asm/Kbuild | 16 | ||||
| -rw-r--r-- | arch/sparc/include/asm/fbio.h | 260 | ||||
| -rw-r--r-- | arch/sparc/include/asm/ioctls.h | 129 | ||||
| -rw-r--r-- | arch/sparc/include/asm/mman.h | 25 | ||||
| -rw-r--r-- | arch/sparc/include/asm/psr.h | 36 | ||||
| -rw-r--r-- | arch/sparc/include/asm/ptrace.h | 347 | ||||
| -rw-r--r-- | arch/sparc/include/asm/setup.h | 10 | ||||
| -rw-r--r-- | arch/sparc/include/asm/sigcontext.h | 4 | ||||
| -rw-r--r-- | arch/sparc/include/asm/siginfo.h | 23 | ||||
| -rw-r--r-- | arch/sparc/include/asm/signal.h | 185 | ||||
| -rw-r--r-- | arch/sparc/include/asm/termbits.h | 260 | ||||
| -rw-r--r-- | arch/sparc/include/asm/termios.h | 41 | ||||
| -rw-r--r-- | arch/sparc/include/asm/traps.h | 111 | ||||
| -rw-r--r-- | arch/sparc/include/asm/unistd.h | 412 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/Kbuild | 46 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/apc.h (renamed from arch/sparc/include/asm/apc.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/asi.h (renamed from arch/sparc/include/asm/asi.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/auxvec.h (renamed from arch/sparc/include/asm/auxvec.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/bitsperlong.h (renamed from arch/sparc/include/asm/bitsperlong.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/byteorder.h (renamed from arch/sparc/include/asm/byteorder.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/display7seg.h (renamed from arch/sparc/include/asm/display7seg.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/envctrl.h (renamed from arch/sparc/include/asm/envctrl.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/errno.h (renamed from arch/sparc/include/asm/errno.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/fbio.h | 259 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/fcntl.h (renamed from arch/sparc/include/asm/fcntl.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/ioctl.h (renamed from arch/sparc/include/asm/ioctl.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/ioctls.h | 131 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/ipcbuf.h (renamed from arch/sparc/include/asm/ipcbuf.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/jsflash.h (renamed from arch/sparc/include/asm/jsflash.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/kvm_para.h (renamed from arch/sparc/include/asm/kvm_para.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/mman.h | 27 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/msgbuf.h (renamed from arch/sparc/include/asm/msgbuf.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/openpromio.h (renamed from arch/sparc/include/asm/openpromio.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/param.h (renamed from arch/sparc/include/asm/param.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/perfctr.h (renamed from arch/sparc/include/asm/perfctr.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/poll.h (renamed from arch/sparc/include/asm/poll.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/posix_types.h (renamed from arch/sparc/include/asm/posix_types.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/psr.h | 47 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/psrcompat.h (renamed from arch/sparc/include/asm/psrcompat.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/pstate.h (renamed from arch/sparc/include/asm/pstate.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/ptrace.h | 352 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/resource.h (renamed from arch/sparc/include/asm/resource.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/sembuf.h (renamed from arch/sparc/include/asm/sembuf.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/setup.h | 15 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/shmbuf.h (renamed from arch/sparc/include/asm/shmbuf.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/sigcontext.h | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/siginfo.h | 25 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/signal.h | 185 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/socket.h (renamed from arch/sparc/include/asm/socket.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/sockios.h (renamed from arch/sparc/include/asm/sockios.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/stat.h (renamed from arch/sparc/include/asm/stat.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/statfs.h (renamed from arch/sparc/include/asm/statfs.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/swab.h (renamed from arch/sparc/include/asm/swab.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/termbits.h | 263 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/termios.h | 43 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/traps.h | 120 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/types.h (renamed from arch/sparc/include/asm/types.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/uctx.h (renamed from arch/sparc/include/asm/uctx.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/unistd.h | 422 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/utrap.h (renamed from arch/sparc/include/asm/utrap.h) | 0 | ||||
| -rw-r--r-- | arch/sparc/include/uapi/asm/watchdog.h (renamed from arch/sparc/include/asm/watchdog.h) | 0 |
61 files changed, 1951 insertions, 1843 deletions
diff --git a/arch/sparc/include/asm/Kbuild b/arch/sparc/include/asm/Kbuild index f80ff93f6f75..61d41c11ee0a 100644 --- a/arch/sparc/include/asm/Kbuild +++ b/arch/sparc/include/asm/Kbuild | |||
| @@ -1,21 +1,5 @@ | |||
| 1 | # User exported sparc header files | 1 | # User exported sparc header files |
| 2 | include include/asm-generic/Kbuild.asm | ||
| 3 | 2 | ||
| 4 | header-y += apc.h | ||
| 5 | header-y += asi.h | ||
| 6 | header-y += display7seg.h | ||
| 7 | header-y += envctrl.h | ||
| 8 | header-y += fbio.h | ||
| 9 | header-y += jsflash.h | ||
| 10 | header-y += openpromio.h | ||
| 11 | header-y += perfctr.h | ||
| 12 | header-y += psrcompat.h | ||
| 13 | header-y += psr.h | ||
| 14 | header-y += pstate.h | ||
| 15 | header-y += traps.h | ||
| 16 | header-y += uctx.h | ||
| 17 | header-y += utrap.h | ||
| 18 | header-y += watchdog.h | ||
| 19 | 3 | ||
| 20 | generic-y += clkdev.h | 4 | generic-y += clkdev.h |
| 21 | generic-y += div64.h | 5 | generic-y += div64.h |
diff --git a/arch/sparc/include/asm/fbio.h b/arch/sparc/include/asm/fbio.h index 0a21da87f7d6..1d9afe277e9c 100644 --- a/arch/sparc/include/asm/fbio.h +++ b/arch/sparc/include/asm/fbio.h | |||
| @@ -1,225 +1,10 @@ | |||
| 1 | #ifndef __LINUX_FBIO_H | 1 | #ifndef __LINUX_FBIO_H |
| 2 | #define __LINUX_FBIO_H | 2 | #define __LINUX_FBIO_H |
| 3 | 3 | ||
| 4 | #include <linux/compiler.h> | 4 | #include <uapi/asm/fbio.h> |
| 5 | #include <linux/types.h> | ||
| 6 | 5 | ||
| 7 | /* Constants used for fbio SunOS compatibility */ | ||
| 8 | /* (C) 1996 Miguel de Icaza */ | ||
| 9 | |||
| 10 | /* Frame buffer types */ | ||
| 11 | #define FBTYPE_NOTYPE -1 | ||
| 12 | #define FBTYPE_SUN1BW 0 /* mono */ | ||
| 13 | #define FBTYPE_SUN1COLOR 1 | ||
| 14 | #define FBTYPE_SUN2BW 2 | ||
| 15 | #define FBTYPE_SUN2COLOR 3 | ||
| 16 | #define FBTYPE_SUN2GP 4 | ||
| 17 | #define FBTYPE_SUN5COLOR 5 | ||
| 18 | #define FBTYPE_SUN3COLOR 6 | ||
| 19 | #define FBTYPE_MEMCOLOR 7 | ||
| 20 | #define FBTYPE_SUN4COLOR 8 | ||
| 21 | |||
| 22 | #define FBTYPE_NOTSUN1 9 | ||
| 23 | #define FBTYPE_NOTSUN2 10 | ||
| 24 | #define FBTYPE_NOTSUN3 11 | ||
| 25 | |||
| 26 | #define FBTYPE_SUNFAST_COLOR 12 /* cg6 */ | ||
| 27 | #define FBTYPE_SUNROP_COLOR 13 | ||
| 28 | #define FBTYPE_SUNFB_VIDEO 14 | ||
| 29 | #define FBTYPE_SUNGIFB 15 | ||
| 30 | #define FBTYPE_SUNGPLAS 16 | ||
| 31 | #define FBTYPE_SUNGP3 17 | ||
| 32 | #define FBTYPE_SUNGT 18 | ||
| 33 | #define FBTYPE_SUNLEO 19 /* zx Leo card */ | ||
| 34 | #define FBTYPE_MDICOLOR 20 /* cg14 */ | ||
| 35 | #define FBTYPE_TCXCOLOR 21 /* SUNW,tcx card */ | ||
| 36 | |||
| 37 | #define FBTYPE_LASTPLUSONE 21 /* This is not last + 1 in fact... */ | ||
| 38 | |||
| 39 | /* Does not seem to be listed in the Sun file either */ | ||
| 40 | #define FBTYPE_CREATOR 22 | ||
| 41 | #define FBTYPE_PCI_IGA1682 23 | ||
| 42 | #define FBTYPE_P9100COLOR 24 | ||
| 43 | |||
| 44 | #define FBTYPE_PCI_GENERIC 1000 | ||
| 45 | #define FBTYPE_PCI_MACH64 1001 | ||
| 46 | |||
| 47 | /* fbio ioctls */ | ||
| 48 | /* Returned by FBIOGTYPE */ | ||
| 49 | struct fbtype { | ||
| 50 | int fb_type; /* fb type, see above */ | ||
| 51 | int fb_height; /* pixels */ | ||
| 52 | int fb_width; /* pixels */ | ||
| 53 | int fb_depth; | ||
| 54 | int fb_cmsize; /* color map entries */ | ||
| 55 | int fb_size; /* fb size in bytes */ | ||
| 56 | }; | ||
| 57 | #define FBIOGTYPE _IOR('F', 0, struct fbtype) | ||
| 58 | |||
| 59 | struct fbcmap { | ||
| 60 | int index; /* first element (0 origin) */ | ||
| 61 | int count; | ||
