diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-02-12 21:30:06 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-02-12 21:30:06 +0000 |
commit | 552b327ca39f12b21a9e1a8dfdb71f3f26abf256 (patch) | |
tree | 6b47a55381e7cbe3c58afec9db4612d32fc5dfd3 /src/cpu/x86 | |
parent | 7f86ed122068f34de4e8723b83e0d9b053cea9a2 (diff) | |
download | coreboot-552b327ca39f12b21a9e1a8dfdb71f3f26abf256.tar.xz |
This patch converts __FUNCTION__ to __func__, since __func__ is standard.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3943 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/x86')
-rw-r--r-- | src/cpu/x86/mtrr/mtrr.c | 2 | ||||
-rw-r--r-- | src/cpu/x86/tsc/delay_tsc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c index 72373751eb..aa65286650 100644 --- a/src/cpu/x86/mtrr/mtrr.c +++ b/src/cpu/x86/mtrr/mtrr.c @@ -445,7 +445,7 @@ void x86_setup_var_mtrrs(unsigned address_bits) } printk_spew("call enable_var_mtrr()\n"); enable_var_mtrr(); - printk_spew("Leave %s\n", __FUNCTION__); + printk_spew("Leave %s\n", __func__); post_code(0x6A); } diff --git a/src/cpu/x86/tsc/delay_tsc.c b/src/cpu/x86/tsc/delay_tsc.c index a791f7930e..92de0288a7 100644 --- a/src/cpu/x86/tsc/delay_tsc.c +++ b/src/cpu/x86/tsc/delay_tsc.c @@ -131,7 +131,7 @@ static unsigned long long calibrate_tsc(void) printk_spew("32-bit delta %d\n", (unsigned long) delta); printk_spew("%s 32-bit result is %d\n", - __FUNCTION__, + __func__, result); return delta; } |