Re: [PATCH 13/13] fs: deprecate memclear_highpage_flush

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Apr 2007 20:36:00 -0700 Nate Diller <nate.diller@xxxxxxxxx> wrote:

> Now that all the in-tree users are converted over to zero_user_page(),
> deprecate the old memclear_highpage_flush() call.
> 
> Signed-off-by: Nate Diller <nate.diller@xxxxxxxxx>
> 
> ---
> 
> diff -urpN -X dontdiff linux-2.6.21-rc6-mm1/include/linux/highmem.h linux-2.6.21-rc6-mm1-test/include/linux/highmem.h
> --- linux-2.6.21-rc6-mm1/include/linux/highmem.h	2007-04-10 18:32:41.000000000 -0700
> +++ linux-2.6.21-rc6-mm1-test/include/linux/highmem.h	2007-04-10 19:40:14.000000000 -0700
> @@ -149,6 +149,8 @@ static inline void zero_user_page(struct
>  	kunmap_atomic(kaddr, KM_USER0);
>  }
>  
> +static void memclear_highpage_flush(struct page *page, unsigned int offset,
> +					unsigned int size) __deprecated;
>  static inline void memclear_highpage_flush(struct page *page, unsigned int offset, unsigned int size)
>  {
>  	return zero_user_page(page, offset, size);

oh, there it is.

one can stick the __deprecated at the end of the definition, actually.
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux