Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281980
b: refs/heads/master
c: a4b4f43
h: refs/heads/master
v: v3
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Dec 29, 2011
1 parent 8bf25ac commit cc65ee7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2a1fa30b54ed616e0ae6f521bcd3fad750f5184
refs/heads/master: a4b4f4371b94552973109f6b9ebe6af7a9efa0bd
10 changes: 3 additions & 7 deletions trunk/arch/sparc/include/asm/page_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,10 @@
#ifndef _SPARC_PAGE_H
#define _SPARC_PAGE_H

#define PAGE_SHIFT 12
#include <linux/const.h>

#ifndef __ASSEMBLY__
/* I have my suspicions... -DaveM */
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#else
#define PAGE_SIZE (1 << PAGE_SHIFT)
#endif
#define PAGE_SHIFT 12
#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))

#include <asm/btfixup.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc/include/asm/thread_info_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ BTFIXUPDEF_CALL(void, free_thread_info, struct thread_info *)
* Observe the order of get_free_pages() in alloc_thread_info_node().
* The sun4 has 8K stack too, because it's short on memory, and 16K is a waste.
*/
#define THREAD_SIZE 8192
#define THREAD_SIZE (2 * PAGE_SIZE)

/*
* Offsets in thread_info structure, used in assembly code
Expand Down

0 comments on commit cc65ee7

Please sign in to comment.