diff options
Diffstat (limited to 'include/asm-cris/page.h')
-rw-r--r-- | include/asm-cris/page.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-cris/page.h b/include/asm-cris/page.h index c767da1ef8f5..bbf17bd39385 100644 --- a/include/asm-cris/page.h +++ b/include/asm-cris/page.h | |||
@@ -29,18 +29,15 @@ | |||
29 | */ | 29 | */ |
30 | #ifndef __ASSEMBLY__ | 30 | #ifndef __ASSEMBLY__ |
31 | typedef struct { unsigned long pte; } pte_t; | 31 | typedef struct { unsigned long pte; } pte_t; |
32 | typedef struct { unsigned long pmd; } pmd_t; | ||
33 | typedef struct { unsigned long pgd; } pgd_t; | 32 | typedef struct { unsigned long pgd; } pgd_t; |
34 | typedef struct { unsigned long pgprot; } pgprot_t; | 33 | typedef struct { unsigned long pgprot; } pgprot_t; |
35 | #endif | 34 | #endif |
36 | 35 | ||
37 | #define pte_val(x) ((x).pte) | 36 | #define pte_val(x) ((x).pte) |
38 | #define pmd_val(x) ((x).pmd) | ||
39 | #define pgd_val(x) ((x).pgd) | 37 | #define pgd_val(x) ((x).pgd) |
40 | #define pgprot_val(x) ((x).pgprot) | 38 | #define pgprot_val(x) ((x).pgprot) |
41 | 39 | ||
42 | #define __pte(x) ((pte_t) { (x) } ) | 40 | #define __pte(x) ((pte_t) { (x) } ) |
43 | #define __pmd(x) ((pmd_t) { (x) } ) | ||
44 | #define __pgd(x) ((pgd_t) { (x) } ) | 41 | #define __pgd(x) ((pgd_t) { (x) } ) |
45 | #define __pgprot(x) ((pgprot_t) { (x) } ) | 42 | #define __pgprot(x) ((pgprot_t) { (x) } ) |
46 | 43 | ||
@@ -73,10 +70,6 @@ typedef struct { unsigned long pgprot; } pgprot_t; | |||
73 | 70 | ||
74 | #ifndef __ASSEMBLY__ | 71 | #ifndef __ASSEMBLY__ |
75 | 72 | ||
76 | #define BUG() do { \ | ||
77 | printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ | ||
78 | } while (0) | ||
79 | |||
80 | /* Pure 2^n version of get_order */ | 73 | /* Pure 2^n version of get_order */ |
81 | static inline int get_order(unsigned long size) | 74 | static inline int get_order(unsigned long size) |
82 | { | 75 | { |