Skip to content

Commit

Permalink
ARM: cache: add cputype.h for tauros2
Browse files Browse the repository at this point in the history
Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
  • Loading branch information
Chao Xie authored and Haojian Zhuang committed Aug 16, 2012
1 parent 5967b54 commit fa79b8d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/arm/mm/cache-tauros2.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/init.h>
#include <asm/cacheflush.h>
#include <asm/cp15.h>
#include <asm/cputype.h>
#include <asm/hardware/cache-tauros2.h>


Expand Down Expand Up @@ -161,8 +162,6 @@ static void __init disable_l2_prefetch(void)

static inline int __init cpuid_scheme(void)
{
extern int processor_id;

return !!((processor_id & 0x000f0000) == 0x000f0000);
}

Expand Down Expand Up @@ -191,7 +190,6 @@ static inline void __init write_actlr(u32 actlr)

void __init tauros2_init(void)
{
extern int processor_id;
char *mode = NULL;

disable_l2_prefetch();
Expand Down

0 comments on commit fa79b8d

Please sign in to comment.