diff options
Diffstat (limited to 'arch/mips')
| -rw-r--r-- | arch/mips/Kconfig | 2 | ||||
| -rw-r--r-- | arch/mips/configs/db1235_defconfig | 1 | ||||
| -rw-r--r-- | arch/mips/include/asm/kvm_host.h | 7 | ||||
| -rw-r--r-- | arch/mips/include/asm/octeon/cvmx-pip.h | 4 | ||||
| -rw-r--r-- | arch/mips/include/asm/pgalloc.h | 9 | ||||
| -rw-r--r-- | arch/mips/include/asm/thread_info.h | 2 | ||||
| -rw-r--r-- | arch/mips/kvm/kvm_mips.c | 5 |
7 files changed, 12 insertions, 18 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 17cc7ff8458c..650de3976e7a 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | config MIPS | 1 | config MIPS |
| 2 | bool | 2 | bool |
| 3 | default y | 3 | default y |
| 4 | select ARCH_MIGHT_HAVE_PC_PARPORT | ||
| 4 | select HAVE_CONTEXT_TRACKING | 5 | select HAVE_CONTEXT_TRACKING |
| 5 | select HAVE_GENERIC_DMA_COHERENT | 6 | select HAVE_GENERIC_DMA_COHERENT |
| 6 | select HAVE_IDE | 7 | select HAVE_IDE |
| @@ -2125,7 +2126,6 @@ source "mm/Kconfig" | |||
| 2125 | config SMP | 2126 | config SMP |
| 2126 | bool "Multi-Processing support" | 2127 | bool "Multi-Processing support" |
| 2127 | depends on SYS_SUPPORTS_SMP | 2128 | depends on SYS_SUPPORTS_SMP |
| 2128 | select USE_GENERIC_SMP_HELPERS | ||
| 2129 | help | 2129 | help |
| 2130 | This enables support for systems with more than one CPU. If you have | 2130 | This enables support for systems with more than one CPU. If you have |
| 2131 | a system with only one CPU, like most personal computers, say N. If | 2131 | a system with only one CPU, like most personal computers, say N. If |
diff --git a/arch/mips/configs/db1235_defconfig b/arch/mips/configs/db1235_defconfig index e2b4ad55462f..28e49f226dc0 100644 --- a/arch/mips/configs/db1235_defconfig +++ b/arch/mips/configs/db1235_defconfig | |||
| @@ -351,7 +351,6 @@ CONFIG_USB_OHCI_HCD=y | |||
| 351 | CONFIG_USB_OHCI_HCD_PLATFORM=y | 351 | CONFIG_USB_OHCI_HCD_PLATFORM=y |
| 352 | CONFIG_USB_STORAGE=y | 352 | CONFIG_USB_STORAGE=y |
| 353 | CONFIG_MMC=y | 353 | CONFIG_MMC=y |
| 354 | CONFIG_MMC_CLKGATE=y | ||
| 355 | CONFIG_MMC_AU1X=y | 354 | CONFIG_MMC_AU1X=y |
| 356 | CONFIG_NEW_LEDS=y | 355 | CONFIG_NEW_LEDS=y |
| 357 | CONFIG_LEDS_CLASS=y | 356 | CONFIG_LEDS_CLASS=y |
diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h index 4d6fa0bf1305..32966969f2f9 100644 --- a/arch/mips/include/asm/kvm_host.h +++ b/arch/mips/include/asm/kvm_host.h | |||
| @@ -27,13 +27,6 @@ | |||
| 27 | 27 | ||
| 28 | #define KVM_COALESCED_MMIO_PAGE_OFFSET 1 | 28 | #define KVM_COALESCED_MMIO_PAGE_OFFSET 1 |
| 29 | 29 | ||
| 30 | /* Don't support huge pages */ | ||
| 31 | #define KVM_HPAGE_GFN_SHIFT(x) 0 | ||
| 32 | |||
| 33 | /* We don't currently support large pages. */ | ||
| 34 | #define KVM_NR_PAGE_SIZES 1 | ||
| 35 | #define KVM_PAGES_PER_HPAGE(x) 1 | ||
| 36 | |||
| 37 | 30 | ||
| 38 | 31 | ||
| 39 | /* Special address that contains the comm page, used for reducing # of traps */ | 32 | /* Special address that contains the comm page, used for reducing # of traps */ |
diff --git a/arch/mips/include/asm/octeon/cvmx-pip.h b/arch/mips/include/asm/octeon/cvmx-pip.h index a76fe5a57a9f..df69bfd2b006 100644 --- a/arch/mips/include/asm/octeon/cvmx-pip.h +++ b/arch/mips/include/asm/octeon/cvmx-pip.h | |||
| @@ -192,13 +192,13 @@ typedef struct { | |||
| 192 | /* Number of packets processed by PIP */ | 192 | /* Number of packets processed by PIP */ |
| 193 | uint32_t packets; | 193 | uint32_t packets; |
| 194 | /* | 194 | /* |
| 195 | * Number of indentified L2 multicast packets. Does not | 195 | * Number of identified L2 multicast packets. Does not |
| 196 | * include broadcast packets. Only includes packets whose | 196 | * include broadcast packets. Only includes packets whose |
| 197 | * parse mode is SKIP_TO_L2 | 197 | * parse mode is SKIP_TO_L2 |
| 198 | */ | 198 | */ |
| 199 | uint32_t multicast_packets; | 199 | uint32_t multicast_packets; |
| 200 | /* | 200 | /* |
| 201 | * Number of indentified L2 broadcast packets. Does not | 201 | * Number of identified L2 broadcast packets. Does not |
| 202 | * include multicast packets. Only includes packets whose | 202 | * include multicast packets. Only includes packets whose |
| 203 | * parse mode is SKIP_TO_L2 | 203 | * parse mode is SKIP_TO_L2 |
| 204 | */ | 204 | */ |
diff --git a/arch/mips/include/asm/pgalloc.h b/arch/mips/include/asm/pgalloc.h index 881d18b4e298..b336037e8768 100644 --- a/arch/mips/include/asm/pgalloc.h +++ b/arch/mips/include/asm/pgalloc.h | |||
| @@ -80,9 +80,12 @@ static inline struct page *pte_alloc_one(struct mm_struct *mm, | |||
| 80 | struct page *pte; | 80 | struct page *pte; |
| 81 | 81 | ||
| 82 | pte = alloc_pages(GFP_KERNEL | __GFP_REPEAT, PTE_ORDER); | 82 | pte = alloc_pages(GFP_KERNEL | __GFP_REPEAT, PTE_ORDER); |
| 83 | if (pte) { | 83 | if (!pte) |
| 84 | clear_highpage(pte); | 84 | return NULL; |
| 85 | pgtable_page_ctor(pte); | 85 | clear_highpage(pte); |
| 86 | if (!pgtable_page_ctor(pte)) { | ||
| 87 | __free_page(pte); | ||
| 88 | return NULL; | ||
| 86 | } | 89 | } |
| 87 | return pte; | 90 | return pte; |
| 88 | } | 91 | } |
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h index f9b24bfbdbae..4f58ef6d0eed 100644 --- a/arch/mips/include/asm/thread_info.h +++ b/arch/mips/include/asm/thread_info.h | |||
| @@ -92,8 +92,6 @@ static inline struct thread_info *current_thread_info(void) | |||
| 92 | 92 | ||
| 93 | #define STACK_WARN (THREAD_SIZE / 8) | 93 | #define STACK_WARN (THREAD_SIZE / 8) |
| 94 | 94 | ||
| 95 | #define PREEMPT_ACTIVE 0x10000000 | ||
| 96 | |||
| 97 | /* | 95 | /* |
| 98 | * thread information flags | 96 | * thread information flags |
| 99 | * - these are process state flags that various assembly files may need to | 97 | * - these are process state flags that various assembly files may need to |
diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c index a7b044536de4..73b34827826c 100644 --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/kvm_mips.c | |||
| @@ -198,12 +198,13 @@ kvm_arch_dev_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg) | |||
| 198 | return -ENOIOCTLCMD; | 198 | return -ENOIOCTLCMD; |
| 199 | } | 199 | } |
| 200 | 200 | ||
| 201 | void kvm_arch_free_memslot(struct kvm_memory_slot *free, | 201 | void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free, |
| 202 | struct kvm_memory_slot *dont) | 202 | struct kvm_memory_slot *dont) |
| 203 | { | 203 | { |
| 204 | } | 204 | } |
| 205 | 205 | ||
| 206 | int kvm_arch_create_memslot(struct kvm_memory_slot *slot, unsigned long npages) | 206 | int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot, |
| 207 | unsigned long npages) | ||
| 207 | { | 208 | { |
| 208 | return 0; | 209 | return 0; |
| 209 | } | 210 | } |
