Re: [PATCH] archs: add ioremap_change_write_prot

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Gleixner
Date: Tuesday, October 26, 2010 - 9:24 am

On Sun, 24 Oct 2010, Marco Stornelli wrote:


Sorry for the delay. I'm traveling.
 
  

Why inventing a new interface if we have one already ?

    set_memory_* which has a few more variants than ro/rw

Also this is not related to ioremap, these are functions which works on
almost anything when there are other restrictions in place.

So implementing set_memory_ro(), set_memory_rw() for those archs which
you need it for makes more sense than creating a misnomed and
misplaced wrapper.

Thanks,

	tglx
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] archs: add ioremap_change_write_prot, Marco Stornelli, (Sun Oct 24, 1:41 am)
Re: [PATCH] archs: add ioremap_change_write_prot, Marco Stornelli, (Tue Oct 26, 3:56 am)
Re: [PATCH] archs: add ioremap_change_write_prot, Andi Kleen, (Tue Oct 26, 6:14 am)
Re: [PATCH] archs: add ioremap_change_write_prot, Thomas Gleixner, (Tue Oct 26, 9:24 am)
Re: [PATCH] archs: add ioremap_change_write_prot, Marco Stornelli, (Tue Oct 26, 11:55 pm)
Re: [PATCH] archs: add ioremap_change_write_prot, Andi Kleen, (Wed Oct 27, 12:59 am)