Changeset 2d43f3e in mainline for arch/amd64/include/mm/frame.h


Ignore:
Timestamp:
2006-02-02T15:04:41Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc504ef2
Parents:
a294ad0
Message:

Modify frame.h to use shifting instead of multiplication and division.
Define FRAME_WIDTH for all architectures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/mm/frame.h

    ra294ad0 r2d43f3e  
    3434#endif /* __ASM__ */
    3535
    36 #define FRAME_SIZE              4096
     36#define FRAME_WIDTH             12      /* 4K */
     37#define FRAME_SIZE              (1<<FRAME_WIDTH)
     38
    3739
    3840#ifndef __ASM__
Note: See TracChangeset for help on using the changeset viewer.