RT-Patch: Fixed sparc's anon_rwsem_is_locked() and page_address_init() define
Subsystems (3)
PATCH 1/1 RT-Patch: Fixed sparc's anon_rwsem_is_locked() and page_address_init() define
RT-Patch: Fixed sparc's anon_rwsem_is_locked() and page_address_init() define
Signed-off-by Tkhai Kirill <[email protected]>
---
Fixed compilation errors. Kernel version 2.6.33.7-rt29.
arch/sparc/include/asm/rwsem.h +1 -1
@@ -75,7 +75,7 @@ static inline void rwsem_atomic_add(intatomic_add (delta, (atomic_t *)(&sem->count)); } -static inline int anon_rwsem_is_locked (struct rw_semaphore *sem) +static inline int anon_rwsem_is_locked (struct rw_anon_semaphore *sem) {return (sem->count !=0 ); }
mm/highmem.c +1 -1
@@ -590,7 +590,7 @@ static int __set_page_address(struct pag#endif /* defined(CONFIG_HIGHMEM) && !defined(WANT_PAGE_VIRTUAL) */ -#if defined(CONFIG_HIGHMEM ) || defined(HASHED_PAGE_VIRTUAL ) +#if defined(WANT_PAGE_VIRTUAL ) || defined(HASHED_PAGE_VIRTUAL )void __init page_address_init (void ) {