commit | 3d68040a5caf9cc07e7d5c11dd7cbe3d46764ec9 | [log] [tgz] |
---|---|---|
author | subrata_modak <subrata_modak> | Thu Aug 28 10:00:05 2008 +0000 |
committer | subrata_modak <subrata_modak> | Thu Aug 28 10:00:05 2008 +0000 |
tree | e19f5d8f0e45fd302eba4b7bfe91ac3896dbd5aa | |
parent | 2a172e42fc008f9c675333f329096927fca4be5b [diff] |
On centos-5 2.6.18 kernel, I get a failure with shmat01. In the setup() function at the end: /* some architectures (e.g. parisc) are strange, so better always align to * next SHMLBA address. */ base_addr = (void *)( ((unsigned long)(base_addr) & ~(SHMLBA-1)) + SHMLBA ); This bumps up the address if it's already aligned. Signed-off-by: Bob Hepple <bhepple@promptu.com>.