Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:monitoring
ganglia-monitor-core
ganglia-monitor-core-2.5.7-pageshift.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ganglia-monitor-core-2.5.7-pageshift.patch of Package ganglia-monitor-core
--- lib/gexec_process.c.orig 2012-02-19 20:30:26.297872902 +0100 +++ lib/gexec_process.c 2012-02-19 20:31:06.596871469 +0100 @@ -22,12 +22,11 @@ #include <ganglia/gexec_process.h> #include <ganglia/file.h> #include <sys/param.h> /* for HZ */ -#include <asm/page.h> /* for PAGE_SHIFT */ #include <pthread.h> /* useful macros */ #define bytetok(x) (((x) + 512) >> 10) -#define pagetok(x) ((x) << (PAGE_SHIFT - 10)) +#define pagetok(x) ((x) << (getpagesize() - 10)) typedef struct {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor