diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 08:22:15 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 08:22:15 -0400 |
commit | bff7b55bdb325f62c4e30a97883ebd2b536bd47b (patch) | |
tree | de4ab64ec0837ae308e17312b553e9a5209b6f62 /arch/sh | |
parent | e7fad451f06e21e74b6051c5ad4917e37460be3a (diff) | |
parent | 44b7532b8b464f606053562400719c9c21276037 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/atomic.h | 2 | ||||
-rw-r--r-- | arch/sh/include/asm/bitsperlong.h | 1 | ||||
-rw-r--r-- | arch/sh/include/asm/mman.h | 2 | ||||
-rw-r--r-- | arch/sh/include/asm/page.h | 2 | ||||
-rw-r--r-- | arch/sh/include/asm/signal.h | 2 | ||||
-rw-r--r-- | arch/sh/kernel/module.c | 2 |
6 files changed, 5 insertions, 6 deletions
diff --git a/arch/sh/include/asm/atomic.h b/arch/sh/include/asm/atomic.h index 978b58efb1e9..157c320272cb 100644 --- a/arch/sh/include/asm/atomic.h +++ b/arch/sh/include/asm/atomic.h | |||
@@ -84,5 +84,5 @@ static inline int atomic_add_unless(atomic_t *v, int a, int u) | |||
84 | #define smp_mb__before_atomic_inc() barrier() | 84 | #define smp_mb__before_atomic_inc() barrier() |
85 | #define smp_mb__after_atomic_inc() barrier() | 85 | #define smp_mb__after_atomic_inc() barrier() |
86 | 86 | ||
87 | #include <asm-generic/atomic.h> | 87 | #include <asm-generic/atomic-long.h> |
88 | #endif /* __ASM_SH_ATOMIC_H */ | 88 | #endif /* __ASM_SH_ATOMIC_H */ |
diff --git a/arch/sh/include/asm/bitsperlong.h b/arch/sh/include/asm/bitsperlong.h new file mode 100644 index 000000000000..6dc0bb0c13b2 --- /dev/null +++ b/arch/sh/include/asm/bitsperlong.h | |||
@@ -0,0 +1 @@ | |||
#include <asm-generic/bitsperlong.h> | |||
diff --git a/arch/sh/include/asm/mman.h b/arch/sh/include/asm/mman.h index 156eb0225cf6..7d8b72c91a5f 100644 --- a/arch/sh/include/asm/mman.h +++ b/arch/sh/include/asm/mman.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef __ASM_SH_MMAN_H | 1 | #ifndef __ASM_SH_MMAN_H |
2 | #define __ASM_SH_MMAN_H | 2 | #define __ASM_SH_MMAN_H |
3 | 3 | ||
4 | #include <asm-generic/mman.h> | 4 | #include <asm-generic/mman-common.h> |
5 | 5 | ||
6 | #define MAP_GROWSDOWN 0x0100 /* stack-like segment */ | 6 | #define MAP_GROWSDOWN 0x0100 /* stack-like segment */ |
7 | #define MAP_DENYWRITE 0x0800 /* ETXTBSY */ | 7 | #define MAP_DENYWRITE 0x0800 /* ETXTBSY */ |
diff --git a/arch/sh/include/asm/page.h b/arch/sh/include/asm/page.h index 9c6d21ec0240..49592c780a6e 100644 --- a/arch/sh/include/asm/page.h +++ b/arch/sh/include/asm/page.h | |||
@@ -163,7 +163,7 @@ typedef struct page *pgtable_t; | |||
163 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) | 163 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) |
164 | 164 | ||
165 | #include <asm-generic/memory_model.h> | 165 | #include <asm-generic/memory_model.h> |
166 | #include <asm-generic/page.h> | 166 | #include <asm-generic/getorder.h> |
167 | 167 | ||
168 | /* vDSO support */ | 168 | /* vDSO support */ |
169 | #ifdef CONFIG_VSYSCALL | 169 | #ifdef CONFIG_VSYSCALL |
diff --git a/arch/sh/include/asm/signal.h b/arch/sh/include/asm/signal.h index 5c5c1e852089..9cc5f0144689 100644 --- a/arch/sh/include/asm/signal.h +++ b/arch/sh/include/asm/signal.h | |||
@@ -106,7 +106,7 @@ typedef unsigned long sigset_t; | |||
106 | #define MINSIGSTKSZ 2048 | 106 | #define MINSIGSTKSZ 2048 |
107 | #define SIGSTKSZ 8192 | 107 | #define SIGSTKSZ 8192 |
108 | 108 | ||
109 | #include <asm-generic/signal.h> | 109 | #include <asm-generic/signal-defs.h> |
110 | 110 | ||
111 | #ifdef __KERNEL__ | 111 | #ifdef __KERNEL__ |
112 | struct old_sigaction { | 112 | struct old_sigaction { |
diff --git a/arch/sh/kernel/module.c b/arch/sh/kernel/module.c index c19b0f7d2cc1..c2efdcde266f 100644 --- a/arch/sh/kernel/module.c +++ b/arch/sh/kernel/module.c | |||
@@ -46,8 +46,6 @@ void *module_alloc(unsigned long size) | |||
46 | void module_free(struct module *mod, void *module_region) | 46 | void module_free(struct module *mod, void *module_region) |
47 | { | 47 | { |
48 | vfree(module_region); | 48 | vfree(module_region); |
49 | /* FIXME: If module_region == mod->init_region, trim exception | ||
50 | table entries. */ | ||
51 | } | 49 | } |
52 | 50 | ||
53 | /* We don't need anything special. */ | 51 | /* We don't need anything special. */ |