diff options
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/pgtable.h | 2 | ||||
-rw-r--r-- | include/asm-mips/vr41xx/siu.h | 8 | ||||
-rw-r--r-- | include/asm-mips/vr41xx/vr41xx.h | 8 |
3 files changed, 16 insertions, 2 deletions
diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h index 582f56f42f0e..2f597eea4448 100644 --- a/include/asm-mips/pgtable.h +++ b/include/asm-mips/pgtable.h | |||
@@ -292,6 +292,8 @@ static inline pte_t pte_mkyoung(pte_t pte) | |||
292 | return pte; | 292 | return pte; |
293 | } | 293 | } |
294 | #endif | 294 | #endif |
295 | static inline int pte_special(pte_t pte) { return 0; } | ||
296 | static inline pte_t pte_mkspecial(pte_t pte) { return pte; } | ||
295 | 297 | ||
296 | /* | 298 | /* |
297 | * Macro to make mark a page protection value as "uncacheable". Note | 299 | * Macro to make mark a page protection value as "uncacheable". Note |
diff --git a/include/asm-mips/vr41xx/siu.h b/include/asm-mips/vr41xx/siu.h index 98cdb4096485..da9f6e373409 100644 --- a/include/asm-mips/vr41xx/siu.h +++ b/include/asm-mips/vr41xx/siu.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Include file for NEC VR4100 series Serial Interface Unit. | 2 | * Include file for NEC VR4100 series Serial Interface Unit. |
3 | * | 3 | * |
4 | * Copyright (C) 2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 4 | * Copyright (C) 2005-2008 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
@@ -49,4 +49,10 @@ typedef enum { | |||
49 | 49 | ||
50 | extern void vr41xx_select_irda_module(irda_module_t module, irda_speed_t speed); | 50 | extern void vr41xx_select_irda_module(irda_module_t module, irda_speed_t speed); |
51 | 51 | ||
52 | #ifdef CONFIG_SERIAL_VR41XX_CONSOLE | ||
53 | extern void vr41xx_siu_early_setup(struct uart_port *port); | ||
54 | #else | ||
55 | static inline void vr41xx_siu_early_setup(struct uart_port *port) {} | ||
56 | #endif | ||
57 | |||
52 | #endif /* __NEC_VR41XX_SIU_H */ | 58 | #endif /* __NEC_VR41XX_SIU_H */ |
diff --git a/include/asm-mips/vr41xx/vr41xx.h b/include/asm-mips/vr41xx/vr41xx.h index 88b492f6ea9c..22be64971cc6 100644 --- a/include/asm-mips/vr41xx/vr41xx.h +++ b/include/asm-mips/vr41xx/vr41xx.h | |||
@@ -7,7 +7,7 @@ | |||
7 | * Copyright (C) 2001, 2002 Paul Mundt | 7 | * Copyright (C) 2001, 2002 Paul Mundt |
8 | * Copyright (C) 2002 MontaVista Software, Inc. | 8 | * Copyright (C) 2002 MontaVista Software, Inc. |
9 | * Copyright (C) 2002 TimeSys Corp. | 9 | * Copyright (C) 2002 TimeSys Corp. |
10 | * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 10 | * Copyright (C) 2003-2008 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> |
11 | * | 11 | * |
12 | * This program is free software; you can redistribute it and/or modify it | 12 | * This program is free software; you can redistribute it and/or modify it |
13 | * under the terms of the GNU General Public License as published by the | 13 | * under the terms of the GNU General Public License as published by the |
@@ -143,4 +143,10 @@ extern void vr41xx_disable_csiint(uint16_t mask); | |||
143 | extern void vr41xx_enable_bcuint(void); | 143 | extern void vr41xx_enable_bcuint(void); |
144 | extern void vr41xx_disable_bcuint(void); | 144 | extern void vr41xx_disable_bcuint(void); |
145 | 145 | ||
146 | #ifdef CONFIG_SERIAL_VR41XX_CONSOLE | ||
147 | extern void vr41xx_siu_setup(void); | ||
148 | #else | ||
149 | static inline void vr41xx_siu_setup(void) {} | ||
150 | #endif | ||
151 | |||
146 | #endif /* __NEC_VR41XX_H */ | 152 | #endif /* __NEC_VR41XX_H */ |