commit | 02636c69c4abbf611749c77eaba5115a090754c1 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@android.com> | Tue Feb 01 23:09:00 2011 +0100 |
committer | David 'Digit' Turner <digit@android.com> | Tue Feb 01 23:09:00 2011 +0100 |
tree | a029e4e123803fe07120b97b0e8f9bc9c2515bec | |
parent | 8cfa702f803c5ef6a2b062a489a1b2cf66b45b5e [diff] |
x86: Fix oprofile compilation in pic mode. This patch modifies the inline x86 assembly fragments to properly save ebx when calling the cpuid instruction. Otherwise, the compiler will error, complaining that the PIC register (ebx) is clobbered. Change-Id: Ibc091484068dfb87812c59dbc3976d26d922eebc