All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tkhai Kirill <tkhai@yandex.ru>
To: linux-kernel@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>, Thomas Gleixner <tglx@linutronix.de>
Subject: [PATCH]RT-Patch: Fixed sparc's anon_rwsem_is_locked() and page_address_init() define
Date: Tue, 07 Sep 2010 18:22:07 +0400	[thread overview]
Message-ID: <7791283869327@web92.yandex.ru> (raw)

RT-Patch: Fixed sparc's anon_rwsem_is_locked() and page_address_init() define
Signed-off-by: Tkhai Kirill <tkhai@yandex.ru>
---

Fixed compilation errors. Kernel version 2.6.33.7-rt29.

diff -uprN a/arch/sparc/include/asm/rwsem.h b/arch/sparc/include/asm/rwsem.h
--- a/arch/sparc/include/asm/rwsem.h	2010-09-07 17:44:51.727914479 +0400
+++ b/arch/sparc/include/asm/rwsem.h	2010-09-07 17:35:40.423917446 +0400
@@ -75,7 +75,7 @@ static inline void rwsem_atomic_add(int 
 	atomic_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);
 }
diff -uprN a/mm/highmem.c b/mm/highmem.c
--- a/mm/highmem.c	2010-09-07 17:44:58.003917532 +0400
+++ b/mm/highmem.c	2010-09-07 17:39:43.970912094 +0400
@@ -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)
 {

                 reply	other threads:[~2010-09-07 14:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7791283869327@web92.yandex.ru \
    --to=tkhai@yandex.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.