lkml.org 
[lkml]   [2010]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Cleanup mmzone.h
commit 7f4ab448f88ae2d2bcb3d5f00e85300446d6495a
Author: Alexander Nevenchannyy <a.nevenchannyy@gmail.com>
Date: Tue Jun 8 15:45:52 2010 +0400

[PATCH] Cleanup mmzone.h

get_zone_counts() was dropped from kernel tree, see:
http://www.mail-archive.com/mm-commits@vger.kernel.org/msg07313.html
but it's have prototype in header file. So cleanup them.

Author: Alexander Nevenchannyy <a.nevenchannyy@gmail.com>
modified: include/linux/mmzone.h

diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index b4d109e..9ed9c45 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -651,8 +651,6 @@ typedef struct pglist_data {
#include <linux/memory_hotplug.h>

extern struct mutex zonelists_mutex;
-void get_zone_counts(unsigned long *active, unsigned long *inactive,
- unsigned long *free);
void build_all_zonelists(void *data);
void wakeup_kswapd(struct zone *zone, int order);
int zone_watermark_ok(struct zone *z, int order, unsigned long mark,


\
 
 \ /
  Last update: 2010-06-08 15:27    [W:0.020 / U:3.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site