diff options
Diffstat (limited to 'include/asm-generic')
| -rw-r--r-- | include/asm-generic/fcntl.h | 21 | ||||
| -rw-r--r-- | include/asm-generic/gpio.h | 1 | ||||
| -rw-r--r-- | include/asm-generic/hardirq.h | 2 | ||||
| -rw-r--r-- | include/asm-generic/vmlinux.lds.h | 4 |
4 files changed, 16 insertions, 12 deletions
diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index 0c3dd8603927..495dc8af4044 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h | |||
| @@ -73,14 +73,23 @@ | |||
| 73 | #define F_SETSIG 10 /* for sockets. */ | 73 | #define F_SETSIG 10 /* for sockets. */ |
| 74 | #define F_GETSIG 11 /* for sockets. */ | 74 | #define F_GETSIG 11 /* for sockets. */ |
| 75 | #endif | 75 | #endif |
| 76 | |||
| 77 | #ifndef CONFIG_64BIT | ||
| 78 | #ifndef F_GETLK64 | ||
| 79 | #define F_GETLK64 12 /* using 'struct flock64' */ | ||
| 80 | #define F_SETLK64 13 | ||
| 81 | #define F_SETLKW64 14 | ||
| 82 | #endif | ||
| 83 | #endif | ||
| 84 | |||
| 76 | #ifndef F_SETOWN_EX | 85 | #ifndef F_SETOWN_EX |
| 77 | #define F_SETOWN_EX 12 | 86 | #define F_SETOWN_EX 15 |
| 78 | #define F_GETOWN_EX 13 | 87 | #define F_GETOWN_EX 16 |
| 79 | #endif | 88 | #endif |
| 80 | 89 | ||
| 81 | #define F_OWNER_TID 0 | 90 | #define F_OWNER_TID 0 |
| 82 | #define F_OWNER_PID 1 | 91 | #define F_OWNER_PID 1 |
| 83 | #define F_OWNER_GID 2 | 92 | #define F_OWNER_PGRP 2 |
| 84 | 93 | ||
| 85 | struct f_owner_ex { | 94 | struct f_owner_ex { |
| 86 | int type; | 95 | int type; |
| @@ -139,12 +148,6 @@ struct flock { | |||
| 139 | 148 | ||
| 140 | #ifndef CONFIG_64BIT | 149 | #ifndef CONFIG_64BIT |
| 141 | 150 | ||
| 142 | #ifndef F_GETLK64 | ||
| 143 | #define F_GETLK64 12 /* using 'struct flock64' */ | ||
| 144 | #define F_SETLK64 13 | ||
| 145 | #define F_SETLKW64 14 | ||
| 146 | #endif | ||
| 147 | |||
| 148 | #ifndef HAVE_ARCH_STRUCT_FLOCK64 | 151 | #ifndef HAVE_ARCH_STRUCT_FLOCK64 |
| 149 | #ifndef __ARCH_FLOCK64_PAD | 152 | #ifndef __ARCH_FLOCK64_PAD |
| 150 | #define __ARCH_FLOCK64_PAD | 153 | #define __ARCH_FLOCK64_PAD |
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 9cca3785cab8..66d6106a2067 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #ifndef _ASM_GENERIC_GPIO_H | 1 | #ifndef _ASM_GENERIC_GPIO_H |
| 2 | #define _ASM_GENERIC_GPIO_H | 2 | #define _ASM_GENERIC_GPIO_H |
| 3 | 3 | ||
| 4 | #include <linux/kernel.h> | ||
| 4 | #include <linux/types.h> | 5 | #include <linux/types.h> |
| 5 | #include <linux/errno.h> | 6 | #include <linux/errno.h> |
| 6 | 7 | ||
diff --git a/include/asm-generic/hardirq.h b/include/asm-generic/hardirq.h index 23bb4dad4962..62f59080e5cc 100644 --- a/include/asm-generic/hardirq.h +++ b/include/asm-generic/hardirq.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | #include <linux/irq.h> | 6 | #include <linux/irq.h> |
| 7 | 7 | ||
| 8 | typedef struct { | 8 | typedef struct { |
| 9 | unsigned long __softirq_pending; | 9 | unsigned int __softirq_pending; |
| 10 | } ____cacheline_aligned irq_cpustat_t; | 10 | } ____cacheline_aligned irq_cpustat_t; |
| 11 | 11 | ||
| 12 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | 12 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 29ca8f53ffbe..b6e818f4b247 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
| @@ -721,12 +721,12 @@ | |||
| 721 | . = ALIGN(PAGE_SIZE); \ | 721 | . = ALIGN(PAGE_SIZE); \ |
| 722 | .data : AT(ADDR(.data) - LOAD_OFFSET) { \ | 722 | .data : AT(ADDR(.data) - LOAD_OFFSET) { \ |
| 723 | INIT_TASK_DATA(inittask) \ | 723 | INIT_TASK_DATA(inittask) \ |
| 724 | NOSAVE_DATA \ | ||
| 725 | PAGE_ALIGNED_DATA(pagealigned) \ | ||
| 724 | CACHELINE_ALIGNED_DATA(cacheline) \ | 726 | CACHELINE_ALIGNED_DATA(cacheline) \ |
| 725 | READ_MOSTLY_DATA(cacheline) \ | 727 | READ_MOSTLY_DATA(cacheline) \ |
| 726 | DATA_DATA \ | 728 | DATA_DATA \ |
| 727 | CONSTRUCTORS \ | 729 | CONSTRUCTORS \ |
| 728 | NOSAVE_DATA \ | ||
| 729 | PAGE_ALIGNED_DATA(pagealigned) \ | ||
| 730 | } | 730 | } |
| 731 | 731 | ||
| 732 | #define INIT_TEXT_SECTION(inittext_align) \ | 732 | #define INIT_TEXT_SECTION(inittext_align) \ |
