diff options
Diffstat (limited to 'arch/parisc/include/asm')
-rw-r--r-- | arch/parisc/include/asm/pdc.h | 3 | ||||
-rw-r--r-- | arch/parisc/include/asm/swab.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/pdc.h b/arch/parisc/include/asm/pdc.h index c584b00c6074..430f1aeea0b8 100644 --- a/arch/parisc/include/asm/pdc.h +++ b/arch/parisc/include/asm/pdc.h | |||
@@ -336,10 +336,11 @@ | |||
336 | #define NUM_PDC_RESULT 32 | 336 | #define NUM_PDC_RESULT 32 |
337 | 337 | ||
338 | #if !defined(__ASSEMBLY__) | 338 | #if !defined(__ASSEMBLY__) |
339 | #ifdef __KERNEL__ | ||
340 | 339 | ||
341 | #include <linux/types.h> | 340 | #include <linux/types.h> |
342 | 341 | ||
342 | #ifdef __KERNEL__ | ||
343 | |||
343 | extern int pdc_type; | 344 | extern int pdc_type; |
344 | 345 | ||
345 | /* Values for pdc_type */ | 346 | /* Values for pdc_type */ |
diff --git a/arch/parisc/include/asm/swab.h b/arch/parisc/include/asm/swab.h index 3ff16c5a3358..e78403b129ef 100644 --- a/arch/parisc/include/asm/swab.h +++ b/arch/parisc/include/asm/swab.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _PARISC_SWAB_H | 1 | #ifndef _PARISC_SWAB_H |
2 | #define _PARISC_SWAB_H | 2 | #define _PARISC_SWAB_H |
3 | 3 | ||
4 | #include <asm/types.h> | 4 | #include <linux/types.h> |
5 | #include <linux/compiler.h> | 5 | #include <linux/compiler.h> |
6 | 6 | ||
7 | #define __SWAB_64_THRU_32__ | 7 | #define __SWAB_64_THRU_32__ |