diff options
Diffstat (limited to 'include/asm-h8300')
-rw-r--r-- | include/asm-h8300/elf.h | 4 | ||||
-rw-r--r-- | include/asm-h8300/ide.h | 26 | ||||
-rw-r--r-- | include/asm-h8300/keyboard.h | 24 | ||||
-rw-r--r-- | include/asm-h8300/kvm.h | 6 | ||||
-rw-r--r-- | include/asm-h8300/namei.h | 17 | ||||
-rw-r--r-- | include/asm-h8300/page.h | 3 | ||||
-rw-r--r-- | include/asm-h8300/semaphore.h | 1 | ||||
-rw-r--r-- | include/asm-h8300/thread_info.h | 5 |
8 files changed, 3 insertions, 83 deletions
diff --git a/include/asm-h8300/elf.h b/include/asm-h8300/elf.h index 26bfc7e641da..a8b57d1f4128 100644 --- a/include/asm-h8300/elf.h +++ b/include/asm-h8300/elf.h | |||
@@ -26,10 +26,10 @@ typedef unsigned long elf_fpregset_t; | |||
26 | #define ELF_DATA ELFDATA2MSB | 26 | #define ELF_DATA ELFDATA2MSB |
27 | #define ELF_ARCH EM_H8_300 | 27 | #define ELF_ARCH EM_H8_300 |
28 | #if defined(__H8300H__) | 28 | #if defined(__H8300H__) |
29 | #define ELF_FLAGS 0x810000 | 29 | #define ELF_CORE_EFLAGS 0x810000 |
30 | #endif | 30 | #endif |
31 | #if defined(__H8300S__) | 31 | #if defined(__H8300S__) |
32 | #define ELF_FLAGS 0x820000 | 32 | #define ELF_CORE_EFLAGS 0x820000 |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #define ELF_PLAT_INIT(_r) _r->er1 = 0 | 35 | #define ELF_PLAT_INIT(_r) _r->er1 = 0 |
diff --git a/include/asm-h8300/ide.h b/include/asm-h8300/ide.h deleted file mode 100644 index f8535ce7476e..000000000000 --- a/include/asm-h8300/ide.h +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | /****************************************************************************/ | ||
2 | |||
3 | /* | ||
4 | * linux/include/asm-h8300/ide.h | ||
5 | * | ||
6 | * Copyright (C) 1994-1996 Linus Torvalds & authors | ||
7 | * Copyright (C) 2001 Lineo Inc., davidm@snapgear.com | ||
8 | * Copyright (C) 2002 Greg Ungerer (gerg@snapgear.com) | ||
9 | * Copyright (C) 2002 Yoshinori Sato (ysato@users.sourceforge.jp) | ||
10 | */ | ||
11 | |||
12 | /****************************************************************************/ | ||
13 | #ifndef _H8300_IDE_H | ||
14 | #define _H8300_IDE_H | ||
15 | /****************************************************************************/ | ||
16 | #ifdef __KERNEL__ | ||
17 | /****************************************************************************/ | ||
18 | |||
19 | #define MAX_HWIFS 1 | ||
20 | |||
21 | #include <asm-generic/ide_iops.h> | ||
22 | |||
23 | /****************************************************************************/ | ||
24 | #endif /* __KERNEL__ */ | ||
25 | #endif /* _H8300_IDE_H */ | ||
26 | /****************************************************************************/ | ||
diff --git a/include/asm-h8300/keyboard.h b/include/asm-h8300/keyboard.h deleted file mode 100644 index 90efbd655390..000000000000 --- a/include/asm-h8300/keyboard.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | /* | ||
2 | * linux/include/asm-h8300/keyboard.h | ||
3 | * Created 04 Dec 2001 by Khaled Hassounah <khassounah@mediumware.net> | ||
4 | * This file contains the Dragonball architecture specific keyboard definitions | ||
5 | */ | ||
6 | |||
7 | #ifndef _H8300_KEYBOARD_H | ||
8 | #define _H8300_KEYBOARD_H | ||
9 | |||
10 | |||
11 | /* dummy i.e. no real keyboard */ | ||
12 | #define kbd_setkeycode(x...) (-ENOSYS) | ||
13 | #define kbd_getkeycode(x...) (-ENOSYS) | ||
14 | #define kbd_translate(x...) (0) | ||
15 | #define kbd_unexpected_up(x...) (1) | ||
16 | #define kbd_leds(x...) do {;} while (0) | ||
17 | #define kbd_init_hw(x...) do {;} while (0) | ||
18 | #define kbd_enable_irq(x...) do {;} while (0) | ||
19 | #define kbd_disable_irq(x...) do {;} while (0) | ||
20 | |||
21 | #endif /* _H8300_KEYBOARD_H */ | ||
22 | |||
23 | |||
24 | |||
diff --git a/include/asm-h8300/kvm.h b/include/asm-h8300/kvm.h deleted file mode 100644 index bdbed7b987e1..000000000000 --- a/include/asm-h8300/kvm.h +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #ifndef __LINUX_KVM_H8300_H | ||
2 | #define __LINUX_KVM_H8300_H | ||
3 | |||
4 | /* h8300 does not support KVM */ | ||
5 | |||
6 | #endif | ||
diff --git a/include/asm-h8300/namei.h b/include/asm-h8300/namei.h deleted file mode 100644 index ab6f196db6e0..000000000000 --- a/include/asm-h8300/namei.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | /* | ||
2 | * linux/include/asm-h8300/namei.h | ||
3 | * | ||
4 | * Included from linux/fs/namei.c | ||
5 | */ | ||
6 | |||
7 | #ifndef __H8300_NAMEI_H | ||
8 | #define __H8300_NAMEI_H | ||
9 | |||
10 | /* This dummy routine maybe changed to something useful | ||
11 | * for /usr/gnemul/ emulation stuff. | ||
12 | * Look at asm-sparc/namei.h for details. | ||
13 | */ | ||
14 | |||
15 | #define __emul_prefix() NULL | ||
16 | |||
17 | #endif | ||
diff --git a/include/asm-h8300/page.h b/include/asm-h8300/page.h index d6a3eaf3b27e..0b6acf0b03aa 100644 --- a/include/asm-h8300/page.h +++ b/include/asm-h8300/page.h | |||
@@ -43,9 +43,6 @@ typedef struct page *pgtable_t; | |||
43 | #define __pgd(x) ((pgd_t) { (x) } ) | 43 | #define __pgd(x) ((pgd_t) { (x) } ) |
44 | #define __pgprot(x) ((pgprot_t) { (x) } ) | 44 | #define __pgprot(x) ((pgprot_t) { (x) } ) |
45 | 45 | ||
46 | /* to align the pointer to the (next) page boundary */ | ||
47 | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) | ||
48 | |||
49 | extern unsigned long memory_start; | 46 | extern unsigned long memory_start; |
50 | extern unsigned long memory_end; | 47 | extern unsigned long memory_end; |
51 | 48 | ||
diff --git a/include/asm-h8300/semaphore.h b/include/asm-h8300/semaphore.h deleted file mode 100644 index d9b2034ed1d2..000000000000 --- a/include/asm-h8300/semaphore.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <linux/semaphore.h> | ||
diff --git a/include/asm-h8300/thread_info.h b/include/asm-h8300/thread_info.h index 27bb95e2944c..aafd4d322ec3 100644 --- a/include/asm-h8300/thread_info.h +++ b/include/asm-h8300/thread_info.h | |||
@@ -49,6 +49,7 @@ struct thread_info { | |||
49 | /* | 49 | /* |
50 | * Size of kernel stack for each process. This must be a power of 2... | 50 | * Size of kernel stack for each process. This must be a power of 2... |
51 | */ | 51 | */ |
52 | #define THREAD_SIZE_ORDER 1 | ||
52 | #define THREAD_SIZE 8192 /* 2 pages */ | 53 | #define THREAD_SIZE 8192 /* 2 pages */ |
53 | 54 | ||
54 | 55 | ||
@@ -65,10 +66,6 @@ static inline struct thread_info *current_thread_info(void) | |||
65 | return ti; | 66 | return ti; |
66 | } | 67 | } |
67 | 68 | ||
68 | /* thread information allocation */ | ||
69 | #define alloc_thread_info(tsk) ((struct thread_info *) \ | ||
70 | __get_free_pages(GFP_KERNEL, 1)) | ||
71 | #define free_thread_info(ti) free_pages((unsigned long) (ti), 1) | ||
72 | #endif /* __ASSEMBLY__ */ | 69 | #endif /* __ASSEMBLY__ */ |
73 | 70 | ||
74 | /* | 71 | /* |